For Virtuoso users
IC Studio is built to be picked up by someone who knows Cadence Virtuoso. You don’t need to learn new keys or names: bring your own bindkeys, search commands by their Virtuoso names, and send designs back to Virtuoso whenever you want. This page lists what to set up first, where each everyday Virtuoso task is, and what is different.
First five minutes
- Mouse: the default profile is already Virtuoso’s (the wheel pans,
Ctrl+wheel zooms, right drag zooms into a box). Settings > Mouse and keyboard switches it. - Your bindkeys: File > Import > Virtuoso bindkeys (.cdsinit)… reads your
.cdsinit(or bindkey file). The schematic switches to the Virtuoso bindkeys and your own keys apply over the defaults in both editors (below). - Your PDK: File > Import > Technology (KLayout .lyp, Virtuoso .tf)… reads an ASCII
technology file (
.tf), with thedisplay.drfand stream layer map in its folder; SVRF (Calibre) decks run on the built-in DRC (Technology). - Your designs: File > Import > Virtuoso library (dump or cds.lib)… opens a
library from its
cds.lib(with Virtuoso installed, IC Studio runs it in batch mode), or use CDL and GDSII (Schematic editor). - Can’t find something?
Ctrl+Kopens the command palette, which knows the Virtuoso names too: typeCheck and Save,XStream In,leHiCreateRect,ADE ExplorerorModgenand the IC Studio command comes up, with the Virtuoso name underneath.
Your bindkeys
The file is run by IC Studio’s SKILL interpreter, so load(), variables, when / if and
loops in it work. A form that fails (envSetVal, a load of a Cadence install file) is skipped
with a line in the console and the rest still runs. Every hiSetBindKey and hiSetBindKeys
call is recorded; a later binding of the same key replaces an earlier one and a nil
callback removes it.
What each binding does is shown in Settings > Mouse and keyboard > Bindkeys and what they do:
| The callback | In IC Studio |
|---|---|
A Virtuoso editor function IC Studio has a command for (leHiCreateRect(), leHiMove(), schHiCreatePin(), schHiCheckAndSave(), hiZoomRelativeScale(hiGetCurrentWindow() 0.5), …) | That command |
A procedure of your own (myFit()) | Runs in the CIW. The first time, the bindkey file is loaded into the CIW so its procedures are there |
Another Virtuoso function (leHiCreateGuardRing()) | Not used: the built-in key stays |
- Applications:
Layout(and Layout XL / GXL / EXL) is the layout editor,Schematics(and Schematics XL) the schematic editor. Others are kept but not used. - Keys:
<Key>r,Shift<Key>R,Ctrl<Key>z,<Key>F3,<Key>bracketleft, …CtrlisCmdon macOS. Mouse bindings (<Btn1Down>), double presses (<Key>r(2)) and keys bound only while a command runs (EF) are listed as not used. hiSetBindKeytyped in the CIW, or in a script you load, takes effect at once.- The bindings are kept with your settings; Reload reads the file again after you change it, Clear goes back to the built-in keys.
Where things are
| In Virtuoso | In IC Studio |
|---|---|
Library Manager, cds.lib | The Explorer (Ctrl+B); File > Import > Virtuoso library reads a cds.lib |
CIW, load("x.il") | Tools > CIW (SKILL); Load SKILL (.il)… |
.cdsinit bindkeys | File > Import > Virtuoso bindkeys |
Schematic: i Create Instance | i (Virtuoso bindkeys): analogLib names (nmos4, res, vdc, gnd, …) and your cells |
Schematic: w, l, p, q, m, c, Shift+X | The same keys (shortcuts) |
Layout L bindkeys (r, p, s, m, c, q, F3, Shift+X, …) | The same keys, always (shortcuts) |
| ADE L / ADE Explorer: Netlist and Run | Simulation workspace, F5 (built-in engine or ngspice; Spectre decks are read) |
| ADE Explorer / Assembler: corners, sweeps, Monte Carlo | Corner / sweep manager, Monte Carlo, Verification |
| Calculator, Results Browser | Waveform calculator, Results browser |
| Layout XL: Generate All From Source, Check Against Source, Update Components and Nets | Verify > Generate Layout from Schematic, Check against source, Update from schematic (comparison) |
| Modgen | Matched placement |
| Calibre / PVS / Assura DRC and LVS | Built-in DRC and LVS; Run sign-off runset runs Calibre, KLayout or netgen and shows the results |
| XStream In / Out, layer map | File > Import / Export GDSII / OASIS, Stream layer map |
Different on purpose
Ctrl+Zis undo everywhere (Virtuoso binds it to zoom in);uundoes too. BindCtrl+ZtohiZoomIn()in your bindkey file if you want the Virtuoso key back in the layout.- The schematic of IC Studio has a key per device (
R,C,N,P, …) by default; the Virtuoso bindkeys useiinstead. Settings > Mouse and keyboard > Schematic bindkeys switches between them. - There is no OpenAccess database: designs are JSON files per cell (diff and merge them with git) and GDSII. Virtuoso libraries come in and go back through the formats Virtuoso itself reads and writes.
Back to Virtuoso
You can always take a design back:
| What | How | In Virtuoso |
|---|---|---|
| A schematic | File > Export > Virtuoso schematic (SKILL)… (ics export-skill) | load("cell.il") in the CIW: analogLib or your PDK symbols (virtuoso_symbols.toml), every terminal labelled with its net |
| A layout with its cells | File > Export > Virtuoso layout (SKILL)… (ics export-skill-layout) | Make the library (attached to the technology), then load("cell.il") |
| A layout as mask data | File > Export > Library GDSII… with the stream layer map | XStream In |
| A netlist for LVS | Export SPICE netlist… / CDL | Calibre, PVS |
The layout script writes every placed cell before the cells that place it, with the same
layer-purpose pairs as the technology (metal1.pin is (metal1 pin)), orientations and
mosaics. IC Studio PCells are written as cells with their geometry, so the layout is exact in
any library. To keep devices editable, put a virtuoso_pcells.toml next to the project that
names your PDK’s PCells; those instances become dbCreateParamInstByMasterName calls with CDF
parameters:
[[pcell]]
kind = "nmos" # nmos pmos poly_res mom_cap ntap ptap nring pring
lib = "gpdk180"
cell = "nmos"
[pcell.params] # IC Studio parameter = CDF parameter
w = "w" # total width of all fingers, as "2u"
l = "l"
fingers = "fingers" # as "2"
[[pcell]]
kind = "nmos"
device = "nch_lvt" # only MOS devices of this PDK device
lib = "gpdk180"
cell = "nmos_lvt"
The script only uses db* functions IC Studio’s SKILL interpreter runs too, and the tests
read it back there: the geometry of the demo hierarchies, every orientation and both kinds of
arrays comes back exactly, and mapped PCells come back as the same PCells. It has not been
loaded into a Virtuoso session yet. Numbers that may be negative are written as minus(0.2),
so the script does not depend on how SKILL reads -0.2 after another argument.