Skip to content

Instantly share code, notes, and snippets.

@cmoscicada
Forked from 02015678/cdsenv.lisp
Created February 5, 2020 10:44
Show Gist options
  • Save cmoscicada/6addcd1b47f9d38898d40ebb16b6b142 to your computer and use it in GitHub Desktop.
Save cmoscicada/6addcd1b47f9d38898d40ebb16b6b142 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 "./lib"
cdsLibManager.newLib pathtext tsring "./lib"
; Set new library default attach to some PDK library
ddserv.lib techChoice cyclic "bind"
; 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment