Skip to content

Commit 2991bca

Browse files
committed
Merge remote-tracking branch 'origin/master' into HEAD
2 parents f27fe9b + b627bd4 commit 2991bca

7 files changed

Lines changed: 32 additions & 122 deletions

File tree

‎README.md‎

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,17 @@ timeline
4646

4747
## Tool Installation
4848

49-
There are different ways to install and develop OpenROAD and ORFS, which is the best fit depends use-case, experience and personal taste.
49+
There are multiple ways to install and develop OpenROAD and ORFS. However, the best option depends on your use case, experience level, and personal preference.
50+
51+
52+
> **Recommendation for new users:**
53+
> If you are new to OpenROAD-flow-scripts, Docker can be a reliable way to get started since it avoids most dependency and environment issues.
54+
>
55+
> On supported platforms, using the pre-built binaries can be an even simpler option as it avoids building from source.
56+
>
57+
> Alternatively, the Bazel-based flow also avoids manual dependency installation (aside from installing Bazelisk itself), similar to how Docker requires installing Docker.
58+
59+
5060

5161
### Use Bazel, avoid installing anything at all and adapt the flow to your needs in your own repository
5262

‎docs/user/FlowVariables.md‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,6 @@ configuration file.
200200
| <a name="RTLMP_AREA_WT"></a>RTLMP_AREA_WT| Weight for the area of the current floorplan.| 0.1|
201201
| <a name="RTLMP_ARGS"></a>RTLMP_ARGS| Overrides all other RTL macro placer arguments.| |
202202
| <a name="RTLMP_BOUNDARY_WT"></a>RTLMP_BOUNDARY_WT| Weight for the boundary or how far the hard macro clusters are from boundaries.| 50.0|
203-
| <a name="RTLMP_DEAD_SPACE"></a>RTLMP_DEAD_SPACE| Specifies the target dead space percentage, which influences the utilization of a cluster.| 0.05|
204203
| <a name="RTLMP_FENCE_LX"></a>RTLMP_FENCE_LX| Defines the lower left X coordinate for the global fence bounding box in microns.| 0.0|
205204
| <a name="RTLMP_FENCE_LY"></a>RTLMP_FENCE_LY| Defines the lower left Y coordinate for the global fence bounding box in microns.| 0.0|
206205
| <a name="RTLMP_FENCE_UX"></a>RTLMP_FENCE_UX| Defines the upper right X coordinate for the global fence bounding box in microns.| 0.0|
@@ -241,7 +240,7 @@ configuration file.
241240
| <a name="SLEW_MARGIN"></a>SLEW_MARGIN| Specifies a slew margin when fixing max slew violations. This option allows you to overfix.| |
242241
| <a name="SWAP_ARITH_OPERATORS"></a>SWAP_ARITH_OPERATORS| Improve timing QoR by swapping ALU and MULT arithmetic operators.| |
243242
| <a name="SYNTH_ARGS"></a>SYNTH_ARGS| Optional synthesis variables for yosys.| |
244-
| <a name="SYNTH_BLACKBOXES"></a>SYNTH_BLACKBOXES| List of cells treated as a black box by Yosys. With Bazel, this can be used to run synthesis in parallel for the large modules of the design.| |
243+
| <a name="SYNTH_BLACKBOXES"></a>SYNTH_BLACKBOXES| List of cells treated as a black box by Yosys. With Bazel, this can be used to run synthesis in parallel for the large modules of the design. Non-existant modules are ignored silently, useful when listing modules statically, even if modules come and go dynamically.| |
245244
| <a name="SYNTH_CANONICALIZE_TCL"></a>SYNTH_CANONICALIZE_TCL| Specifies a Tcl script with commands to run as part of the synth canonicalize step.| |
246245
| <a name="SYNTH_GUT"></a>SYNTH_GUT| Load design and remove all internal logic before doing synthesis. This is useful when creating a mock .lef abstract that has a smaller area than the amount of logic would allow. bazel-orfs uses this to mock SRAMs, for instance.| 0|
247246
| <a name="SYNTH_HDL_FRONTEND"></a>SYNTH_HDL_FRONTEND| Select an alternative language frontend to ingest the design. Available option is "slang". If the variable is empty, design is read with the Yosys read_verilog command.| |
@@ -343,7 +342,6 @@ configuration file.
343342
- [RTLMP_AREA_WT](#RTLMP_AREA_WT)
344343
- [RTLMP_ARGS](#RTLMP_ARGS)
345344
- [RTLMP_BOUNDARY_WT](#RTLMP_BOUNDARY_WT)
346-
- [RTLMP_DEAD_SPACE](#RTLMP_DEAD_SPACE)
347345
- [RTLMP_FENCE_LX](#RTLMP_FENCE_LX)
348346
- [RTLMP_FENCE_LY](#RTLMP_FENCE_LY)
349347
- [RTLMP_FENCE_UX](#RTLMP_FENCE_UX)

‎flow/designs/asap7/uart/config.mk‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ export DESIGN_NAME = uart
55

66
export VERILOG_FILES = $(sort $(wildcard $(DESIGN_HOME)/src/$(DESIGN_NICKNAME)/*.v))
77
export SDC_FILE = $(DESIGN_HOME)/$(PLATFORM)/$(DESIGN_NICKNAME)/constraint.sdc
8+
# Smoke test for the option; doesn't do anything as the named
9+
# module does not exist
10+
export SYNTH_BLACKBOXES = dummy
811

912
export PLACE_DENSITY = 0.70
1013
export DIE_AREA = 0 0 17 17

‎flow/designs/rapidus2hp/ethmac/rules-verific.json‎

Lines changed: 6 additions & 101 deletions
Original file line numberDiff line numberDiff line change
@@ -1,99 +1,4 @@
11
{
2-
"cts__flow__warnings__count:RSZ-0062": {
3-
"value": 1,
4-
"compare": "<=",
5-
"level": "warning"
6-
},
7-
"cts__flow__warnings__count:STA-0122": {
8-
"value": 27,
9-
"compare": "<=",
10-
"level": "warning"
11-
},
12-
"finish__flow__warnings__count:GUI-0076": {
13-
"value": 2,
14-
"compare": "<=",
15-
"level": "warning"
16-
},
17-
"floorplan__flow__warnings__count:EST-0027": {
18-
"value": 1,
19-
"compare": "<=",
20-
"level": "warning"
21-
},
22-
"floorplan__flow__warnings__count:IFP-0028": {
23-
"value": 1,
24-
"compare": "<=",
25-
"level": "warning"
26-
},
27-
"floorplan__flow__warnings__count:RSZ-0062": {
28-
"value": 1,
29-
"compare": "<=",
30-
"level": "warning"
31-
},
32-
"floorplan__flow__warnings__count:RSZ-0075": {
33-
"value": 1001,
34-
"compare": "<=",
35-
"level": "warning"
36-
},
37-
"flow__warnings__count:GPL-0302": {
38-
"value": 1,
39-
"compare": "<=",
40-
"level": "warning"
41-
},
42-
"globalplace__flow__warnings__count:GPL-0302": {
43-
"value": 1,
44-
"compare": "<=",
45-
"level": "warning"
46-
},
47-
"globalplace__flow__warnings__count:GRT-0281": {
48-
"value": 1,
49-
"compare": "<=",
50-
"level": "warning"
51-
},
52-
"globalplace__flow__warnings__count:STA-0122": {
53-
"value": 27,
54-
"compare": "<=",
55-
"level": "warning"
56-
},
57-
"globalroute__flow__warnings__count:DRT-0240": {
58-
"value": 1,
59-
"compare": "<=",
60-
"level": "warning"
61-
},
62-
"globalroute__flow__warnings__count:DRT-0263": {
63-
"value": 7,
64-
"compare": "<=",
65-
"level": "warning"
66-
},
67-
"globalroute__flow__warnings__count:DRT-0349": {
68-
"value": 10,
69-
"compare": "<=",
70-
"level": "warning"
71-
},
72-
"globalroute__flow__warnings__count:FLW-0010": {
73-
"value": 1,
74-
"compare": "<=",
75-
"level": "warning"
76-
},
77-
"globalroute__flow__warnings__count:GRT-0246": {
78-
"value": 1,
79-
"compare": "<=",
80-
"level": "warning"
81-
},
82-
"globalroute__flow__warnings__count:RSZ-0062": {
83-
"value": 1,
84-
"compare": "<=",
85-
"level": "warning"
86-
},
87-
"globalroute__flow__warnings__count:STA-0122": {
88-
"value": 27,
89-
"compare": "<=",
90-
"level": "warning"
91-
},
92-
"placeopt__flow__warnings__count:STA-0122": {
93-
"value": 27,
94-
"compare": "<=",
95-
"level": "warning"
96-
},
972
"synth__design__instance__area__stdcell": {
983
"value": 3290.0,
994
"compare": "<="
@@ -123,11 +28,11 @@
12328
"compare": "<="
12429
},
12530
"cts__timing__setup__ws": {
126-
"value": -42.0,
31+
"value": -34.4,
12732
"compare": ">="
12833
},
12934
"cts__timing__setup__tns": {
130-
"value": -747.0,
35+
"value": -612.0,
13136
"compare": ">="
13237
},
13338
"cts__timing__hold__ws": {
@@ -143,11 +48,11 @@
14348
"compare": "<="
14449
},
14550
"globalroute__timing__setup__ws": {
146-
"value": -61.3,
51+
"value": -56.6,
14752
"compare": ">="
14853
},
14954
"globalroute__timing__setup__tns": {
150-
"value": -1530.0,
55+
"value": -1610.0,
15156
"compare": ">="
15257
},
15358
"globalroute__timing__hold__ws": {
@@ -159,11 +64,11 @@
15964
"compare": ">="
16065
},
16166
"finish__timing__setup__ws": {
162-
"value": -61.3,
67+
"value": -56.6,
16368
"compare": ">="
16469
},
16570
"finish__timing__setup__tns": {
166-
"value": -1530.0,
71+
"value": -1610.0,
16772
"compare": ">="
16873
},
16974
"finish__timing__hold__ws": {

‎flow/scripts/macro_place_util.tcl‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ if { [find_macros] != "" } {
5252
append_env_var additional_rtlmp_args RTLMP_OUTLINE_WT -outline_weight 1
5353
append_env_var additional_rtlmp_args RTLMP_BOUNDARY_WT -boundary_weight 1
5454
append_env_var additional_rtlmp_args RTLMP_NOTCH_WT -notch_weight 1
55-
append_env_var additional_rtlmp_args RTLMP_DEAD_SPACE -target_dead_space 1
5655
append_env_var additional_rtlmp_args RTLMP_RPT_DIR -report_directory 1
5756
append_env_var additional_rtlmp_args RTLMP_FENCE_LX -fence_lx 1
5857
append_env_var additional_rtlmp_args RTLMP_FENCE_LY -fence_ly 1

‎flow/scripts/synth_wrap_operators.tcl‎

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,19 @@
11
# Set arithmetic operator modules. Default is the first module in the list.
2-
set deferred_cells {
2+
set deferred_cells [list \
33
{
44
\$alu
55
ALU_{A_WIDTH}_{A_SIGNED}_{B_WIDTH}_{B_SIGNED}_{Y_WIDTH}{%unused}
66
{HAN_CARLSON -map +/choices/han-carlson.v}
77
{KOGGE_STONE -map +/choices/kogge-stone.v}
88
{SKLANSKY -map +/choices/sklansky.v}
99
{BRENT_KUNG}
10-
}
11-
{
12-
\$macc
13-
MACC_{CONFIG}_{Y_WIDTH}{%unused}
14-
{BOOTH -max_iter 1 -map ../flow/scripts/synth_wrap_operators-booth.v}
15-
{BASE -map +/choices/han-carlson.v}
16-
}
17-
}
10+
} \
11+
[list \
12+
\$macc \
13+
MACC_\{CONFIG\}_\{Y_WIDTH\}\{%unused\} \
14+
[list BOOTH -max_iter 1 -map $::env(SCRIPTS_DIR)/synth_wrap_operators-booth.v] \
15+
{BASE -map +/choices/han-carlson.v}]]
16+
1817

1918
# Reorder the modules based on envar
2019
proc reorder_deferred_cells { deferred_cells_var index env_var } {

‎flow/scripts/variables.yaml‎

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -255,6 +255,9 @@ SYNTH_BLACKBOXES:
255255
description: >
256256
List of cells treated as a black box by Yosys. With Bazel, this can be used
257257
to run synthesis in parallel for the large modules of the design.
258+
259+
Non-existant modules are ignored silently, useful when listing modules
260+
statically, even if modules come and go dynamically.
258261
stages:
259262
- synth
260263
SYNTH_NETLIST_FILES:
@@ -1077,13 +1080,6 @@ RTLMP_NOTCH_WT:
10771080
default: 10.0
10781081
stages:
10791082
- floorplan
1080-
RTLMP_DEAD_SPACE:
1081-
description: >
1082-
Specifies the target dead space percentage, which influences the
1083-
utilization of a cluster.
1084-
default: 0.05
1085-
stages:
1086-
- floorplan
10871083
RTLMP_RPT_DIR:
10881084
description: >
10891085
Path to the directory where reports are saved.

0 commit comments

Comments
 (0)