Virginia Tech® home

Creating Schematics in Cadence

Starting Cadence

  1. Login to the CVL. (Note: On-campus CVL connection is recommended. Off-campus/VPN CVL connections can be done but tends to be very slow.)
  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 &

    Figure 1. Cadence setup
    Figure 1. Cadence setup

  4. Open your schematic by one of the methods below or create a new one as is done in the Environment Setup tutorial.

    a. In the icfb window go to Tools → Library Manager... and then select the desired library and cell.

    Figure 2. Open cell view from library manager
    Figure 2. Open cell view from library manager
     

    b. In the icfb window go to File → Open and then select the desired library name and cell name.

    Figure 3. Open cell view
    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:

    a. Using the bindkey "i".

    b. Selecting the IC icon in the icon bar.

    c. Select Add → Instance from the toolbar.

    Figure 4. Create an instance
    Figure 4. Create an instance
      
  2. 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.

    Figure 5. Create a resistor from the analog library
    Figure 5. Create a resistor from the analog library

  3. 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.

    Figure 6. Placing a component
    Figure 6. Placing a component

  4. 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"

  5. 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".

    Figure 7. Schematic after placement
    Figure 7. Schematic after placement

  6. 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.

    Figure 8. Connect the components with wires
    Figure 8. Connect the components with wires

  7. 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).

    Figure 9. Add wire names
    Figure 9. Add wire names


    Figure 10. Completed schematic
    Figure 10. Completed schematic


  8. "Check and Save" your design: "Shift + x"


Comments to: ha@vt.edu