Skip to content

Commit faaca5d

Browse files
authored
Merge pull request #2552 from The-OpenROAD-Project-staging/secure-flow-new_ungrouping
New ungrouping logic
2 parents d29133c + 913f2dd commit faaca5d

File tree

22 files changed

+1924
-1854
lines changed

22 files changed

+1924
-1854
lines changed

flow/Makefile

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -178,9 +178,6 @@ include $(PLATFORM_DIR)/config.mk
178178
# is no way to escape space in defaults.py and get "foreach" to work.
179179
$(foreach line,$(shell $(SCRIPTS_DIR)/defaults.py),$(eval export $(subst __SPACE__, ,$(line))))
180180

181-
# Enables hierarchical yosys
182-
export SYNTH_STATS = $(RESULTS_DIR)/synth_stats.txt
183-
export SYNTH_STATS_SCRIPT = $(SCRIPTS_DIR)/synth_stats.tcl
184181
# If the design, nor $(PLATFORM_DIR)/config.mk provided a default, provide one here
185182
export MAX_UNGROUP_SIZE ?= 0
186183

@@ -454,13 +451,6 @@ memory:
454451

455452
export SYNTH_SCRIPT ?= $(SCRIPTS_DIR)/synth.tcl
456453
export SYNTH_MEMORY_MAX_BITS ?= 4096
457-
458-
.PHONY: do-yosys-stats
459-
do-yosys-stats:
460-
mkdir -p $(RESULTS_DIR) $(LOG_DIR) $(REPORTS_DIR)
461-
(export VERILOG_FILES=$(RESULTS_DIR)/1_synth.rtlil; \
462-
$(TIME_CMD) $(YOSYS_EXE) $(YOSYS_FLAGS) -c $(SYNTH_STATS_SCRIPT)) 2>&1 | tee $(abspath $(LOG_DIR)/1_1_yosys_stats.log)
463-
464454
export SDC_FILE_CLOCK_PERIOD = $(RESULTS_DIR)/clock_period.txt
465455

466456
$(SDC_FILE_CLOCK_PERIOD): $(SDC_FILE)
@@ -487,7 +477,7 @@ $(RESULTS_DIR)/1_synth.rtlil: $(YOSYS_DEPENDENCIES)
487477
$(UNSET_AND_MAKE) do-yosys-canonicalize
488478

489479
$(RESULTS_DIR)/1_1_yosys.v: $(RESULTS_DIR)/1_synth.rtlil
490-
$(UNSET_AND_MAKE) do-yosys-stats do-yosys
480+
$(UNSET_AND_MAKE) do-yosys
491481

492482
.PHONY: do-synth
493483
do-synth:

flow/designs/asap7/aes-block/metadata-base-ok.json

Lines changed: 243 additions & 245 deletions
Large diffs are not rendered by default.

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

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"synth__design__instance__area__stdcell": {
3-
"value": 2310.54,
3+
"value": 2293.17,
44
"compare": "<="
55
},
66
"constraints__clocks__count": {
@@ -12,27 +12,27 @@
1212
"compare": "<="
1313
},
1414
"placeopt__design__instance__count__stdcell": {
15-
"value": 12203,
15+
"value": 11853,
1616
"compare": "<="
1717
},
1818
"detailedplace__design__violations": {
1919
"value": 0,
2020
"compare": "=="
2121
},
2222
"cts__design__instance__count__setup_buffer": {
23-
"value": 1061,
23+
"value": 1031,
2424
"compare": "<="
2525
},
2626
"cts__design__instance__count__hold_buffer": {
27-
"value": 1061,
27+
"value": 1031,
2828
"compare": "<="
2929
},
3030
"globalroute__antenna_diodes_count": {
3131
"value": 0,
3232
"compare": "<="
3333
},
3434
"detailedroute__route__wirelength": {
35-
"value": 98764,
35+
"value": 88188,
3636
"compare": "<="
3737
},
3838
"detailedroute__route__drc_errors": {
@@ -48,15 +48,15 @@
4848
"compare": "<="
4949
},
5050
"finish__timing__setup__ws": {
51-
"value": -164.76,
51+
"value": -198.03,
5252
"compare": ">="
5353
},
5454
"finish__design__instance__area": {
55-
"value": 7462,
55+
"value": 7443,
5656
"compare": "<="
5757
},
5858
"finish__timing__drv__setup_violation_count": {
59-
"value": 531,
59+
"value": 515,
6060
"compare": "<="
6161
},
6262
"finish__timing__drv__hold_violation_count": {

flow/designs/asap7/riscv32i/config.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export RTLMP_MAX_INST = 3500
99
export RTLMP_MIN_MACRO = 1
1010
export RTLMP_MAX_MACRO = 5
1111

12-
export MAX_UNGROUP_SIZE ?= 1000
12+
export MAX_UNGROUP_SIZE ?= 10000
1313

1414
export VERILOG_FILES = $(sort $(wildcard $(DESIGN_HOME)/src/riscv32i/*.v))
1515
export SDC_FILE = $(DESIGN_HOME)/$(PLATFORM)/riscv32i/constraint.sdc

0 commit comments

Comments
 (0)