cadence online documentation tutorial

Upload: vijaymaloth4

Post on 04-Jun-2018

261 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/13/2019 Cadence Online Documentation Tutorial

    1/12

    8/30/13 Cadence Online Documentation Tutorial

    www-scf.usc.edu/~ee577/cadence_tutorial4.html 1

    Cadence Tutorial 4: Schematic of a parameterized Inverter

    1. Open schematic window.

    File->New->Cellview

    In Create New File window,

    Library Name : Mylib

    Cell Name : inverter

    View Name : schematic

    Tool : Composer-Schematic

    2. Place nmos transistor.

    sch:Add->Component (or "i")

    Add Component:click Browse

    In Library Browser window,

    Library : tsmc25LibCell : nfet3

    View : symbol

  • 8/13/2019 Cadence Online Documentation Tutorial

    2/12

    8/30/13 Cadence Online Documentation Tutorial

    www-scf.usc.edu/~ee577/cadence_tutorial4.html 2

    1. Place pmos, vdd, and gnd.

    - Repeat above procedure for pfet3, vdd, and gnd placement. All components can be found at the

    same library (tsmc25Lib or basic).

  • 8/13/2019 Cadence Online Documentation Tutorial

    3/12

    8/30/13 Cadence Online Documentation Tutorial

    www-scf.usc.edu/~ee577/cadence_tutorial4.html 3

    2. Connect each component using wires.

    Place mouse pointer on one of the node you want to connect

    sch:Add->Wire(narrow) (or "w")

    Click "mouse L", drag to other node to connect, and click "mouse L" to finish.

    - Repeat above procedure to finish wiring.

    - To make wire open node at one end (like input and output of inverter), double-click "mouse L"

  • 8/13/2019 Cadence Online Documentation Tutorial

    4/12

    8/30/13 Cadence Online Documentation Tutorial

    www-scf.usc.edu/~ee577/cadence_tutorial4.html 4

    3. Place pins.

    sch:Add->Pin (or "p")

    In Add Pin window,

    Pin Names : A X

    Direction : input

    Move mouse to place A pin at input of inverter, then click "mouse L".

    In Add Pin window, change direction to output.

    Place X pin at output of inverter.

  • 8/13/2019 Cadence Online Documentation Tutorial

    5/12

    8/30/13 Cadence Online Documentation Tutorial

    www-scf.usc.edu/~ee577/cadence_tutorial4.html 5

    4. Add pmos parameters. (W/L)

    Click pfet3

    sch:Edit->Properties->Objects (or "q")

    In Edit Object Properties window,

    Width : pPar("pw")

    Length : pPar("pl")

    Click OK or Apply

    Repeat for nfet3 with width pPar("nw") and length pPar("nl").

    Comment:pPar means its parameter value is inherited from parent schematic. pPar(pw) can be

    interpreted as set the width to the parameter pw of its parent schematic. In this example, there arefour parameters (pw, pl, nw, nl) which can be individually controlled from the schematic that calls

    the symbol of this schematic.

    Please refer to chapter8 Editing Properties -> Passing Parameterssection in Cadence Virtuoso

    Schematic Composer User guide for more details.

  • 8/13/2019 Cadence Online Documentation Tutorial

    6/12

    8/30/13 Cadence Online Documentation Tutorial

    www-scf.usc.edu/~ee577/cadence_tutorial4.html 6

    Check and Save

    sch:File->Check and Save

    Inverter Symbol Create

    1. Open symbol window.

    icds:File->New->Cellview

    In Create New File window,

    Library Name : MyLib

    Cell Name : inverter

    View Name : symbol

    Tool : Composer-Symbol

    1. Draw outline for inverter symbol.

    Click line icon on left toolbox of symbol window and draw outline of inverter.

  • 8/13/2019 Cadence Online Documentation Tutorial

    7/12

    8/30/13 Cadence Online Documentation Tutorial

    www-scf.usc.edu/~ee577/cadence_tutorial4.html 7

    3. Finish outline by adding circle.

    sym:Add->Shape->Circle

    Click "mouse L" on the center of circle, drag and click "mouse L" again.

  • 8/13/2019 Cadence Online Documentation Tutorial

    8/12

    8/30/13 Cadence Online Documentation Tutorial

    www-scf.usc.edu/~ee577/cadence_tutorial4.html 8

    4. Place pins.

    sym:Add->Pin (or "p")

    In Add Pin window,

    Pin Names : A X

    Direction : input

    Type : square

    Move mouse to place A pin at input of inverter, then click "mouse L".

    In Add Pin window, change direction to output.

    Place X pin at output of inverter.

  • 8/13/2019 Cadence Online Documentation Tutorial

    9/12

    8/30/13 Cadence Online Documentation Tutorial

    www-scf.usc.edu/~ee577/cadence_tutorial4.html 9

    5. Add labels.

    sym:Add->Label

    In Add Label window,

    Label : [@instanceName]

    Place label.

  • 8/13/2019 Cadence Online Documentation Tutorial

    10/12

    8/30/13 Cadence Online Documentation Tutorial

    www-scf.usc.edu/~ee577/cadence_tutorial4.html 10

    6. Add NLPLabel for parameters.

    Add->Label

    Label: [@pw:%:][@pl:/%:]

    Label Type:NLPLabel

    Label: [@nw:%:][@nl:/%:]

    Label Type:NLPLabel

    Comment: Putting NLPLabel for symbol will help you recognize the property of the instance in theschematic that uses this symbol.

  • 8/13/2019 Cadence Online Documentation Tutorial

    11/12

    8/30/13 Cadence Online Documentation Tutorial

    www-scf.usc.edu/~ee577/cadence_tutorial4.html 11

    7. Add CDF Parameters for the cellview.Tools->CDF->Edit

    CDF Type: Base

    Library Name: MyLib

    Cell Name: inverter

    Component Parameters: Click Add

    paramType: float

    storeDefault: yes

    name: nw(pw,nl,pl)

    prompt: nw(pw,nl,pl)

    defValue: 0.5u (or value of your choice, 0.24u for length)

    Click Apply or OK

  • 8/13/2019 Cadence Online Documentation Tutorial

    12/12

    8/30/13 Cadence Online Documentation Tutorial

    For more help please refer to Virtuoso Schematic Composer user guide using CDSDOC.

    In case of any bug or comment please email to [email protected] or [email protected]

    The University of Southern California does not screen or control the content on this website and thus does not guarantee theaccuracy, integrity, or quality of such content. All content on this website is provided by and is the sole responsibility of the personfrom which such content originated, and such content does not necessarily reflect the opinions of the University administration or theBoard of Trustees

    mailto:[email protected]:[email protected]