Skip to content

Commit 570d99e

Browse files
committed
Merge remote-tracking branch 'origin/master' into mock-array-multiple-metal-layers-pins
2 parents c1dc39c + edcd265 commit 570d99e

File tree

57 files changed

+673
-1616
lines changed

Some content is hidden

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

57 files changed

+673
-1616
lines changed

docs/user/InstructionsForAutoTuner.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@ We have provided two convenience scripts, `./install.sh` and `./setup.sh`
2727
that works in Python3.8 for installation and configuration of AutoTuner,
2828
as shown below:
2929

30+
```{note}
31+
Make sure you run the following commands in `./tools/AutoTuner/src/autotuner`.
32+
```
33+
3034
```shell
3135
# Install prerequisites
3236
./tools/AutoTuner/install.sh
@@ -127,8 +131,8 @@ Example:
127131

128132
```shell
129133
python3 distributed.py --design gcd --platform sky130hd \
130-
--config ../designs/sky130hd/gcd/autotuner.json \
131-
tune
134+
--config ../../../../flow/designs/sky130hd/gcd/autotuner.json \
135+
tune --samples 5
132136
```
133137
#### Sweep only
134138

flow/Makefile

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -218,11 +218,6 @@ export OBJECTS_DIR = $(WORK_HOME)/objects/$(PLATFORM)/$(DESIGN_NICKNAME)/$(FLOW_
218218
export REPORTS_DIR = $(WORK_HOME)/reports/$(PLATFORM)/$(DESIGN_NICKNAME)/$(FLOW_VARIANT)
219219
export RESULTS_DIR = $(WORK_HOME)/results/$(PLATFORM)/$(DESIGN_NICKNAME)/$(FLOW_VARIANT)
220220

221-
# BLOCKS is ORFS specific and is used to trigger hierarchical flow,
222-
# MACROS is a space separated list of macros used in the design,
223-
# but not necessarily built by ORFS using the BLOCKS mechanism.
224-
export MACROS ?= $(BLOCKS)
225-
226221
ifneq ($(BLOCKS),)
227222
$(foreach block,$(BLOCKS),$(eval BLOCK_LEFS += ./results/$(PLATFORM)/$(DESIGN_NICKNAME)_$(block)/$(FLOW_VARIANT)/${block}.lef))
228223
$(foreach block,$(BLOCKS),$(eval BLOCK_LIBS += ./results/$(PLATFORM)/$(DESIGN_NICKNAME)_$(block)/$(FLOW_VARIANT)/${block}.lib))
@@ -623,7 +618,7 @@ do-$(1): $(OBJECTS_DIR)/copyright.txt
623618
@echo Running $(3).tcl, stage $(1)
624619
@(set -eo pipefail; \
625620
trap 'mv $(LOG_DIR)/$(1).tmp.log $(LOG_DIR)/$(1).log' EXIT; \
626-
$(OPENROAD_EXE) -exit -no_init $(SCRIPTS_DIR)/noop.tcl 2>&1 >$(LOG_DIR)/$(1).tmp.log; \
621+
$(OPENROAD_EXE) $(OPENROAD_ARGS) -exit $(SCRIPTS_DIR)/noop.tcl 2>&1 >$(LOG_DIR)/$(1).tmp.log; \
627622
$(TIME_CMD) $(OPENROAD_CMD) -no_splash $(SCRIPTS_DIR)/$(3).tcl -metrics $(LOG_DIR)/$(1).json 2>&1 | \
628623
tee -a $(abspath $(LOG_DIR)/$(1).tmp.log))
629624
endef

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,3 @@ export CORE_MARGIN = 2
1111
export PLACE_DENSITY = 0.70
1212

1313
export PLACE_PINS_ARGS = -annealing
14-
export HAS_IO_CONSTRAINTS = 0

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,8 @@ export PLACE_DENSITY = 0.65
1515

1616
export BLOCKS ?= aes_rcon aes_sbox
1717
export SYNTH_HIERARCHICAL = 1
18-
export RTLMP_FLOW = 1
1918

2019
export PLACE_PINS_ARGS = -annealing
21-
export HAS_IO_CONSTRAINTS = 0
2220

2321
# Generous routing at top level
2422
export MIN_ROUTING_LAYER = M2

flow/designs/asap7/mock-array/Element/config.mk

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,10 @@ export IO_CONSTRAINTS = designs/asap7/mock-array/Element/io.tcl
2626

2727
export PDN_TCL = $(FLOW_HOME)/platforms/asap7/openRoad/pdn/BLOCK_grid_strategy.tcl
2828

29-
# If this design isn't quickly done in detailed routing, something is wrong.
30-
# At time of adding this option, only 3 iterations were needed for 0
31-
# violations.
32-
export DETAILED_ROUTE_END_ITERATION = 10
29+
# Detailed routing should be easy, limit iterations
30+
export DETAILED_ROUTE_END_ITERATION = 6
3331

34-
# since we are specifying DETAILED_ROUTE_ARGS, we need to communicate the
35-
# same information to other stages in the flow.
32+
export MIN_ROUTING_LAYER = M2
3633
export MAX_ROUTING_LAYER = M7
3734

3835
export IO_PLACER_H=M4 M6

flow/designs/asap7/mock-array/config.mk

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,8 @@ simulate:
5656
power:
5757
$(OPENSTA_EXE) -no_init -exit designs/asap7/mock-array/power.tcl
5858

59-
# If this design isn't quickly done in detailed routing, something is wrong.
60-
# At time of adding this option, only 12 iterations were needed for 0
61-
# violations.
62-
export DETAILED_ROUTE_END_ITERATION = 15
59+
# Routing by abutment should be easy, limit iterations
60+
export DETAILED_ROUTE_END_ITERATION = 6
6361

6462
export MAX_ROUTING_LAYER = M9
6563
export ROUTING_LAYER_ADJUSTMENT = 0.45

flow/designs/asap7/riscv32i/config.mk

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ export DESIGN_NAME = riscv_top
33
export PLATFORM = asap7
44

55
export SYNTH_HIERARCHICAL = 1
6-
export RTLMP_FLOW = 1
76

87
export RTLMP_MIN_INST = 1000
98
export RTLMP_MAX_INST = 3500

flow/designs/asap7/swerv_wrapper/config.mk

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ export DESIGN_NAME = swerv_wrapper
22
export PLATFORM = asap7
33

44
export SYNTH_HIERARCHICAL = 1
5-
export RTLMP_FLOW = 1
65
# RTL_MP Settings
76
export RTLMP_MAX_INST = 30000
87
export RTLMP_MIN_INST = 5000

flow/designs/gf12/ariane/config.mk

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ export PLATFORM = gf12
33

44
export SYNTH_HIERARCHICAL = 1
55
export MAX_UNGROUP_SIZE ?= 10000
6-
export RTLMP_FLOW = 1
76
#
87

98
export VERILOG_FILES = ./designs/src/$(DESIGN_NAME)/ariane.sv2v.v \

flow/designs/gf12/ariane133/config.mk

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ export PLATFORM = gf12
44

55
export SYNTH_HIERARCHICAL = 1
66
export MAX_UNGROUP_SIZE ?= 10000
7-
export RTLMP_FLOW = 1
87
#
98
# RTL_MP Settings
109

0 commit comments

Comments
 (0)