@@ -408,8 +408,13 @@ The log structure is as follows:
408408
409409View design area and its core utilization:
410410
411- ```
411+ ``` shell
412412make gui_final
413+ ```
414+
415+ In the ` Tcl Commands ` section:
416+
417+ ``` tcl
413418report_design_area
414419```
415420
@@ -453,6 +458,8 @@ hierarchy refer to the OpenROAD [GUI](https://openroad.readthedocs.io/en/latest/
453458Use the report command to view individual power components i.e.
454459sequential, combinational, macro and power consumed by I/O pads.
455460
461+ In the ` Tcl Commands ` section:
462+
456463``` tcl
457464report_power
458465```
@@ -699,6 +706,11 @@ fixed DRC violation in the design:
699706
700707``` shell
701708openroad -gui
709+ ```
710+
711+ In the ` Tcl Commands ` section:
712+
713+ ``` tcl
702714source drc_fix.tcl
703715```
704716
@@ -718,7 +730,7 @@ to view Tcl Commands available. In OpenROAD GUI, at the bottom,
718730` TCL commands ` executable space is available to run the commands.
719731For example
720732
721- View ` design area ` :
733+ View ` design area ` in the ` Tcl Commands ` section of the GUI :
722734
723735``` tcl
724736report_design_area
@@ -817,7 +829,7 @@ The `gcd` design synthesis results for area and speed optimizations are shown be
817829| -----------------------| --------------------------------------| --------------------------------------|
818830| ` Number of wires ` | 224 | 224 |
819831| ` Number of wire bits ` | 270 | 270 |
820- | ` Number of cells ` | 234 | 234 |
832+ [ O | ` Number of cells ` | 234 | 234 |
821833| ` Chip area ` | 2083.248000 | 2083.248000 |
822834| ` Final Design Area ` | Design area 4295 u^2 6% utilization. | Design area 4074 u^2 6% utilization. |
823835
@@ -1085,6 +1097,11 @@ To check this in OpenROAD tool root directory:
10851097``` shell
10861098cd ../tools/OpenROAD/src/ifp/test/
10871099openroad
1100+ ```
1101+
1102+ In the ` Tcl Commands ` section:
1103+
1104+ ``` tcl
10881105source tiecells.tcl
10891106```
10901107
@@ -1095,7 +1112,7 @@ AND2_X1 u2 (.A1(r1q), .A2(1'b0), .ZN(u2z0));
10951112AND2_X1 u3 (.A1(u1z), .A2(1'b1), .ZN(u2z1));
10961113```
10971114With following ` insert_tiecells ` command:
1098- ```
1115+ ``` tcl
10991116insert_tiecells LOGIC0_X1/Z -prefix "TIE_ZERO_"
11001117insert_tiecells LOGIC1_X1/Z
11011118```
@@ -1152,7 +1169,7 @@ Read the resulting macro placement with a complete core view:
11521169##### Macro Placement With Halo Spacing
11531170
11541171Explore macro placement with halo spacing, refer to the example
1155- [ here] (( https://github.com/The-OpenROAD-Project/OpenROAD/tree/master/src/mpl/test/ ).
1172+ [ here] ( https://github.com/The-OpenROAD-Project/OpenROAD/tree/master/src/mpl/test/ ) .
11561173
11571174Launch GUI by running the following command(s) in the terminal in OpenROAD tool root directory:
11581175``` shell
@@ -1208,7 +1225,7 @@ Change `CORE_UTILIZATION` and `PLACE_DENSITY` for the `ibex` design
12081225View ` ibex ` design ` config.mk `
12091226[ here] ( https://github.com/The-OpenROAD-Project/OpenROAD-flow-scripts/blob/master/flow/designs/sky130hd/ibex/config.mk ) .
12101227
1211- ```
1228+ ``` tcl
12121229export CORE_UTILIZATION = 40
12131230export PLACE_DENSITY_LB_ADDON = 0.1
12141231```
@@ -1324,6 +1341,7 @@ corners.
13241341Refer to the built-in example [ here] ( https://github.com/The-OpenROAD-Project/OpenROAD/blob/master/test/gcd_sky130hd_fast_slow.tcl ) .
13251342
13261343Run the following commands in the terminal:
1344+
13271345``` shell
13281346cd ../../test/
13291347openroad
@@ -1332,12 +1350,15 @@ source gcd_sky130hd_fast_slow.tcl
13321350
13331351The resulting ` worst slack ` , ` TNS ` :
13341352
1335- ```
1353+ ``` tcl
13361354report_worst_slack -min -digits 3
1337- worst slack 0.321
13381355report_worst_slack -max -digits 3
1339- worst slack -16.005
13401356report_tns -digits 3
1357+ ```
1358+
1359+ ```
1360+ worst slack 0.321
1361+ worst slack -16.005
13411362tns -529.496
13421363```
13431364
@@ -1431,7 +1452,7 @@ Reduce the clock frequency by increasing the clock period to `0.9` and re-run
14311452` repair_timing ` to fix the setup violation warnings. Such timing violations
14321453are automatically fixed by the ` resizer ` ` post CTS ` and ` global routing. `
14331454
1434- ``` yvl
1455+ ``` tcl
14351456create_clock -period 0.9 clk
14361457repair_timing -setup
14371458```
@@ -1701,7 +1722,7 @@ Refer to the built-in examples [here](https://github.com/The-OpenROAD-Project/Op
17011722
17021723Run these Tcl commands in the terminal in OpenROAD tool root directory:
17031724
1704- ```
1725+ ``` shell
17051726cd ../tools/OpenROAD/src/cts/test/
17061727openroad
17071728source post_cts_opt.tcl
@@ -1765,7 +1786,7 @@ Filler cells removed with `remove_fillers` command.
17651786### Global Routing
17661787
17671788The global router analyzes available routing resources and automatically
1768- allocates them to avoid any H/V overflow violations for optimal routing.
1789+ allocates them to avoid any H/V overflow violations for optimal routing.
17691790It generates a congestion report for GCells showing total resources, demand,
17701791utilization, location and the H/V violation status. If there are no violations
17711792reported then the design can proceed to detail routing.
@@ -1937,22 +1958,32 @@ design rules while obeying DRC constraints. It is driven by a json
19371958configuration file.
19381959
19391960Command used as follows:
1961+
19401962``` tcl
19411963density_fill -rules <json_file> [-area <list of lx ly ux uy>]
19421964```
1965+
19431966If -area is not specified, the core area will be used.
19441967
19451968To run metal fill post route, run the following:
1969+
19461970``` shell
19471971cd flow/tutorials/scripts/metal_fill
19481972openroad -gui
1973+ ```
1974+
1975+ In the ` Tcl Commands ` section:
1976+
1977+ ``` tcl
19491978source "helpers.tcl"
19501979read_db ./5_route.odb
19511980```
1981+
19521982Layout before adding metal fill is as follows:
19531983![ Detail Routing] ( ./images/sky130_gcd_route.webp )
19541984
19551985To add metal fill, run the command:
1986+
19561987``` tcl
19571988density_fill -rules ../../../platforms/sky130hd/fill.json
19581989```
@@ -1980,7 +2011,8 @@ cd ../tools/OpenROAD/src/rcx/test/
19802011openroad
19812012```
19822013
1983- To run parasitics for gcd design:
2014+ Run parasitics in the ` Tcl Commands ` section:
2015+
19842016``` tcl
19852017source 45_gcd.tcl
19862018```
@@ -2064,6 +2096,7 @@ In the GUI, you can go under `Heat Maps` and mark the
20642096You can create a text file with the congestion information of the
20652097GCells for further investigation on the GUI. To do that, add the
20662098` -congestion_report_file file_name ` to the ` global_route ` command, as shown below:
2099+
20672100``` tcl
20682101global_route -guide_file out.guide -congestion_report_file congest.rpt
20692102```
0 commit comments