Skip to content

Instantly share code, notes, and snippets.

@02015678
Last active October 1, 2022 01:33
Show Gist options
  • Save 02015678/783ad36389fe3b7aa8cd to your computer and use it in GitHub Desktop.
Save 02015678/783ad36389fe3b7aa8cd to your computer and use it in GitHub Desktop.
My customized .cdsenv file for Cadence Virtuoso IV6.1.6
;===============================================
; Created on Jan.10th, 2015
; <------------------Summary------------------>
; Default Simulator : spectre
; Default Folder : ./simulation
; Spectre Options : APS+ 64bit Multi-thread psfbin
; HSPICE Options : HPP 64bit Multi-thread tr0 Waveview
; Anyline starts with a semi-comma (;) is comment and will be omited by Cadence
;===============================================
; Do not show What's new popup window
ddserv showWhatsNew string "6.1.6"
; Set default new library path
ddserv.lib newLibDir string "./cds"
cdsLibManager.newLib pathText string "./cds"
; Set new library default attach to some PDK library
ddserv.lib techChoice cyclic "bind"
; Set default template for symbol as analog
schematic tsgTemplateType string "analog"
; Do not use display.drf when plot traces in ViVA
asimenv.plotting useDisplayDrf boolean nil
viva.trace lineThickness string "Medium"
viva.trace lineStyle string "dot"
; Default Behaviour when starting a ADE
;-> Default Simulator is spectre (Alternative options: hspiceD/HSPICE)
asimenv.startup simulator string "spectre"
;-> Default Simulation Folder
asimenv.startup projectDir string "simulation"
;-> Save and Load State as cellview instead normal folder
asimenv saveAsCellview boolean t
;===============================================
; Set layout ruler much more visible
layout saveRulers boolean nil
layout rulerFontSize cyclic "Medium"
layout rulerFontBold boolean t
layout rulerUseSameColor boolean t
layout rulerLabelBackgroundColor cyclic "black"
graphic rulerColorPacketName string "orange"
graphic transientRulerColorPacketName string "orange"
;===============================================
; Spectre Settings
;-> Waveform Format psfbin (This format is supported by BOTH Cadence Wavescan ans Synopsys Custom Waveview)
spectre.outputs simOutputFormat string "psfbin"
;-> Enable Spectre Multi-thread
spectre.opts multithread string "on"
;-> Enable Advanced Parallel Simulation
spectre.turboOpts uniMode string "APS"
;-> Enable APS Plus
spectre.turboOpts apsplus boolean t
;-> Use 64 binary for simulation
spectre.envOpts cmd64bit boolean t
;===============================================
; HSPICE Settings
;-> Output format is tr0 (Alternative Option:psf)
HSPICE.envOpts Outwavefmtanalog string "tr0"
;-> Waveform Viewer: Synopsys Custom Waveview (former SPICE Explorer) (Alternative Option: "Waveform Graph")
;--> Note that if you use tr0 format, you must use Synopsys Custom Waveview
HSPICE.envOpts psfWaveViewer string "Custom Waveview"
;-> Enable High Precision Parallel Simulation
HSPICE.envOpts snpsSetHPP string "on"
;-> Default Multi-thread number:4
HSPICE.envOpts snpsSetMt string "4"
;-> Use 64 binary for simulation
HSPICE.envOpts snpsEnable64bit boolean t
@cmoscicada
Copy link

cmoscicada commented Feb 5, 2020

; Set default new library path (12th line)
I have a problem with this command.
Is this command works only defining .cdsenv file? Do I have to make cdsLibMgr.il file for use this command?

  • I've changed 14th line command to [cdsLibManager.newLib pathtext string "./lib"]

@02015678
Copy link
Author

02015678 commented Jul 16, 2020

14th line should be like this
cdsLibManager.newLib pathText string "./lib"
Thanks for the comment. It is now corrected.

@02015678
Copy link
Author

02015678 commented Oct 13, 2020

Add below lines

; Set default template for symbol as analog
schematic tsgTemplateType string "analog"
; Do not use display.drf when ploting traces in ViVA
asimenv.plotting useDisplayDrf boolean nil
viva.trace lineThickness  string "Medium"
viva.trace lineStyle      string "solid"

Reference:
https://community.cadence.com/cadence_technology_forums/f/custom-ic-design/41208/dotted-lines-by-default-in-viva

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment