Virginia Tech® home

Creating Schematics in Cadence

Authors: Michael Cunningham, Ji Hoon Hyun, Dr. Dong S. Ha


 

Starting Cadence

  1. Login to the CVL.
  2. Change your directory to the appropriate location (the figure below is for the ECE 4220 project directory).
  3. Set up the environment and launch Cadence; i.e. Cadence, icfb &
     
CSC-Figure01
Figure 1. Cadence setup

  • Open your schematic by one of the methods below or create a new one as is done in the Environment Setup tutorial.
          1.  In the icfb window go to Tools → Library Manager... and then select the desired library and cell.
     
CSC-Figure02
Figure 2. Open cell view from library manager

      2.  In the icfb window go to File → Open and then select the desired library name and cell name.
 
CSC-Figure03
Figure 3. Open cell view

Schematics in Cadence

  1. First we will want to place the components we need to make a basic common source amplifier. In the schematic window, create a new instance by using one of the following methods:
         1.  Using the bindkey "i".
         2.  Selecting the IC icon in the icon bar.
         3.  Select Add → Instance from the toolbar.
CSC-Figure04
Figure 4. Create an instance

 
  • In the Add Instance dialog box, select the symbol view for a resistor as shown below. Set the resistance to variable called "Rd". This will be our drain resistor.
CSC-Figure05
Figure 5. Create a resistor from the analog library

 
  • Select the schematic window. You should see the component symbol (yellow) attached to your cursor. Place the device by selecting a point on the schematic. Press "Esc" to finish placing components.
CSC-Figure06
Figure 6. Placing a component


 

  • Repeat this procedure for the rest of the devices. The table below lists all the components, their libraries, and their parameters. If you need to edit an instance after placement, select the device and use the bindkey "q" to edit the object properties. (See the schematic below for placement.)
    Component Description Instance Library Instance Cell Parameters
    R0 resistor analogLib res r = Rd
    V0 ac voltage source analogLib vsin AC magnitude = 1m
    DC voltage = Vg
    V1 dc voltage source analogLib vdc DC voltage = Vdd
    gnd ground analogLib gnd -
    - no connection basic noConn -
    M0 nmos tsmcN65 nmos_rf wr = 4u (width)
    lr = 240n (length)
    nr = 16 (# of fingers)
    m = 1 (multiplier)

     NOTE
    : Do not specify units as they are automatically appended.

    Below are some useful bindkeys to make placement easier.
     
    Keystroke Function Action
    Esc (Escape) Cancel Current Function
    F3 Current Function Options Form
    F6 Redraw Display
    Delete Delete the selected component or wire
    c Copy instance
    f Zoom fit
    i Create Instance
    m Stretch (move with wires attached)
    Shift + m Move (selected only)
    q Query (object properties)
    r Rotate
    Ctrl + r Flip (vertical)
    Shift + r Mirror (horizontal)
    u Undo
    Shift + u Redo
    w Create wire
    Shift + x "Check and Save"




















  • Once you finish, you should have something that looks like the schematic below. After everything is placed, it's a good idea to renumber the instances (but not required). To do this, select Design → Renumber Instances... from the toolbar. In the popup window select X+Y+ for the sequencing (numbered from the bottom left corner to the top right) and leave the starting index as "0".
CSC-Figure07
Figure 7. Schematic after placement

 
  • Now connect all the devices using "w" (or by selecting the appropriate icon from the icon bar/selecting the appropriate function under Add on the toolbar). For tutorial purposes, just leave stubs on the DC supply and drain resistance so we can use labels.
CSC-Figure08
Figure 8. Connect the components with wires

 
  • Finally, let's add wire labels to the two stubs to "connect" them and name the input/output nets. Press "l" for the label and type "VDD VDD Vo Vi" in the "Names" box. The default settings should be fine. Then, click on the appropriate nets to name them (see schematic below).
CSC-Figure09
Figure 9. Add wire names
CSC-Figure10
Figure 10. Completed schematic



  • "Check and Save" your design: "Shift + x"