Skip to content

Commit b426be7

Browse files
committed
Merge remote-tracking branch 'public/master' into kepler_dependencies
2 parents e2c6c7d + fea258d commit b426be7

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

68 files changed

+892
-276
lines changed

docs/user/FlowVariables.md

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,39 @@ configuration file.
192192
| <a name="PLATFORM"></a>PLATFORM| Specifies process design kit or technology node to be used.| |
193193
| <a name="PLATFORM_TCL"></a>PLATFORM_TCL| Specifies a Tcl script with commands to run before loading design.| |
194194
| <a name="POST_CTS_TCL"></a>POST_CTS_TCL| Specifies a Tcl script with commands to run after CTS is completed.| |
195+
| <a name="POST_DENSITY_FILL_TCL"></a>POST_DENSITY_FILL_TCL| Specifies a Tcl script with commands to run after density fill.| |
196+
| <a name="POST_DETAIL_PLACE_TCL"></a>POST_DETAIL_PLACE_TCL| Specifies a Tcl script with commands to run after detailed placement.| |
197+
| <a name="POST_DETAIL_ROUTE_TCL"></a>POST_DETAIL_ROUTE_TCL| Specifies a Tcl script with commands to run after detailed route.| |
198+
| <a name="POST_FILLCELL_TCL"></a>POST_FILLCELL_TCL| Specifies a Tcl script with commands to run after fillcell insertion.| |
199+
| <a name="POST_FINAL_REPORT_TCL"></a>POST_FINAL_REPORT_TCL| Specifies a Tcl script with commands to run after final report generation.| |
200+
| <a name="POST_FLOORPLAN_TCL"></a>POST_FLOORPLAN_TCL| Specifies a Tcl script with commands to run after floorplan is completed.| |
201+
| <a name="POST_GLOBAL_PLACE_SKIP_IO_TCL"></a>POST_GLOBAL_PLACE_SKIP_IO_TCL| Specifies a Tcl script with commands to run after global placement (skip IO).| |
202+
| <a name="POST_GLOBAL_PLACE_TCL"></a>POST_GLOBAL_PLACE_TCL| Specifies a Tcl script with commands to run after global placement.| |
203+
| <a name="POST_GLOBAL_ROUTE_TCL"></a>POST_GLOBAL_ROUTE_TCL| Specifies a Tcl script with commands to run after global route.| |
204+
| <a name="POST_IO_PLACEMENT_TCL"></a>POST_IO_PLACEMENT_TCL| Specifies a Tcl script with commands to run after IO placement.| |
205+
| <a name="POST_MACRO_PLACE_TCL"></a>POST_MACRO_PLACE_TCL| Specifies a Tcl script with commands to run after macro placement.| |
206+
| <a name="POST_PDN_TCL"></a>POST_PDN_TCL| Specifies a Tcl script with commands to run after PDN generation.| |
207+
| <a name="POST_REPAIR_TIMING_POST_PLACE_TCL"></a>POST_REPAIR_TIMING_POST_PLACE_TCL| Specifies a Tcl script with commands to run after post-place timing repair.| |
208+
| <a name="POST_RESIZE_TCL"></a>POST_RESIZE_TCL| Specifies a Tcl script with commands to run after resize.| |
209+
| <a name="POST_SYNTH_TCL"></a>POST_SYNTH_TCL| Specifies a Tcl script with commands to run after synthesis ODB generation.| |
210+
| <a name="POST_TAPCELL_TCL"></a>POST_TAPCELL_TCL| Specifies a Tcl script with commands to run after tapcell.| |
211+
| <a name="PRE_CTS_TCL"></a>PRE_CTS_TCL| Specifies a Tcl script with commands to run before CTS.| |
212+
| <a name="PRE_DENSITY_FILL_TCL"></a>PRE_DENSITY_FILL_TCL| Specifies a Tcl script with commands to run before density fill.| |
213+
| <a name="PRE_DETAIL_PLACE_TCL"></a>PRE_DETAIL_PLACE_TCL| Specifies a Tcl script with commands to run before detailed placement.| |
214+
| <a name="PRE_DETAIL_ROUTE_TCL"></a>PRE_DETAIL_ROUTE_TCL| Specifies a Tcl script with commands to run before detailed route.| |
215+
| <a name="PRE_FILLCELL_TCL"></a>PRE_FILLCELL_TCL| Specifies a Tcl script with commands to run before fillcell insertion.| |
216+
| <a name="PRE_FINAL_REPORT_TCL"></a>PRE_FINAL_REPORT_TCL| Specifies a Tcl script with commands to run before final report generation.| |
217+
| <a name="PRE_FLOORPLAN_TCL"></a>PRE_FLOORPLAN_TCL| Specifies a Tcl script with commands to run before floorplan.| |
218+
| <a name="PRE_GLOBAL_PLACE_SKIP_IO_TCL"></a>PRE_GLOBAL_PLACE_SKIP_IO_TCL| Specifies a Tcl script with commands to run before global placement (skip IO).| |
219+
| <a name="PRE_GLOBAL_PLACE_TCL"></a>PRE_GLOBAL_PLACE_TCL| Specifies a Tcl script with commands to run before global placement.| |
195220
| <a name="PRE_GLOBAL_ROUTE_TCL"></a>PRE_GLOBAL_ROUTE_TCL| Specifies a Tcl script with commands to run before global route.| |
221+
| <a name="PRE_IO_PLACEMENT_TCL"></a>PRE_IO_PLACEMENT_TCL| Specifies a Tcl script with commands to run before IO placement.| |
222+
| <a name="PRE_MACRO_PLACE_TCL"></a>PRE_MACRO_PLACE_TCL| Specifies a Tcl script with commands to run before macro placement.| |
223+
| <a name="PRE_PDN_TCL"></a>PRE_PDN_TCL| Specifies a Tcl script with commands to run before PDN generation.| |
224+
| <a name="PRE_REPAIR_TIMING_POST_PLACE_TCL"></a>PRE_REPAIR_TIMING_POST_PLACE_TCL| Specifies a Tcl script with commands to run before post-place timing repair.| |
225+
| <a name="PRE_RESIZE_TCL"></a>PRE_RESIZE_TCL| Specifies a Tcl script with commands to run before resize.| |
226+
| <a name="PRE_SYNTH_TCL"></a>PRE_SYNTH_TCL| Specifies a Tcl script with commands to run before synthesis ODB generation.| |
227+
| <a name="PRE_TAPCELL_TCL"></a>PRE_TAPCELL_TCL| Specifies a Tcl script with commands to run before tapcell.| |
196228
| <a name="PROCESS"></a>PROCESS| Technology node or process in use.| |
197229
| <a name="PWR_NETS_VOLTAGES"></a>PWR_NETS_VOLTAGES| Used for IR Drop calculation.| |
198230
| <a name="RCX_RULES"></a>RCX_RULES| RC Extraction rules file path.| |
@@ -291,6 +323,8 @@ configuration file.
291323
- [DFF_MAP_FILE](#DFF_MAP_FILE)
292324
- [LATCH_MAP_FILE](#LATCH_MAP_FILE)
293325
- [MIN_BUF_CELL_AND_PORTS](#MIN_BUF_CELL_AND_PORTS)
326+
- [POST_SYNTH_TCL](#POST_SYNTH_TCL)
327+
- [PRE_SYNTH_TCL](#PRE_SYNTH_TCL)
294328
- [SDC_FILE](#SDC_FILE)
295329
- [SDC_GUT](#SDC_GUT)
296330
- [SYNTH_ARGS](#SYNTH_ARGS)
@@ -349,6 +383,14 @@ configuration file.
349383
- [PLACE_DENSITY](#PLACE_DENSITY)
350384
- [PLACE_DENSITY_LB_ADDON](#PLACE_DENSITY_LB_ADDON)
351385
- [PLACE_SITE](#PLACE_SITE)
386+
- [POST_FLOORPLAN_TCL](#POST_FLOORPLAN_TCL)
387+
- [POST_MACRO_PLACE_TCL](#POST_MACRO_PLACE_TCL)
388+
- [POST_PDN_TCL](#POST_PDN_TCL)
389+
- [POST_TAPCELL_TCL](#POST_TAPCELL_TCL)
390+
- [PRE_FLOORPLAN_TCL](#PRE_FLOORPLAN_TCL)
391+
- [PRE_MACRO_PLACE_TCL](#PRE_MACRO_PLACE_TCL)
392+
- [PRE_PDN_TCL](#PRE_PDN_TCL)
393+
- [PRE_TAPCELL_TCL](#PRE_TAPCELL_TCL)
352394
- [REMOVE_ABC_BUFFERS](#REMOVE_ABC_BUFFERS)
353395
- [ROUTING_LAYER_ADJUSTMENT](#ROUTING_LAYER_ADJUSTMENT)
354396
- [RTLMP_AREA_WT](#RTLMP_AREA_WT)
@@ -408,6 +450,18 @@ configuration file.
408450
- [PLACE_DENSITY](#PLACE_DENSITY)
409451
- [PLACE_DENSITY_LB_ADDON](#PLACE_DENSITY_LB_ADDON)
410452
- [PLACE_PINS_ARGS](#PLACE_PINS_ARGS)
453+
- [POST_DETAIL_PLACE_TCL](#POST_DETAIL_PLACE_TCL)
454+
- [POST_GLOBAL_PLACE_SKIP_IO_TCL](#POST_GLOBAL_PLACE_SKIP_IO_TCL)
455+
- [POST_GLOBAL_PLACE_TCL](#POST_GLOBAL_PLACE_TCL)
456+
- [POST_IO_PLACEMENT_TCL](#POST_IO_PLACEMENT_TCL)
457+
- [POST_REPAIR_TIMING_POST_PLACE_TCL](#POST_REPAIR_TIMING_POST_PLACE_TCL)
458+
- [POST_RESIZE_TCL](#POST_RESIZE_TCL)
459+
- [PRE_DETAIL_PLACE_TCL](#PRE_DETAIL_PLACE_TCL)
460+
- [PRE_GLOBAL_PLACE_SKIP_IO_TCL](#PRE_GLOBAL_PLACE_SKIP_IO_TCL)
461+
- [PRE_GLOBAL_PLACE_TCL](#PRE_GLOBAL_PLACE_TCL)
462+
- [PRE_IO_PLACEMENT_TCL](#PRE_IO_PLACEMENT_TCL)
463+
- [PRE_REPAIR_TIMING_POST_PLACE_TCL](#PRE_REPAIR_TIMING_POST_PLACE_TCL)
464+
- [PRE_RESIZE_TCL](#PRE_RESIZE_TCL)
411465
- [ROUTING_LAYER_ADJUSTMENT](#ROUTING_LAYER_ADJUSTMENT)
412466
- [SKIP_REPORT_METRICS](#SKIP_REPORT_METRICS)
413467
- [TNS_END_PERCENT](#TNS_END_PERCENT)
@@ -430,6 +484,7 @@ configuration file.
430484
- [MATCH_CELL_FOOTPRINT](#MATCH_CELL_FOOTPRINT)
431485
- [MAX_REPAIR_TIMING_ITER](#MAX_REPAIR_TIMING_ITER)
432486
- [POST_CTS_TCL](#POST_CTS_TCL)
487+
- [PRE_CTS_TCL](#PRE_CTS_TCL)
433488
- [REMOVE_CELLS_FOR_EQY](#REMOVE_CELLS_FOR_EQY)
434489
- [REPORT_CLOCK_SKEW](#REPORT_CLOCK_SKEW)
435490
- [SETUP_REPAIR_SEQUENCE](#SETUP_REPAIR_SEQUENCE)
@@ -453,6 +508,7 @@ configuration file.
453508
- [MAX_REPAIR_TIMING_ITER](#MAX_REPAIR_TIMING_ITER)
454509
- [MAX_ROUTING_LAYER](#MAX_ROUTING_LAYER)
455510
- [MIN_ROUTING_LAYER](#MIN_ROUTING_LAYER)
511+
- [POST_GLOBAL_ROUTE_TCL](#POST_GLOBAL_ROUTE_TCL)
456512
- [PRE_GLOBAL_ROUTE_TCL](#PRE_GLOBAL_ROUTE_TCL)
457513
- [REPORT_CLOCK_SKEW](#REPORT_CLOCK_SKEW)
458514
- [ROUTING_LAYER_ADJUSTMENT](#ROUTING_LAYER_ADJUSTMENT)
@@ -478,6 +534,10 @@ configuration file.
478534
- [MAX_REPAIR_ANTENNAS_ITER_DRT](#MAX_REPAIR_ANTENNAS_ITER_DRT)
479535
- [MAX_ROUTING_LAYER](#MAX_ROUTING_LAYER)
480536
- [MIN_ROUTING_LAYER](#MIN_ROUTING_LAYER)
537+
- [POST_DETAIL_ROUTE_TCL](#POST_DETAIL_ROUTE_TCL)
538+
- [POST_FILLCELL_TCL](#POST_FILLCELL_TCL)
539+
- [PRE_DETAIL_ROUTE_TCL](#PRE_DETAIL_ROUTE_TCL)
540+
- [PRE_FILLCELL_TCL](#PRE_FILLCELL_TCL)
481541
- [REPORT_CLOCK_SKEW](#REPORT_CLOCK_SKEW)
482542
- [ROUTING_LAYER_ADJUSTMENT](#ROUTING_LAYER_ADJUSTMENT)
483543
- [SKIP_ANTENNA_REPAIR_POST_DRT](#SKIP_ANTENNA_REPAIR_POST_DRT)
@@ -491,6 +551,10 @@ configuration file.
491551
- [GND_NETS_VOLTAGES](#GND_NETS_VOLTAGES)
492552
- [MAX_ROUTING_LAYER](#MAX_ROUTING_LAYER)
493553
- [MIN_ROUTING_LAYER](#MIN_ROUTING_LAYER)
554+
- [POST_DENSITY_FILL_TCL](#POST_DENSITY_FILL_TCL)
555+
- [POST_FINAL_REPORT_TCL](#POST_FINAL_REPORT_TCL)
556+
- [PRE_DENSITY_FILL_TCL](#PRE_DENSITY_FILL_TCL)
557+
- [PRE_FINAL_REPORT_TCL](#PRE_FINAL_REPORT_TCL)
494558
- [PWR_NETS_VOLTAGES](#PWR_NETS_VOLTAGES)
495559
- [REPORT_CLOCK_SKEW](#REPORT_CLOCK_SKEW)
496560
- [ROUTING_LAYER_ADJUSTMENT](#ROUTING_LAYER_ADJUSTMENT)

flow/designs/asap7/aes-block/rules-base.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"compare": ">="
3333
},
3434
"cts__timing__setup__tns": {
35-
"value": -5150.0,
35+
"value": -5150,
3636
"compare": ">="
3737
},
3838
"cts__timing__hold__ws": {
@@ -52,7 +52,7 @@
5252
"compare": ">="
5353
},
5454
"globalroute__timing__setup__tns": {
55-
"value": -4295.0,
55+
"value": -4295,
5656
"compare": ">="
5757
},
5858
"globalroute__timing__hold__ws": {
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
run_config:
2+
design: gcd
3+
experiment: freq
4+
flow_home: /OpenROAD-flow-scripts/flow
5+
jobs: 3
6+
mode: sweep
7+
platform: asap7
8+
ray_outputs_dir: /work
9+
orfs_outputs_dir: /work
10+
search_space:
11+
_SDC_FILE_PATH:
12+
type: constant
13+
value: /OpenROAD-flow-scripts/flow/designs/asap7/gcd/constraint.sdc
14+
_SDC_CLK_PERIOD:
15+
type: range_int
16+
min: 200
17+
max: 500
18+
step: 50
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
run_config:
2+
design: gcd
3+
experiment: basic
4+
flow_home: /OpenROAD-flow-scripts/flow
5+
jobs: 3
6+
mode: tune
7+
platform: asap7
8+
ray_outputs_dir: /work
9+
orfs_outputs_dir: /work
10+
samples: 10
11+
timeout: 1.0
12+
search_space:
13+
file: autotuner_new.json
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
{
2+
"_SDC_FILE_PATH": "constraint.sdc",
3+
"_SDC_CLK_PERIOD": {
4+
"type": "range_float",
5+
"min": 200,
6+
"max": 500,
7+
"step": 0
8+
},
9+
"CELL_PAD_IN_SITES_GLOBAL_PLACEMENT": {
10+
"type": "range_int",
11+
"min": 0,
12+
"max": 3,
13+
"step": 1
14+
},
15+
"CELL_PAD_IN_SITES_DETAIL_PLACEMENT": {
16+
"type": "range_int",
17+
"min": 0,
18+
"max": 3,
19+
"step": 1
20+
},
21+
"_FR_LAYER_ADJUST": {
22+
"type": "range_float",
23+
"min": 0.1,
24+
"max": 0.3,
25+
"step": 0
26+
},
27+
"PLACE_DENSITY_LB_ADDON": {
28+
"type": "range_float",
29+
"min": 0.0,
30+
"max": 0.2,
31+
"step": 0
32+
},
33+
"CTS_CLUSTER_SIZE": {
34+
"type": "range_int",
35+
"min": 10,
36+
"max": 200,
37+
"step": 1
38+
},
39+
"CTS_CLUSTER_DIAMETER": {
40+
"type": "range_int",
41+
"min": 20,
42+
"max": 400,
43+
"step": 1
44+
},
45+
"_FR_FILE_PATH": "fastroute.tcl"
46+
}
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
run_config:
2+
design: ibex
3+
experiment: freq
4+
flow_home: /OpenROAD-flow-scripts/flow
5+
jobs: 2
6+
mode: sweep
7+
platform: asap7
8+
ray_outputs_dir: /work
9+
orfs_outputs_dir: /work
10+
search_space:
11+
_SDC_FILE_PATH:
12+
type: constant
13+
value: /OpenROAD-flow-scripts/flow/designs/asap7/ibex/constraint.sdc
14+
_SDC_CLK_PERIOD:
15+
type: range_int
16+
min: 950
17+
max: 1050
18+
step: 10
19+
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
run_config:
2+
design: ibex
3+
experiment: basic
4+
flow_home: /OpenROAD-flow-scripts/flow
5+
jobs: 2
6+
mode: tune
7+
samples: 5
8+
platform: asap7
9+
ray_outputs_dir: /work
10+
orfs_outputs_dir: /work
11+
search_space:
12+
file: /work/configs/asap7/ibex/autotuner_new.json
Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
{
2+
"_SDC_FILE_PATH": "designs/asap7/ibex/constraint.sdc",
3+
"_SDC_CLK_PERIOD": {
4+
"type": "range_int",
5+
"step": 0,
6+
"min": 1200,
7+
"max": 2000
8+
},
9+
"CORE_UTILIZATION": {
10+
"type": "range_int",
11+
"step": 1,
12+
"min": 5,
13+
"max": 10
14+
},
15+
"CORE_ASPECT_RATIO": {
16+
"type": "range_float",
17+
"step": 0,
18+
"min": 0.9,
19+
"max": 1.1
20+
},
21+
"CELL_PAD_IN_SITES_GLOBAL_PLACEMENT": {
22+
"type": "range_int",
23+
"step": 1,
24+
"min": 0,
25+
"max": 3
26+
},
27+
"CELL_PAD_IN_SITES_DETAIL_PLACEMENT": {
28+
"type": "range_int",
29+
"step": 1,
30+
"min": 0,
31+
"max": 3
32+
},
33+
"_FR_LAYER_ADJUST": {
34+
"type": "range_float",
35+
"step": 0,
36+
"min": 0.0,
37+
"max": 0.1
38+
},
39+
"PLACE_DENSITY_LB_ADDON": {
40+
"type": "range_float",
41+
"step": 0,
42+
"min": 0.0,
43+
"max": 0.2
44+
},
45+
"CTS_CLUSTER_SIZE": {
46+
"type": "range_int",
47+
"step": 1,
48+
"min": 10,
49+
"max": 200
50+
},
51+
"CTS_CLUSTER_DIAMETER": {
52+
"type": "range_int",
53+
"step": 1,
54+
"min": 20,
55+
"max": 400
56+
},
57+
"_FR_FILE_PATH": ""
58+
}

flow/designs/asap7/swerv_wrapper/config.mk

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,7 @@ export SDC_FILE = $(DESIGN_HOME)/$(PLATFORM)/swerv_wrapper/constraint.sdc
5151
export ADDITIONAL_LEFS = $(sort $(wildcard $(DESIGN_HOME)/$(PLATFORM)/swerv_wrapper/lef/*.lef))
5252
export ADDITIONAL_LIBS = $(sort $(wildcard $(DESIGN_HOME)/$(PLATFORM)/swerv_wrapper/lib/*.lib))
5353

54-
export DIE_AREA = 0 0 550 600
55-
export CORE_AREA = 5 5 545 595
54+
export CORE_UTILIZATION = 30
5655

5756
export IO_CONSTRAINTS = $(DESIGN_HOME)/$(PLATFORM)/swerv_wrapper/io.tcl
5857
export PLACE_DENSITY_LB_ADDON = 0.20
@@ -63,4 +62,3 @@ export SWAP_ARITH_OPERATORS = 1
6362
export OPENROAD_HIERARCHICAL = 1
6463

6564
export LEC_CHECK = 0
66-

flow/designs/ihp-sg13g2/i2c-gpio-expander/I2cDeviceCtrl/pdn.tcl

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,6 @@ add_global_connection -net {VSS} -inst_pattern {.*} -pin_pattern {VSS!} -ground
1111
add_global_connection -net {VDD} -inst_pattern {.*} -pin_pattern {^VDD$} -power
1212
add_global_connection -net {VSS} -inst_pattern {.*} -pin_pattern {^VSS$} -ground
1313

14-
# padframe core power pins
15-
add_global_connection -net {VDD} -pin_pattern {^vdd$} -power
16-
add_global_connection -net {VSS} -pin_pattern {^vss$} -ground
17-
18-
# padframe io power pins
19-
add_global_connection -net {IOVDD} -pin_pattern {^iovdd$} -power
20-
add_global_connection -net {IOVSS} -pin_pattern {^iovss$} -ground
21-
2214
global_connect
2315

2416
# core voltage domain
@@ -29,10 +21,10 @@ define_pdn_grid -name {grid} -voltage_domains {CORE} -pins {Metal4 Metal5}
2921
add_pdn_stripe -grid {grid} -layer {Metal1} -width {0.44} -pitch {7.56} -offset {0} \
3022
-followpins
3123
add_pdn_ring -grid {grid} -layers {Metal4 Metal5} -widths {3.0} -spacings {2.0} \
32-
-core_offsets {4.5} -connect_to_pads
33-
add_pdn_stripe -grid {grid} -layer {Metal4} -width {1.840} -pitch {75.6} -offset {13.6} \
24+
-core_offsets {4.5}
25+
add_pdn_stripe -grid {grid} -layer {Metal4} -width {2.0} -pitch {40.0} -offset {10.0} \
3426
-extend_to_core_ring
35-
add_pdn_stripe -grid {grid} -layer {Metal5} -width {1.840} -pitch {75.6} -offset {13.6} \
27+
add_pdn_stripe -grid {grid} -layer {Metal5} -width {2.0} -pitch {40.0} -offset {10.0} \
3628
-extend_to_core_ring
3729
add_pdn_connect -grid {grid} -layers {Metal1 Metal4}
3830
add_pdn_connect -grid {grid} -layers {Metal4 Metal5}

0 commit comments

Comments
 (0)