cpr tutorial 2015mar

Upload: sumanth-varma

Post on 02-Mar-2018

226 views

Category:

Documents


0 download

TRANSCRIPT

  • 7/26/2019 CPR Tutorial 2015Mar

    1/28

    Tutorial for Encounter RTL-to-GDSII System 13.15 T. Manikas, SMU, 3/9/15

    1

    Tutorial for Cadence SOC Encounter Place & Route

    For Encounter RTL-to-GDSII System 13.15

    T. Manikas, Southern Methodist University, 3/9/15

    Contents1 Preliminary Setup .................................................................................................................................. 1

    1.1 Helpful Hints ................................................................................................................................. 1

    2 Starting Tool and Reading in the Design Files ....................................................................................... 2

    2.1 Saving and Restoring Your Design................................................................................................. 9

    3 Floorplanning ...................................................................................................................................... 12

    3.1 Specify Floorplan ......................................................................................................................... 124 Power Planning ................................................................................................................................... 14

    4.1 Connect Global Nets ................................................................................................................... 14

    4.2 Power Rings ................................................................................................................................. 15

    4.3 Power Stripes .............................................................................................................................. 18

    4.4 Connect Power to Standard Cell Rows ....................................................................................... 22

    5 Placing the Standard Cells ................................................................................................................... 23

    6 Routing ................................................................................................................................................ 25

    7 Adding Filler Cells ................................................................................................................................ 27

    1 Preliminary SetupCreate a separate directory for the above files in your account (e.g., Encounter). Create the

    subdirectories synthand lib

    1.

    Move full_adder_pads_syn.vto the synthdirectory

    2.

    Move osu05_stdcells.lefto the libdirectory

    1.1

    Helpful Hints

    1.

    Some of the pop-up windows may be too big for your screen, making it hard to access the

    button on the bottom of the window. To move a window in X-windows, point your mouse

    anywhere in the window and press the ALTkey and the rightmouse button.

  • 7/26/2019 CPR Tutorial 2015Mar

    2/28

    Tutorial for Encounter RTL-to-GDSII System 13.15 T. Manikas, SMU, 3/9/15

    2

    2 Starting Tool and Reading in the Design Files1.

    Make sure that you are in your main separate directory (e.g., Encounter) as mentioned earlier

    2.

    At the Unix prompt, type: encounter

    3.

    When the Encounter tool window appears, go to the menu bar and select File, Import Designto

    get the Design Import window.

    4.

    For the Verilog Netlist, click on the box with the dots [] to open the Netlist Files window

  • 7/26/2019 CPR Tutorial 2015Mar

    3/28

    Tutorial for Encounter RTL-to-GDSII System 13.15 T. Manikas, SMU, 3/9/15

    3

    5.

    Click on the ">>" button to expand the window to show the directories:

  • 7/26/2019 CPR Tutorial 2015Mar

    4/28

    Tutorial for Encounter RTL-to-GDSII System 13.15 T. Manikas, SMU, 3/9/15

    4

    6.

    Double-click on the synthfolder, then select the file full_adder_pads_syn.vand click the Addbutton to add it to the Netlist Files list. Click Closeto close the Netlist Files window.

  • 7/26/2019 CPR Tutorial 2015Mar

    5/28

    Tutorial for Encounter RTL-to-GDSII System 13.15 T. Manikas, SMU, 3/9/15

    5

    7.

    In the main window, for Top Cell, select "Auto Assign"

  • 7/26/2019 CPR Tutorial 2015Mar

    6/28

    Tutorial for Encounter RTL-to-GDSII System 13.15 T. Manikas, SMU, 3/9/15

    6

    8.

    For Technology/Physical Libraries, select "LEF Files". Click on the [] button open the LEF Fileswindow.

  • 7/26/2019 CPR Tutorial 2015Mar

    7/28

    Tutorial for Encounter RTL-to-GDSII System 13.15 T. Manikas, SMU, 3/9/15

    7

    9.

    Using the same approach as for selecting the Verilog Netlist file, select the file

    lib/osu05_stdcells.lef

  • 7/26/2019 CPR Tutorial 2015Mar

    8/28

    Tutorial for Encounter RTL-to-GDSII System 13.15 T. Manikas, SMU, 3/9/15

    8

    10.

    For Power, enter the following:a.

    Power Nets: vdd

    b.

    Ground Nets: gnd

    11.

    Click on OK.

  • 7/26/2019 CPR Tutorial 2015Mar

    9/28

    Tutorial for Encounter RTL-to-GDSII System 13.15 T. Manikas, SMU, 3/9/15

    9

    2.1

    Saving and Restoring Your Design

    NOTE: It is a good idea to save your design periodically. Select File, Save Design. In the Save Design

    Window, select Data Type: Encounter. The program will assign a default filename with extension *.enc.

    You may change the name, but do not change the extension.

  • 7/26/2019 CPR Tutorial 2015Mar

    10/28

    Tutorial for Encounter RTL-to-GDSII System 13.15 T. Manikas, SMU, 3/9/15

    10

    To load a saved Encounter file, do File, Restore Design. In the Restore Design Window, select Data

    Type: Encounter. Select the file to be restored.

  • 7/26/2019 CPR Tutorial 2015Mar

    11/28

    Tutorial for Encounter RTL-to-GDSII System 13.15 T. Manikas, SMU, 3/9/15

    11

  • 7/26/2019 CPR Tutorial 2015Mar

    12/28

    Tutorial for Encounter RTL-to-GDSII System 13.15 T. Manikas, SMU, 3/9/15

    12

    3 Floorplanning

    3.1

    Specify Floorplan

    In Encounter tool menu bar, select Floorplan, Specify Floorplanto get the Specify Floorplanwindow.

    1.

    In the Basictab, select the following options:a.

    Core Margins select Core to IO Boundary and set all margins to 100

    2.

    Click on OK.

  • 7/26/2019 CPR Tutorial 2015Mar

    13/28

    Tutorial for Encounter RTL-to-GDSII System 13.15 T. Manikas, SMU, 3/9/15

    13

  • 7/26/2019 CPR Tutorial 2015Mar

    14/28

    Tutorial for Encounter RTL-to-GDSII System 13.15 T. Manikas, SMU, 3/9/15

    14

    4 Power Planning

    4.1

    Connect Global Nets

    In Encounter tool menu bar, select Power, Connect Global Netsto get the Global Net Connections

    Window.

    1.

    In Power Ground Connection

    a.

    In the Connectarea, select Pin

    b.

    In the Scopearea, select Apply All

    2.

    For each net vddand gnd, do the following:

    a.

    Enter the net name (vdd or gnd) in the following boxes:

    i.

    "To Global Net"

    ii.

    "Pin Name(s)"

    b.

    Click on the "Add to List" button

    3.

    Click Apply, then click Cancel

  • 7/26/2019 CPR Tutorial 2015Mar

    15/28

    Tutorial for Encounter RTL-to-GDSII System 13.15 T. Manikas, SMU, 3/9/15

    15

    4.2

    Power Rings

    In Encounter tool menu bar, select Power, Power Planning, Add Ringsto get the Add Ringswindow.

    1.

    For Net(s), enter vddand gnd nets as follows:

    a.

    Click on [] box to get Net Selection windowb.

    Select vddand gndfrom Possible Nets column

    c.

    Click Addto copy to Chosen Nets column

    d.

    Click OK

  • 7/26/2019 CPR Tutorial 2015Mar

    16/28

    Tutorial for Encounter RTL-to-GDSII System 13.15 T. Manikas, SMU, 3/9/15

    16

    2.

    In Ring Configuration, select metal1for Top and Bottom, metal2for Left and Right.

    a.

    Width should be 8

    b.

    Spacing should be 1

    c.

    Offset should be Center in channel

    3.

    Click OK

  • 7/26/2019 CPR Tutorial 2015Mar

    17/28

    Tutorial for Encounter RTL-to-GDSII System 13.15 T. Manikas, SMU, 3/9/15

    17

  • 7/26/2019 CPR Tutorial 2015Mar

    18/28

    Tutorial for Encounter RTL-to-GDSII System 13.15 T. Manikas, SMU, 3/9/15

    18

    4.3

    Power Stripes

    In Encounter tool menu bar, select Power, Power Planning, Add Stripesto get the Add Stripeswindow.

    1.

    BasicTab

    a.

    For Net(s), enter vddand gnd nets as follows:i.

    Click on [] box to get Net Selection window

    ii.

    Select vddand gndfrom Possible Nets column

    iii.

    Click Add to copy to Chosen Nets column

    iv.

    Click OK

    b.

    In Set Configuration, select Layer metal2 and Direction vertical. Width should be 8 and

    Spacing should be 1.

    c.

    In Set Pattern, set Set-to-set distance to 100

    d.

    In First/Last Stripe, select Relative from core or selected area, X from left to 20

  • 7/26/2019 CPR Tutorial 2015Mar

    19/28

    Tutorial for Encounter RTL-to-GDSII System 13.15 T. Manikas, SMU, 3/9/15

    19

    2.

    AdvancedTab

    a.

    Set Snap wire center to routing grid as Grid

    3.

    Click OK

    NOTE: MAY NEED TO USE ALT-RIGHT MOUSE TO MOVE WINDOW TO GET TO OK BUTTON (SEE HINT IN

    SECTION1.1 above).

  • 7/26/2019 CPR Tutorial 2015Mar

    20/28

    Tutorial for Encounter RTL-to-GDSII System 13.15 T. Manikas, SMU, 3/9/15

    20

  • 7/26/2019 CPR Tutorial 2015Mar

    21/28

    Tutorial for Encounter RTL-to-GDSII System 13.15 T. Manikas, SMU, 3/9/15

    21

  • 7/26/2019 CPR Tutorial 2015Mar

    22/28

    Tutorial for Encounter RTL-to-GDSII System 13.15 T. Manikas, SMU, 3/9/15

    22

    4.4

    Connect Power to Standard Cell Rows

    In Encounter tool menu bar, select Route, Special Route, and click OK. This will create power (vdd) and

    ground (gnd) rails for your standard cell rows. Save your design using the procedure described in

    Section2.1 above.

  • 7/26/2019 CPR Tutorial 2015Mar

    23/28

    Tutorial for Encounter RTL-to-GDSII System 13.15 T. Manikas, SMU, 3/9/15

    23

    5 Placing the Standard CellsIn Encounter tool menu bar, select Place, Standard Cellsto get the Place window.

    1.

    Select Run Full Placement and Include Pre-Place Optimization

    2.

    Click OK

    After cells are placed, change to Physical Viewin the Encounter Window to see placement results.

  • 7/26/2019 CPR Tutorial 2015Mar

    24/28

    Tutorial for Encounter RTL-to-GDSII System 13.15 T. Manikas, SMU, 3/9/15

    24

  • 7/26/2019 CPR Tutorial 2015Mar

    25/28

    Tutorial for Encounter RTL-to-GDSII System 13.15 T. Manikas, SMU, 3/9/15

    25

    6 RoutingIn Encounter tool menu bar, select Route, NanoRoute, Routeto get the NanoRoute window.

    1.

    Click OK.

  • 7/26/2019 CPR Tutorial 2015Mar

    26/28

    Tutorial for Encounter RTL-to-GDSII System 13.15 T. Manikas, SMU, 3/9/15

    26

  • 7/26/2019 CPR Tutorial 2015Mar

    27/28

    Tutorial for Encounter RTL-to-GDSII System 13.15 T. Manikas, SMU, 3/9/15

    27

    7 Adding Filler Cells1.

    Now that we have routed all the wires and placed all the cell in our design, we will add empty

    filler cells to the design. Select Place, Physical Cell, Add Filler.

    2.

    In the Add Filler window, enter the Cell Name FILL and check Mark Fixed. Click OK.

  • 7/26/2019 CPR Tutorial 2015Mar

    28/28

    Tutorial for Encounter RTL-to-GDSII System 13.15 T. Manikas, SMU, 3/9/15

    3.

    Note that filer cells are added to the layout: