Skip to content

Commit 380d2f6

Browse files
committed
Merge branch 'master' into secure-yosys0.49
Signed-off-by: Eder Monteiro <[email protected]>
2 parents 4dea5a5 + d846560 commit 380d2f6

File tree

49 files changed

+1257
-1222
lines changed

Some content is hidden

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

49 files changed

+1257
-1222
lines changed

docs/user/FlowVariables.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,6 @@ configuration file.
116116
| <a name="MACRO_HALO_Y"></a>MACRO_HALO_Y| Set macro halo for y-direction. Only available for ASAP7 PDK.| | |
117117
| <a name="MACRO_PLACEMENT"></a>MACRO_PLACEMENT| Specifies the path of a file on how to place certain macros manually using read_macro_placement.| | |
118118
| <a name="MACRO_PLACEMENT_TCL"></a>MACRO_PLACEMENT_TCL| Specifies the path of a TCL file on how to place certain macros manually.| | |
119-
| <a name="MACRO_PLACE_CHANNEL"></a>MACRO_PLACE_CHANNEL| Horizontal/vertical channel width between macros (microns). Used by automatic macro placement. Imagine channel=10 and halo=5. Then macros must be 10 apart but standard cells must be 5 away from a macro.| | |
120119
| <a name="MACRO_PLACE_HALO"></a>MACRO_PLACE_HALO| Horizontal/vertical halo around macros (microns). Used by automatic macro placement.| | |
121120
| <a name="MACRO_WRAPPERS"></a>MACRO_WRAPPERS| The wrapper file that replaces existing macros with their wrapped version.| | |
122121
| <a name="MAKE_TRACKS"></a>MAKE_TRACKS| Tcl file that defines add routing tracks to a floorplan.| | |
@@ -230,7 +229,6 @@ configuration file.
230229
- [MACRO_HALO_Y](#MACRO_HALO_Y)
231230
- [MACRO_PLACEMENT](#MACRO_PLACEMENT)
232231
- [MACRO_PLACEMENT_TCL](#MACRO_PLACEMENT_TCL)
233-
- [MACRO_PLACE_CHANNEL](#MACRO_PLACE_CHANNEL)
234232
- [MACRO_PLACE_HALO](#MACRO_PLACE_HALO)
235233
- [MACRO_WRAPPERS](#MACRO_WRAPPERS)
236234
- [MAKE_TRACKS](#MAKE_TRACKS)

docs/user/InstructionsForAutoTuner.md

Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,6 @@ We have provided two convenience scripts, `./installer.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 the ORFS root directory.
32-
```
33-
3430
```shell
3531
# Install prerequisites
3632
./tools/AutoTuner/installer.sh
@@ -104,7 +100,7 @@ For Global Routing parameters that are set on `fastroute.tcl` you can use:
104100

105101
### General Information
106102

107-
The `distributed.py` script located in `./tools/AutoTuner/src/autotuner` uses [Ray's](https://docs.ray.io/en/latest/index.html) job scheduling and management to
103+
The `autotuner.distributed` module uses [Ray's](https://docs.ray.io/en/latest/index.html) job scheduling and management to
108104
fully utilize available hardware resources from a single server
109105
configuration, on-premise or over the cloud with multiple CPUs.
110106

@@ -115,35 +111,37 @@ The two modes of operation:
115111
The `sweep` mode is useful when we want to isolate or test a single or very few
116112
parameters. On the other hand, `tune` is more suitable for finding
117113
the best combination of a complex and large number of flow
118-
parameters. Both modes rely on user-specified search space that is
119-
defined by a `.json` file, they use the same syntax and format,
120-
though some features may not be available for sweeping.
114+
parameters.
121115

122116
```{note}
123117
The order of the parameters matter. Arguments `--design`, `--platform` and
124118
`--config` are always required and should precede *mode*.
125119
```
126120

121+
```{note}
122+
The following commands should be run from `./tools/AutoTuner`.
123+
```
124+
127125
#### Tune only
128126

129-
* AutoTuner: `python3 distributed.py tune -h`
127+
* AutoTuner: `python3 -m autotuner.distributed tune -h`
130128

131129
Example:
132130

133131
```shell
134-
python3 distributed.py --design gcd --platform sky130hd \
135-
--config ../../../../flow/designs/sky130hd/gcd/autotuner.json \
132+
python3 -m autotuner.distributed --design gcd --platform sky130hd \
133+
--config ../../flow/designs/sky130hd/gcd/autotuner.json \
136134
tune --samples 5
137135
```
138136
#### Sweep only
139137

140-
* Parameter sweeping: `python3 distributed.py sweep -h`
138+
* Parameter sweeping: `python3 -m autotuner.distributed sweep -h`
141139

142140
Example:
143141

144142
```shell
145-
python3 distributed.py --design gcd --platform sky130hd \
146-
--config distributed-sweep-example.json \
143+
python3 -m autotuner.distributed --design gcd --platform sky130hd \
144+
--config src/autotuner/distributed-sweep-example.json \
147145
sweep
148146
```
149147

flow/designs/asap7/riscv32i/config.mk

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ export CORE_AREA = 5 5 75 85
2525
export PLACE_DENSITY_LB_ADDON = 0.10
2626

2727
export PLACE_PINS_ARGS = -exclude left:* -exclude right:* -exclude top:*
28-
export MACRO_PLACE_HALO = 1 1
29-
export MACRO_PLACE_CHANNEL = 6 6
30-
#
28+
export MACRO_PLACE_HALO = 2 2
29+
3130
export TNS_END_PERCENT = 100

flow/designs/gf12/ariane/config.mk

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,6 @@ export PLACE_DENSITY ?= 0.50
2525
export PLACE_PINS_ARGS = -exclude left:0-150 -exclude left:450-600 -exclude right:* -exclude top:* -exclude bottom:*
2626

2727
export MACRO_PLACE_HALO = 7 7
28-
export MACRO_PLACE_CHANNEL = 14 14
29-
3028
export MACRO_WRAPPERS = $(DESIGN_HOME)/$(PLATFORM)/$(DESIGN_NICKNAME)/wrappers.tcl
3129

3230
ifeq ($(USE_FILL),1)

flow/designs/gf12/ariane133/config.mk

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ export PLATFORM = gf12
44

55
export SYNTH_HIERARCHICAL = 1
66
export MAX_UNGROUP_SIZE ?= 10000
7-
#
8-
# RTL_MP Settings
97

108
export VERILOG_FILES = $(PLATFORM_DIR)/ariane133/ariane.v
119

@@ -22,7 +20,6 @@ export CORE_AREA = 5 5 895 745
2220
export PLACE_PINS_ARGS = -exclude left:0-200 -exclude left:500-700 -exclude right:* -exclude top:* -exclude bottom:*
2321

2422
export MACRO_PLACE_HALO = 7 7
25-
export MACRO_PLACE_CHANNEL = 14 14
2623

2724
export PLACE_DENSITY_LB_ADDON = 0.05
2825

flow/designs/gf12/bp_dual/config.mk

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,4 @@ export MACRO_WRAPPERS = $(PLATFORM_DIR)/bp/wrappers/wrappers.tcl
6565

6666
export PDN_TCL = $(PLATFORM_DIR)/cfg/pdn_grid_strategy_13m_9T.top.tcl
6767

68-
# Define macro halo and channel spacings
69-
export MACRO_PLACE_HALO = 7 7
70-
export MACRO_PLACE_CHANNEL = 14 14
68+
export MACRO_PLACE_HALO = 7 7

flow/designs/gf12/bp_quad/config.mk

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,4 @@ export MACRO_WRAPPERS = $(PLATFORM_DIR)/bp/wrappers/wrappers.tcl
4747

4848
export PDN_TCL = $(PLATFORM_DIR)/cfg/pdn_grid_strategy_13m_9T.top.tcl
4949

50-
# Define macro halo and channel spacings
5150
export MACRO_PLACE_HALO = 5 5
52-
export MACRO_PLACE_CHANNEL = 10 10

flow/designs/gf12/ca53/config.mk

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@ export PLACE_DENSITY_LB_ADDON = 0.05
5151
export PLACE_PINS_ARGS = -exclude left:0-600 -exclude left:1350-1400 -exclude right:* -exclude top:* -exclude bottom:*
5252

5353
export MACRO_PLACE_HALO = 7 7
54-
export MACRO_PLACE_CHANNEL = 14 14
5554

5655
export MACRO_WRAPPERS = $(dir $(DESIGN_CONFIG))/wrappers.tcl
5756

flow/designs/gf12/swerv_wrapper/config.mk

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ export PLACE_DENSITY_LB_ADDON = 0.05
3535
export MACRO_WRAPPERS = $(DESIGN_HOME)/$(PLATFORM)/$(DESIGN_NICKNAME)/wrappers.tcl
3636
#
3737
export MACRO_PLACE_HALO = 7 7
38-
export MACRO_PLACE_CHANNEL = 14 14
3938

4039
ifeq ($(USE_FILL),1)
4140
export DESIGN_TYPE = CELL

flow/designs/gf180/uart-blocks/config.mk

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ export CORE_AREA = 10 10 420 420
1515
export PLACE_PINS_ARGS = -exclude bottom:* -exclude top:* -exclude right:*
1616

1717
export MACRO_PLACE_HALO = 20 20
18-
export MACRO_PLACE_CHANNEL = 20 20
1918

2019
export PDN_TCL = $(DESIGN_HOME)/$(PLATFORM)/$(DESIGN_NICKNAME)/BLOCKS_grid_strategy.tcl
2120
export PLACE_DENSITY = 0.60

0 commit comments

Comments
 (0)