Skip to content

Commit 842797f

Browse files
committed
merge master
Signed-off-by: LucasYuki <[email protected]>
2 parents a7fb69e + 66e441c commit 842797f

File tree

17 files changed

+53
-23
lines changed

17 files changed

+53
-23
lines changed

build_openroad.sh

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@ Options:
4949
-l, --latest Use the head of branch --or_branch or 'master'
5050
by default for tools/OpenROAD.
5151
52+
-s, --skip_openroad Skip building and all git operations on OpenROAD.
53+
5254
--or_branch BRANCH_NAME Use the head of branch BRANCH for tools/OpenROAD.
5355
5456
--or_repo REPO_URL Use a fork at REPO-URL (https/ssh) for tools/OpenROAD.
@@ -107,6 +109,9 @@ while (( "$#" )); do
107109
-l|--latest)
108110
USE_OPENROAD_APP_LATEST=1
109111
;;
112+
-s|--skip_openroad)
113+
SKIP_OPENROAD=1
114+
;;
110115
--or_branch)
111116
OPENROAD_APP_BRANCH="$2"
112117
shift
@@ -237,9 +242,11 @@ __local_build()
237242
set -u
238243
fi
239244

240-
echo "[INFO FLW-0018] Compiling OpenROAD."
241-
eval ${NICE} ./tools/OpenROAD/etc/Build.sh -dir="$DIR/tools/OpenROAD/build" -threads=${PROC} -cmake=\'${OPENROAD_APP_ARGS}\'
242-
${NICE} cmake --build tools/OpenROAD/build --target install -j "${PROC}"
245+
if [ -z "${SKIP_OPENROAD+x}" ]; then
246+
echo "[INFO FLW-0018] Compiling OpenROAD."
247+
eval ${NICE} ./tools/OpenROAD/etc/Build.sh -dir="$DIR/tools/OpenROAD/build" -threads=${PROC} -cmake=\'${OPENROAD_APP_ARGS}\'
248+
${NICE} cmake --build tools/OpenROAD/build --target install -j "${PROC}"
249+
fi
243250

244251
YOSYS_ABC_PATH=tools/yosys/abc
245252
if [[ -d "${YOSYS_ABC_PATH}/.git" ]]; then
@@ -303,7 +310,7 @@ __common_setup()
303310
__change_openroad_app_remote
304311
fi
305312

306-
if [ ! -z "${USE_OPENROAD_APP_LATEST+x}" ] || [ "${OPENROAD_APP_BRANCH}" != "master" ]; then
313+
if [ -z "${SKIP_OPENROAD+x}" ] && ( [ ! -z "${USE_OPENROAD_APP_LATEST+x}" ] || [ "${OPENROAD_APP_BRANCH}" != "master" ] ) ; then
307314
echo -n "[INFO FLW-0004] Updating OpenROAD app to the HEAD"
308315
echo " of ${OPENROAD_APP_REMOTE}/${OPENROAD_APP_BRANCH}."
309316
__update_openroad_app_latest

docs/user/FlowVariables.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,7 @@ configuration file.
216216
| <a name="SETUP_REPAIR_SEQUENCE"></a>SETUP_REPAIR_SEQUENCE| Specifies the sequence of moves to do in repair_timing -setup. This should be a string of move keywords separated by commas such as the default when not used: "unbuffer,sizedown,sizeup,swap,buffer,clone,split".| |
217217
| <a name="SETUP_SLACK_MARGIN"></a>SETUP_SLACK_MARGIN| Specifies a time margin for the slack when fixing setup violations. This option allows you to overfix or underfix(negative value, terminate retiming before 0 or positive slack). See HOLD_SLACK_MARGIN for more details.| 0|
218218
| <a name="SET_RC_TCL"></a>SET_RC_TCL| Metal & Via RC definition file path.| |
219+
| <a name="SKIP_CRIT_VT_SWAP"></a>SKIP_CRIT_VT_SWAP| Do not perform VT swap on critical cells to improve QoR (default: do critical VT swap). This is an additional VT swap on critical cells that remain near the end of setup fixing. If SKIP_VT_SWAP is set to 1, this also disables critical cell VT swap.| |
219220
| <a name="SKIP_CTS_REPAIR_TIMING"></a>SKIP_CTS_REPAIR_TIMING| Skipping CTS repair, which can take a long time, can be useful in architectural exploration or when getting CI up and running.| |
220221
| <a name="SKIP_DETAILED_ROUTE"></a>SKIP_DETAILED_ROUTE| Skips detailed route.| 0|
221222
| <a name="SKIP_GATE_CLONING"></a>SKIP_GATE_CLONING| Do not use gate cloning transform to fix timing violations (default: use gate cloning).| |
@@ -335,6 +336,7 @@ configuration file.
335336
- [RTLMP_WIRELENGTH_WT](#RTLMP_WIRELENGTH_WT)
336337
- [SETUP_REPAIR_SEQUENCE](#SETUP_REPAIR_SEQUENCE)
337338
- [SETUP_SLACK_MARGIN](#SETUP_SLACK_MARGIN)
339+
- [SKIP_CRIT_VT_SWAP](#SKIP_CRIT_VT_SWAP)
338340
- [SKIP_GATE_CLONING](#SKIP_GATE_CLONING)
339341
- [SKIP_LAST_GASP](#SKIP_LAST_GASP)
340342
- [SKIP_PIN_SWAP](#SKIP_PIN_SWAP)
@@ -385,6 +387,7 @@ configuration file.
385387
- [REPORT_CLOCK_SKEW](#REPORT_CLOCK_SKEW)
386388
- [SETUP_REPAIR_SEQUENCE](#SETUP_REPAIR_SEQUENCE)
387389
- [SETUP_SLACK_MARGIN](#SETUP_SLACK_MARGIN)
390+
- [SKIP_CRIT_VT_SWAP](#SKIP_CRIT_VT_SWAP)
388391
- [SKIP_CTS_REPAIR_TIMING](#SKIP_CTS_REPAIR_TIMING)
389392
- [SKIP_GATE_CLONING](#SKIP_GATE_CLONING)
390393
- [SKIP_LAST_GASP](#SKIP_LAST_GASP)
@@ -407,6 +410,7 @@ configuration file.
407410
- [ROUTING_LAYER_ADJUSTMENT](#ROUTING_LAYER_ADJUSTMENT)
408411
- [SETUP_REPAIR_SEQUENCE](#SETUP_REPAIR_SEQUENCE)
409412
- [SETUP_SLACK_MARGIN](#SETUP_SLACK_MARGIN)
413+
- [SKIP_CRIT_VT_SWAP](#SKIP_CRIT_VT_SWAP)
410414
- [SKIP_GATE_CLONING](#SKIP_GATE_CLONING)
411415
- [SKIP_INCREMENTAL_REPAIR](#SKIP_INCREMENTAL_REPAIR)
412416
- [SKIP_LAST_GASP](#SKIP_LAST_GASP)

flow/designs/asap7/aes-block/rules-base.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"compare": "<="
2525
},
2626
"cts__design__instance__count__hold_buffer": {
27-
"value": 1063,
27+
"value": 1367,
2828
"compare": "<="
2929
},
3030
"globalroute__antenna_diodes_count": {
@@ -48,7 +48,7 @@
4848
"compare": "<="
4949
},
5050
"finish__timing__setup__ws": {
51-
"value": -67.71,
51+
"value": -65.46,
5252
"compare": ">="
5353
},
5454
"finish__design__instance__area": {

flow/designs/asap7/cva6/config.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ export PLACE_DENSITY = 0.69
9595

9696
# a smoketest for this option, there are a
9797
# few last gasp iterations
98-
export SKIP_LAST_GASP ?= 1
98+
#export SKIP_LAST_GASP ?= 1
9999

100100
# For use with SYNTH_HIERARCHICAL
101101
export SYNTH_MINIMUM_KEEP_SIZE ?= 40000

flow/designs/asap7/cva6/constraint.sdc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,4 @@ create_clock [get_ports $clk_port] -name $clk_name -period $clk_period
3434

3535

3636
set_false_path -to [get_ports {rvfi_probes_o}]
37+
set_max_fanout 10 [current_design]

flow/designs/asap7/mock-array/power.tcl

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,14 @@ foreach pin $pins {
3939
if { $activity_origin != "vcd" } {
4040
continue
4141
}
42+
set duty [lindex $activity 1]
43+
if { $duty > 1.0 } { # this generates an sta error
44+
set duty 1.0
45+
}
4246
puts $fp "set_power_activity \
4347
-pin \[get_pins \{[get_property $pin full_name]\}\] \
4448
-activity [expr [lindex $activity 0] * $clock_period] \
45-
-duty [lindex $activity 1]"
49+
-duty $duty"
4650
}
4751
close $fp
4852

flow/designs/asap7/swerv_wrapper/rules-base.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"compare": "<="
3333
},
3434
"detailedroute__route__wirelength": {
35-
"value": 1631316,
35+
"value": 1610613,
3636
"compare": "<="
3737
},
3838
"detailedroute__route__drc_errors": {
@@ -48,7 +48,7 @@
4848
"compare": "<="
4949
},
5050
"finish__timing__setup__ws": {
51-
"value": -458.69,
51+
"value": -576.22,
5252
"compare": ">="
5353
},
5454
"finish__design__instance__area": {

flow/designs/gf12/ca53/config.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ export MACRO_PLACE_HALO = 7 7
5555
export MACRO_WRAPPERS = $(DESIGN_DIR)/wrappers.tcl
5656

5757
# Temporarily disable NDR for clock nets
58-
export CTS_ARGS = -sink_clustering_enable -balance_levels -repair_clock_nets -distance_between_buffers 100 -apply_ndr none
58+
export CTS_ARGS = -sink_clustering_enable -repair_clock_nets -distance_between_buffers 100 -apply_ndr none
5959

6060
#export MAX_ROUTING_LAYER = H2
6161
export FASTROUTE_TCL = $(DESIGN_DIR)/fastroute.tcl

flow/designs/nangate45/bp_fe_top/rules-base.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
"compare": "<="
6161
},
6262
"finish__timing__drv__hold_violation_count": {
63-
"value": 100,
63+
"value": 246,
6464
"compare": "<="
6565
},
6666
"finish__timing__wns_percent_delay": {

flow/designs/rapidus2hp/hercules_is_int/rules-base.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"compare": "<="
3333
},
3434
"finish__timing__setup__ws": {
35-
"value": -476.31,
35+
"value": -510.05,
3636
"compare": ">="
3737
},
3838
"finish__design__instance__area": {

0 commit comments

Comments
 (0)