Skip to content

Commit a59f17e

Browse files
committed
Merge remote-tracking branch 'origin/master' into WIP/dnltz/i2c-gpio-expander
Signed-off-by: Matt Liberty <[email protected]>
2 parents 68c6382 + 9e7df40 commit a59f17e

Some content is hidden

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

64 files changed

+52894
-2896
lines changed

flow/Makefile

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

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

@@ -455,13 +452,6 @@ memory:
455452

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

467457
$(SDC_FILE_CLOCK_PERIOD): $(SDC_FILE)
@@ -488,7 +478,7 @@ $(RESULTS_DIR)/1_synth.rtlil: $(YOSYS_DEPENDENCIES)
488478
$(UNSET_AND_MAKE) do-yosys-canonicalize
489479

490480
$(RESULTS_DIR)/1_1_yosys.v: $(RESULTS_DIR)/1_synth.rtlil
491-
$(UNSET_AND_MAKE) do-yosys-stats do-yosys
481+
$(UNSET_AND_MAKE) do-yosys
492482

493483
.PHONY: do-synth
494484
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)