Skip to content

Commit ffab31f

Browse files
committed
rebased two asap7 designs
Signed-off-by: Cho Moon <cmoon@precisioninno.com>
2 parents ec52323 + 37d5718 commit ffab31f

105 files changed

Lines changed: 504 additions & 405095 deletions

File tree

Some content is hidden

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

docs/user/FlowVariables.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ configuration file.
100100
| <a name="ADDITIONAL_GDS"></a>ADDITIONAL_GDS| Hardened macro GDS files listed here.| |
101101
| <a name="ADDITIONAL_LEFS"></a>ADDITIONAL_LEFS| Hardened macro LEF view files listed here. The LEF information of the macros is immutable and used throughout all stages. Stored in the .odb file.| |
102102
| <a name="ADDITIONAL_LIBS"></a>ADDITIONAL_LIBS| Hardened macro library files listed here. The library information is immutable and used throughout all stages. Not stored in the .odb file.| |
103+
| <a name="ASAP7_USE_VT"></a>ASAP7_USE_VT| A space separated list of VT options to use with the ASAP7 standard cell library: RVT, LVT, SLVT.| RVT|
103104
| <a name="BALANCE_ROWS"></a>BALANCE_ROWS| Balance rows during placement.| 0|
104105
| <a name="BLOCKS"></a>BLOCKS| Blocks used as hard macros in a hierarchical flow. Do note that you have to specify block-specific inputs file in the directory mentioned by Makefile.| |
105106
| <a name="BUFFER_PORTS_ARGS"></a>BUFFER_PORTS_ARGS| Specify arguments to the buffer_ports call during placement. Only used if DONT_BUFFER_PORTS=0.| |
@@ -127,6 +128,7 @@ configuration file.
127128
| <a name="DETAILED_METRICS"></a>DETAILED_METRICS| If set, then calls report_metrics prior to repair operations in the CTS and global route stages| 0|
128129
| <a name="DETAILED_ROUTE_ARGS"></a>DETAILED_ROUTE_ARGS| Add additional arguments for debugging purposes during detail route.| |
129130
| <a name="DETAILED_ROUTE_END_ITERATION"></a>DETAILED_ROUTE_END_ITERATION| Maximum number of iterations.| 64|
131+
| <a name="DETAIL_PLACEMENT_ARGS"></a>DETAIL_PLACEMENT_ARGS| Specify arguments to the detailed_placement call during placement.| |
130132
| <a name="DFF_LIB_FILES"></a>DFF_LIB_FILES| Technology mapping liberty files for flip-flops.| |
131133
| <a name="DFF_MAP_FILE"></a>DFF_MAP_FILE| Optional mapping file supplied to Yosys to map D flip-flops| |
132134
| <a name="DIE_AREA"></a>DIE_AREA| The die area specified as a list of lower-left and upper-right corners in microns (X1 Y1 X2 Y2).| |
@@ -161,7 +163,7 @@ configuration file.
161163
| <a name="KLAYOUT_TECH_FILE"></a>KLAYOUT_TECH_FILE| A mapping from LEF/DEF to GDS using the KLayout tool.| |
162164
| <a name="LATCH_MAP_FILE"></a>LATCH_MAP_FILE| Optional mapping file supplied to Yosys to map latches| |
163165
| <a name="LAYER_PARASITICS_FILE"></a>LAYER_PARASITICS_FILE| Path to per layer parasitics file. Defaults to $(PLATFORM_DIR)/setRC.tcl.| |
164-
| <a name="LEC_CHECK"></a>LEC_CHECK| Perform a formal equivalence check between before and after netlists.| 1|
166+
| <a name="LEC_CHECK"></a>LEC_CHECK| Perform a formal equivalence check between before and after netlists. If this fails, report an issue to OpenROAD.| 0|
165167
| <a name="LIB_FILES"></a>LIB_FILES| A Liberty file of the standard cell library with PVT characterization, input and output characteristics, timing and power definitions for each cell.| |
166168
| <a name="MACRO_BLOCKAGE_HALO"></a>MACRO_BLOCKAGE_HALO| Distance beyond the edges of a macro that will also be covered by the blockage generated for that macro. Note that the default macro blockage halo comes from the largest of the specified MACRO_PLACE_HALO x or y values. This variable overrides that calculation.| |
167169
| <a name="MACRO_EXTENSION"></a>MACRO_EXTENSION| Sets the number of GCells added to the blockages boundaries from macros.| |
@@ -388,6 +390,7 @@ configuration file.
388390
- [CELL_PAD_IN_SITES_DETAIL_PLACEMENT](#CELL_PAD_IN_SITES_DETAIL_PLACEMENT)
389391
- [CELL_PAD_IN_SITES_GLOBAL_PLACEMENT](#CELL_PAD_IN_SITES_GLOBAL_PLACEMENT)
390392
- [CLUSTER_FLOPS](#CLUSTER_FLOPS)
393+
- [DETAIL_PLACEMENT_ARGS](#DETAIL_PLACEMENT_ARGS)
391394
- [DONT_BUFFER_PORTS](#DONT_BUFFER_PORTS)
392395
- [EARLY_SIZING_CAP_RATIO](#EARLY_SIZING_CAP_RATIO)
393396
- [FLOORPLAN_DEF](#FLOORPLAN_DEF)
@@ -496,6 +499,7 @@ configuration file.
496499

497500
## All stages variables
498501

502+
- [ASAP7_USE_VT](#ASAP7_USE_VT)
499503
- [KEEP_VARS](#KEEP_VARS)
500504
- [NUM_CORES](#NUM_CORES)
501505
- [OPENROAD_HIERARCHICAL](#OPENROAD_HIERARCHICAL)

flow/.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
settings.mk
21
vars.sh
32
vars.gdb
43
vars.tcl

flow/Makefile

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1-
# settings.mk is not under source control. Put variables into this
2-
# file to avoid having to adding the to the make command line.
1+
# Put variables into this file to avoid having to adding
2+
# the to the make command line.
3+
#
4+
# Out of ORFS trees can have their own settings.mk.
35
-include settings.mk
46

57
# ==============================================================================
@@ -389,6 +391,8 @@ endef
389391
# Custom target to go from synthesis to placement in a single OpenROAD run
390392
$(eval $(call do-step,1_3_floorplan_to_place, $(RESULTS_DIR)/1_synth.odb $(RESULTS_DIR)/1_synth.sdc,floorplan_to_place))
391393

394+
$(eval $(call OPEN_GUI_SHORTCUT,yosys,1_2_yosys.v))
395+
392396
.PHONY: floorplan_to_place
393397
floorplan_to_place: $(RESULTS_DIR)/1_synth.odb $(RESULTS_DIR)/1_synth.sdc
394398
$(UNSET_AND_MAKE) do-1_3_floorplan_to_place
@@ -777,6 +781,7 @@ $(eval $(call OPEN_GUI_SHORTCUT,final,6_final.odb))
777781

778782
$(foreach file,$(RESULTS_DEF),$(eval $(call OPEN_GUI,$(file),DEF_FILE)))
779783
$(foreach file,$(RESULTS_ODB),$(eval $(call OPEN_GUI,$(file),ODB_FILE)))
784+
$(foreach file,$(RESULTS_V),$(eval $(call OPEN_GUI,$(file),V_FILE)))
780785

781786
# Write a def for the corresponding odb
782787
$(foreach file,$(RESULTS_ODB),$(file).def): %.def:

flow/designs/asap7/aes-block/config.mk

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,9 @@ export SDC_FILE = $(DESIGN_HOME)/$(PLATFORM)/$(DESIGN_NICKNAME)/constraint.
88

99
export ABC_AREA = 1
1010

11-
export CORE_UTILIZATION = 40
11+
export CORE_UTILIZATION = 47
1212
export CORE_ASPECT_RATIO = 1
1313
export CORE_MARGIN = 2
14-
export PLACE_DENSITY = 0.53
1514

1615
export BLOCKS ?= aes_rcon aes_sbox
1716
export SYNTH_HIERARCHICAL = 1
@@ -30,3 +29,4 @@ export PWR_NETS_VOLTAGES =
3029
export MACRO_PLACE_HALO ?= 3 3
3130

3231
export ROUTING_LAYER_ADJUSTMENT = 0.3
32+
export HOLD_SLACK_MARGIN = -30

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

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,58 +1,58 @@
11
{
22
"synth__design__instance__area__stdcell": {
3-
"value": 2010.0,
3+
"value": 2090.0,
44
"compare": "<="
55
},
66
"constraints__clocks__count": {
77
"value": 1,
88
"compare": "=="
99
},
1010
"placeopt__design__instance__area": {
11-
"value": 7161,
11+
"value": 7178,
1212
"compare": "<="
1313
},
1414
"placeopt__design__instance__count__stdcell": {
15-
"value": 9936,
15+
"value": 9788,
1616
"compare": "<="
1717
},
1818
"detailedplace__design__violations": {
1919
"value": 0,
2020
"compare": "=="
2121
},
2222
"cts__design__instance__count__setup_buffer": {
23-
"value": 864,
23+
"value": 851,
2424
"compare": "<="
2525
},
2626
"cts__design__instance__count__hold_buffer": {
27-
"value": 1213,
27+
"value": 1813,
2828
"compare": "<="
2929
},
3030
"cts__timing__setup__ws": {
31-
"value": -124.0,
31+
"value": -176.0,
3232
"compare": ">="
3333
},
3434
"cts__timing__setup__tns": {
35-
"value": -9410.0,
35+
"value": -16700.0,
3636
"compare": ">="
3737
},
3838
"cts__timing__hold__ws": {
39-
"value": -22.5,
39+
"value": -52.3,
4040
"compare": ">="
4141
},
4242
"cts__timing__hold__tns": {
43-
"value": -90.0,
43+
"value": -6260.0,
4444
"compare": ">="
4545
},
4646
"globalroute__antenna_diodes_count": {
4747
"value": 100,
4848
"compare": "<="
4949
},
5050
"globalroute__timing__setup__ws": {
51-
"value": -94.0,
51+
"value": -150.0,
5252
"compare": ">="
5353
},
5454
"globalroute__timing__setup__tns": {
55-
"value": -5740.0,
55+
"value": -14800.0,
5656
"compare": ">="
5757
},
5858
"globalroute__timing__hold__ws": {
@@ -80,11 +80,11 @@
8080
"compare": "<="
8181
},
8282
"finish__timing__setup__ws": {
83-
"value": -70.6,
83+
"value": -152.0,
8484
"compare": ">="
8585
},
8686
"finish__timing__setup__tns": {
87-
"value": -3060.0,
87+
"value": -12200.0,
8888
"compare": ">="
8989
},
9090
"finish__timing__hold__ws": {
@@ -96,7 +96,7 @@
9696
"compare": ">="
9797
},
9898
"finish__design__instance__area": {
99-
"value": 7299,
99+
"value": 7332,
100100
"compare": "<="
101101
}
102102
}

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
"compare": ">="
5353
},
5454
"globalroute__timing__setup__tns": {
55-
"value": -2470.0,
55+
"value": -2370.0,
5656
"compare": ">="
5757
},
5858
"globalroute__timing__hold__ws": {
@@ -80,11 +80,11 @@
8080
"compare": "<="
8181
},
8282
"finish__timing__setup__ws": {
83-
"value": -42.3,
83+
"value": -41.6,
8484
"compare": ">="
8585
},
8686
"finish__timing__setup__tns": {
87-
"value": -986.0,
87+
"value": -857.0,
8888
"compare": ">="
8989
},
9090
"finish__timing__hold__ws": {

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"compare": ">="
3333
},
3434
"cts__timing__setup__tns": {
35-
"value": -1250.0,
35+
"value": -1100.0,
3636
"compare": ">="
3737
},
3838
"cts__timing__hold__ws": {
@@ -52,7 +52,7 @@
5252
"compare": ">="
5353
},
5454
"globalroute__timing__setup__tns": {
55-
"value": -2660.0,
55+
"value": -2170.0,
5656
"compare": ">="
5757
},
5858
"globalroute__timing__hold__ws": {
@@ -80,11 +80,11 @@
8080
"compare": "<="
8181
},
8282
"finish__timing__setup__ws": {
83-
"value": -44.3,
83+
"value": -42.2,
8484
"compare": ">="
8585
},
8686
"finish__timing__setup__tns": {
87-
"value": -1100.0,
87+
"value": -825.0,
8888
"compare": ">="
8989
},
9090
"finish__timing__hold__ws": {

flow/designs/asap7/ethmac/config.mk

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,4 @@ export CORE_ASPECT_RATIO = 1
1111
export CORE_MARGIN = 2
1212
export PLACE_DENSITY = 0.75
1313

14+
export HOLD_SLACK_MARGIN = -10

flow/designs/asap7/ethmac/rules-base.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,11 @@
2828
"compare": "<="
2929
},
3030
"cts__timing__setup__ws": {
31-
"value": -110.0,
31+
"value": -114.0,
3232
"compare": ">="
3333
},
3434
"cts__timing__setup__tns": {
35-
"value": -1660.0,
35+
"value": -1710.0,
3636
"compare": ">="
3737
},
3838
"cts__timing__hold__ws": {
@@ -48,11 +48,11 @@
4848
"compare": "<="
4949
},
5050
"globalroute__timing__setup__ws": {
51-
"value": -123.0,
51+
"value": -128.0,
5252
"compare": ">="
5353
},
5454
"globalroute__timing__setup__tns": {
55-
"value": -1940.0,
55+
"value": -2160.0,
5656
"compare": ">="
5757
},
5858
"globalroute__timing__hold__ws": {
@@ -64,7 +64,7 @@
6464
"compare": ">="
6565
},
6666
"detailedroute__route__wirelength": {
67-
"value": 243236,
67+
"value": 243645,
6868
"compare": "<="
6969
},
7070
"detailedroute__route__drc_errors": {
@@ -80,11 +80,11 @@
8080
"compare": "<="
8181
},
8282
"finish__timing__setup__ws": {
83-
"value": -114.0,
83+
"value": -117.0,
8484
"compare": ">="
8585
},
8686
"finish__timing__setup__tns": {
87-
"value": -1750.0,
87+
"value": -1800.0,
8888
"compare": ">="
8989
},
9090
"finish__timing__hold__ws": {

flow/designs/asap7/ethmac_lvt/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": -951.0,
35+
"value": -907.0,
3636
"compare": ">="
3737
},
3838
"cts__timing__hold__ws": {
@@ -52,7 +52,7 @@
5252
"compare": ">="
5353
},
5454
"globalroute__timing__setup__tns": {
55-
"value": -1150.0,
55+
"value": -1130.0,
5656
"compare": ">="
5757
},
5858
"globalroute__timing__hold__ws": {

0 commit comments

Comments
 (0)