diff --git a/docs/user/FlowVariables.md b/docs/user/FlowVariables.md
index b8aa8f65e1..5d6652ba2e 100644
--- a/docs/user/FlowVariables.md
+++ b/docs/user/FlowVariables.md
@@ -137,7 +137,7 @@ configuration file.
| DPO_MAX_DISPLACEMENT| Specifies how far an instance can be moved when optimizing.| 5 1|
| EARLY_SIZING_CAP_RATIO| Ratio between the input pin capacitance and the output pin load during initial gate sizing.| |
| ENABLE_DPO| Enable detail placement with improve_placement feature.| 1|
-| EQUIVALENCE_CHECK| Enable running equivalence checks to verify logical correctness of repair_timing.| 0|
+| EQUIVALENCE_CHECK| Enable writing equivalence check files to verify logical correctness of repair_timing. Set RUN_EQY to actually run the eqy tool.| 0|
| FASTROUTE_TCL| Specifies a Tcl script with commands to run before FastRoute.| |
| FILL_CELLS| Fill cells are used to fill empty sites. If not set or empty, fill cell insertion is skipped.| |
| FILL_CONFIG| JSON rule file for metal fill during chip finishing.| |
@@ -253,6 +253,7 @@ configuration file.
| RTLMP_RPT_DIR| Path to the directory where reports are saved.| |
| RTLMP_WIRELENGTH_WT| Weight for half-perimiter wirelength.| 100.0|
| RULES_JSON| json files with the metrics baseline regression rules. In the ORFS Makefile, this defaults to $DESIGN_DIR/rules-base.json, but ORFS does not mandate the users source directory layout and this can be placed elsewhere when the user sets up an ORFS config.mk or from bazel-orfs.| |
+| RUN_EQY| Actually run the eqy equivalence checking tool. Requires EQUIVALENCE_CHECK to be enabled and eqy to be installed. Defaults to 1 when eqy is found in PATH.| |
| RUN_LOG_NAME_STEM| Stem of the log file name, the log file will be named `$(LOG_DIR)/$(RUN_LOG_NAME_STEM).log`.| run|
| RUN_SCRIPT| Path to script to run from `make run`, python or tcl script detected by .py or .tcl extension.| |
| SC_LEF| Path to technology standard cell LEF file.| |
@@ -489,6 +490,7 @@ configuration file.
- [PRE_CTS_TCL](#PRE_CTS_TCL)
- [REMOVE_CELLS_FOR_EQY](#REMOVE_CELLS_FOR_EQY)
- [REPORT_CLOCK_SKEW](#REPORT_CLOCK_SKEW)
+- [RUN_EQY](#RUN_EQY)
- [SETUP_REPAIR_SEQUENCE](#SETUP_REPAIR_SEQUENCE)
- [SETUP_SLACK_MARGIN](#SETUP_SLACK_MARGIN)
- [SKIP_CRIT_VT_SWAP](#SKIP_CRIT_VT_SWAP)
diff --git a/flow/scripts/cts.tcl b/flow/scripts/cts.tcl
index 05f65e8958..1a912c4cf8 100644
--- a/flow/scripts/cts.tcl
+++ b/flow/scripts/cts.tcl
@@ -68,7 +68,7 @@ if { !$::env(SKIP_CTS_REPAIR_TIMING) } {
repair_timing_helper
- if { $::env(EQUIVALENCE_CHECK) } {
+ if { $::env(EQUIVALENCE_CHECK) && $::env(RUN_EQY) } {
run_equivalence_test
}
if { $::env(LEC_CHECK) } {
diff --git a/flow/scripts/variables.mk b/flow/scripts/variables.mk
index d6f0712079..e921ef16a3 100644
--- a/flow/scripts/variables.mk
+++ b/flow/scripts/variables.mk
@@ -132,6 +132,10 @@ ifneq ($(shell command -v stdbuf),)
STDBUF_CMD ?= stdbuf -o L
endif
+ifneq ($(shell command -v eqy),)
+ export RUN_EQY ?= 1
+endif
+
#-------------------------------------------------------------------------------
WRAPPED_LEFS = $(foreach lef,$(notdir $(WRAP_LEFS)),$(OBJECTS_DIR)/lef/$(lef:.lef=_mod.lef))
WRAPPED_LIBS = $(foreach lib,$(notdir $(WRAP_LIBS)),$(OBJECTS_DIR)/$(lib:.lib=_mod.lib))
diff --git a/flow/scripts/variables.yaml b/flow/scripts/variables.yaml
index dcfe9d9a2a..a2478e11e7 100644
--- a/flow/scripts/variables.yaml
+++ b/flow/scripts/variables.yaml
@@ -86,11 +86,18 @@ DETAILED_METRICS:
- grt
EQUIVALENCE_CHECK:
description: >
- Enable running equivalence checks to verify logical correctness of
- repair_timing.
+ Enable writing equivalence check files to verify logical correctness of
+ repair_timing. Set RUN_EQY to actually run the eqy tool.
default: 0
stages:
- cts
+RUN_EQY:
+ description: >
+ Actually run the eqy equivalence checking tool. Requires EQUIVALENCE_CHECK
+ to be enabled and eqy to be installed. Defaults to 1 when eqy is found
+ in PATH.
+ stages:
+ - cts
CORE_UTILIZATION:
description: |
The core utilization percentage (0-100).
diff --git a/tools/OpenROAD b/tools/OpenROAD
index cef24f8894..ee850373e4 160000
--- a/tools/OpenROAD
+++ b/tools/OpenROAD
@@ -1 +1 @@
-Subproject commit cef24f88945be039f5d92864cea18551bcacd479
+Subproject commit ee850373e4bc19485ea8bec0839ed64c4aa83fc8