Tutorial) 11 EncounterFlow (20080319)
Tutorial) 11 EncounterFlow (20080319)
2. Go to “icfb windows -> Tools -> Verilog Integration -> NC-verilog” to open “Virtuoso
Schematic Composer Analysis Environment for NC-Verilog Integration” window.
Page 1
The Chinese University of Hong Kong
Department of Electronic Engineering
ELE 4550 ASIC Technologies (2005-06 2nd Semester)
3. When the NC-Verilog is opened, select “Browse” to choose your design, then press “Initial
Design” and “Generate Netlist”.
4. The netlist is generated in the XXX_run1/ihnl/cdsYY/netlist directory, where XXX is your
design name and YY is a number depends on your hierarchy level.
5. Create a folder named “encounter” and create a folder named “verilog” and another named
“work_fe” under the “encounter” folder. Copy all the files named “netlist” under cdsxx into that
“verilog” directory.
6. Add the Corner Pad to the top level verilog file(e.g. cds12.v), just before the statement
“endmodule”.
7. To run the “Clock Tree Synthesis” in SOC Encounter, we need to integrate those cdsxx files into
single verilog code by cascading them together first. For example, create a new file “top.v”,
copy the content of “cds0/netlist” to “top.v”, and then “cds1” and so on.
8. When the file “top.v” is ready, in the unix console, type “uniquifyNetlist –top <top_cell_name>
<output_netlist_name> <input_netlist_name>”, for the case used in this tutorial, top cell name is
“topview”, so the command is “uniquifyNetlist –top topview topout.v top.v”.
Page 2
The Chinese University of Hong Kong
Department of Electronic Engineering
ELE 4550 ASIC Technologies (2005-06 2nd Semester)
Page 3
The Chinese University of Hong Kong
Department of Electronic Engineering
ELE 4550 ASIC Technologies (2005-06 2nd Semester)
The UNIX window where you start the Encounter session is called the Encounter console. This
is where you enter the Encounter text commands and where the software displays messages.
Page 4
The Chinese University of Hong Kong
Department of Electronic Engineering
ELE 4550 ASIC Technologies (2005-06 2nd Semester)
3. Import a design.
Click DesignÆDesign Import, the Design Import form appears. Complete the Design page as
below. You can use the file widget to browse and select the files. Change to the Power Tab,
set Power Nets = vdd! vdd3r1! vdd3r2! vdd3o!, Ground Nets = gnd! gnd3r! gnd3o!. Click Save
to save the configurations to topview.conf. You can reload these configurations later by loading
this file. Click OK to import your design.
Click DesignÆSave Design to save your design as topview.enc. To load your design later, use
DesignÆRestore Design.
Page 5
The Chinese University of Hong Kong
Department of Electronic Engineering
ELE 4550 ASIC Technologies (2005-06 2nd Semester)
c. Goto Design Import again to include the modified I/O file in the IO Assignment File.
5. Initialize floorplan.
Click FloorplanÆSpecify Floorplan, under Size byÆCore Size byÆAspect Ratio, set Ratio
= 1, core Utilization = 0.7. And use 400 for Core to IO Boundary. Click OK. Save your
design.
Page 6
The Chinese University of Hong Kong
Department of Electronic Engineering
ELE 4550 ASIC Technologies (2005-06 2nd Semester)
b. Add power rings: click FloorplanÆPower PlanningÆAdd Rings. Type gnd! vdd! in the
Net(s) line. Set ring width to 15, spacing to 2, offset to 15 and active specify. Click OK.
Page 7
The Chinese University of Hong Kong
Department of Electronic Engineering
ELE 4550 ASIC Technologies (2005-06 2nd Semester)
c. Add stripes: click FloorplanÆPower PlanningÆAdd Stripes. For this small design, we
add one pair of stripes. Make the changes as the figure below and click OK. The values in
the stripe offset boundary decide the stripes’ position. Try to put the stripes in the middle of
your floorplan.
Page 8
The Chinese University of Hong Kong
Department of Electronic Engineering
ELE 4550 ASIC Technologies (2005-06 2nd Semester)
Page 9
The Chinese University of Hong Kong
Department of Electronic Engineering
ELE 4550 ASIC Technologies (2005-06 2nd Semester)
b. Place the cells: click PlaceÆPlace. Use Medium Effort for Placement Effort Level. Active
Timing Driven and save the netlist to cla.post_tdp.v. Click OK. After successful placement,
you can see that all the cells have been placed in your floorplan by clicking .
c. Create the clock tree: select ClockÆSpecify Clock Tree. Use topview.ctstch as the Clock
Tree File and press OK. You can download topview.ctstch on the web page. In this file, you
need to modify the line AutoCTSRootPin, default is instance name I1/Y, you can find the
instance name of your design from schematic CLK signal pin. For example, if your CLK
pad instance name is I123, then update the line to AutoCTSRootPin I123/Y.
Click ClockÆSynhesize Clock Tree. Use the default configurations and click OK.
Page 10
The Chinese University of Hong Kong
Department of Electronic Engineering
ELE 4550 ASIC Technologies (2005-06 2nd Semester)
After the clock tree is created, a new netlist topview_cts.v will be generated in the
topview_cts directory by the Encounter. You should use this netlist for postlayout simulation.
Use ClockÆDisplayÆDisplay Clock Tree to view the clock tree.
d. Place the core filler cells: Click PlaceÆFillerÆAdd Filler. Select FILL1, FILL2, FILL5,
FILL10, FILL25 as Cell Name(s). Leave other settings as default and press OK.
Page 11
The Chinese University of Hong Kong
Department of Electronic Engineering
ELE 4550 ASIC Technologies (2005-06 2nd Semester)
b. Running Trial Route: TrailRoute is an internal router to help quickly estimate the timing and
congestion of your design before going to NanoRoute/WRoute. Select RouteÆTrial Route.
Use topview_cts.guide in the topview_cts directory as the routing guide and click OK.
Page 12
The Chinese University of Hong Kong
Department of Electronic Engineering
ELE 4550 ASIC Technologies (2005-06 2nd Semester)
c. Running NanoRoute or WRoute: NanoRoute and WRoute are both global/detail routers with
signoff tapeout quality. They are very similar but NanoRoute is a newer engine which is
running faster with better quality. For 0.18um or below, it is highly recommended using
NanoRoute in detailed routing. For NanoRoute, click RouteÆNanoRoute. Active Timing
Driven and leave others as default. Click OK. For WRoute, select RouteÆWRoute, use the
default settings and click OK
Page 13
The Chinese University of Hong Kong
Department of Electronic Engineering
ELE 4550 ASIC Technologies (2005-06 2nd Semester)
Page 14
The Chinese University of Hong Kong
Department of Electronic Engineering
ELE 4550 ASIC Technologies (2005-06 2nd Semester)
Page 15