Skip to content

Commit b8e4d9e

Browse files
committed
Merge remote-tracking branch 'private/master' into secure-grt-rudy-tweak
2 parents ca5e32c + 5c1a7d4 commit b8e4d9e

Some content is hidden

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

72 files changed

+54755
-2895
lines changed

flow/Makefile

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@
100100
#DESIGN_CONFIG=./designs/ihp-sg13g2/gcd/config.mk
101101
#DESIGN_CONFIG=./designs/ihp-sg13g2/spi/config.mk
102102
#DESIGN_CONFIG=./designs/ihp-sg13g2/riscv32i/config.mk
103+
#DESIGN_CONFIG=./designs/ihp-sg13g2/i2c-gpio-expander/config.mk
103104

104105
# Default design
105106
DESIGN_CONFIG ?= ./designs/nangate45/gcd/config.mk
@@ -178,9 +179,6 @@ include $(PLATFORM_DIR)/config.mk
178179
# is no way to escape space in defaults.py and get "foreach" to work.
179180
$(foreach line,$(shell $(SCRIPTS_DIR)/defaults.py),$(eval export $(subst __SPACE__, ,$(line))))
180181

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

@@ -454,13 +452,6 @@ memory:
454452

455453
export SYNTH_SCRIPT ?= $(SCRIPTS_DIR)/synth.tcl
456454
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-
464455
export SDC_FILE_CLOCK_PERIOD = $(RESULTS_DIR)/clock_period.txt
465456

466457
$(SDC_FILE_CLOCK_PERIOD): $(SDC_FILE)
@@ -487,7 +478,7 @@ $(RESULTS_DIR)/1_synth.rtlil: $(YOSYS_DEPENDENCIES)
487478
$(UNSET_AND_MAKE) do-yosys-canonicalize
488479

489480
$(RESULTS_DIR)/1_1_yosys.v: $(RESULTS_DIR)/1_synth.rtlil
490-
$(UNSET_AND_MAKE) do-yosys-stats do-yosys
481+
$(UNSET_AND_MAKE) do-yosys
491482

492483
.PHONY: do-synth
493484
do-synth:

flow/designs/asap7/aes-block/autotuner.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,16 @@
33
"_SDC_CLK_PERIOD": {
44
"type": "float",
55
"minmax": [
6-
100,
6+
300,
77
600
88
],
99
"step": 0
1010
},
1111
"CORE_UTILIZATION": {
1212
"type": "int",
1313
"minmax": [
14-
0,
15-
20
14+
20,
15+
50
1616
],
1717
"step": 1
1818
},
@@ -35,16 +35,16 @@
3535
"CELL_PAD_IN_SITES_GLOBAL_PLACEMENT": {
3636
"type": "int",
3737
"minmax": [
38-
1,
39-
5
38+
0,
39+
3
4040
],
4141
"step": 1
4242
},
4343
"CELL_PAD_IN_SITES_DETAIL_PLACEMENT": {
4444
"type": "int",
4545
"minmax": [
46-
1,
47-
5
46+
0,
47+
3
4848
],
4949
"step": 1
5050
},
@@ -60,7 +60,7 @@
6060
"type": "float",
6161
"minmax": [
6262
0.0,
63-
0.99
63+
0.2
6464
],
6565
"step": 0
6666
},

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

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

99
export ABC_AREA = 1
1010

11-
export CORE_UTILIZATION = 20
12-
export CORE_ASPECT_RATIO = 1
11+
export CORE_UTILIZATION = 27
12+
export CORE_ASPECT_RATIO = 0.867
1313
export CORE_MARGIN = 2
1414
export PLACE_DENSITY = 0.65
1515

@@ -29,4 +29,11 @@ export PWR_NETS_VOLTAGES =
2929
# The macros are very small so use a smaller halo
3030
export MACRO_PLACE_HALO ?= 5 5
3131

32-
export ROUTING_LAYER_ADJUSTMENT = 0.3
32+
export ROUTING_LAYER_ADJUSTMENT = 0.23
33+
34+
# Parameters from AutoTuner runs
35+
export CELL_PAD_IN_SITES_GLOBAL_PLACEMENT = 2
36+
export CELL_PAD_IN_SITES_DETAIL_PLACEMENT = 1
37+
export CTS_CLUSTER_SIZE = 155
38+
export CTS_CLUSTER_DIAMETER = 248
39+
export PLACE_DENSITY_LB_ADDON = 0.14

flow/designs/asap7/aes-block/constraint.sdc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
set clk_name clk
22
set clk_port_name clk
3-
set clk_period 400
3+
set clk_period 475
44
set clk_io_pct 0.2
55

66
set clk_port [get_ports $clk_port_name]

0 commit comments

Comments
 (0)