Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

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

  1. 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.
  2. 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).
  3. Your PDK: File > Import > Technology (KLayout .lyp, Virtuoso .tf)… reads an ASCII technology file (.tf), with the display.drf and stream layer map in its folder; SVRF (Calibre) decks run on the built-in DRC (Technology).
  4. 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).
  5. Can’t find something? Ctrl+K opens the command palette, which knows the Virtuoso names too: type Check and Save, XStream In, leHiCreateRect, ADE Explorer or Modgen and 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 callbackIn 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, … Ctrl is Cmd on macOS. Mouse bindings (<Btn1Down>), double presses (<Key>r(2)) and keys bound only while a command runs (EF) are listed as not used.
  • hiSetBindKey typed 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 VirtuosoIn IC Studio
Library Manager, cds.libThe Explorer (Ctrl+B); File > Import > Virtuoso library reads a cds.lib
CIW, load("x.il")Tools > CIW (SKILL); Load SKILL (.il)…
.cdsinit bindkeysFile > Import > Virtuoso bindkeys
Schematic: i Create Instancei (Virtuoso bindkeys): analogLib names (nmos4, res, vdc, gnd, …) and your cells
Schematic: w, l, p, q, m, c, Shift+XThe 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 RunSimulation workspace, F5 (built-in engine or ngspice; Spectre decks are read)
ADE Explorer / Assembler: corners, sweeps, Monte CarloCorner / sweep manager, Monte Carlo, Verification
Calculator, Results BrowserWaveform calculator, Results browser
Layout XL: Generate All From Source, Check Against Source, Update Components and NetsVerify > Generate Layout from Schematic, Check against source, Update from schematic (comparison)
ModgenMatched placement
Calibre / PVS / Assura DRC and LVSBuilt-in DRC and LVS; Run sign-off runset runs Calibre, KLayout or netgen and shows the results
XStream In / Out, layer mapFile > Import / Export GDSII / OASIS, Stream layer map

Different on purpose

  • Ctrl+Z is undo everywhere (Virtuoso binds it to zoom in); u undoes too. Bind Ctrl+Z to hiZoomIn() 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 use i instead. 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:

WhatHowIn Virtuoso
A schematicFile > 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 cellsFile > Export > Virtuoso layout (SKILL)… (ics export-skill-layout)Make the library (attached to the technology), then load("cell.il")
A layout as mask dataFile > Export > Library GDSII… with the stream layer mapXStream In
A netlist for LVSExport SPICE netlist… / CDLCalibre, 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.