diff --git a/docs/user/FlowVariables.md b/docs/user/FlowVariables.md
index b8aa8f65e1..7a7c3e222b 100644
--- a/docs/user/FlowVariables.md
+++ b/docs/user/FlowVariables.md
@@ -137,7 +137,6 @@ 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|
| 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.| |
@@ -230,7 +229,6 @@ configuration file.
| RCX_RULES| RC Extraction rules file path.| |
| RECOVER_POWER| Specifies how many percent of paths with positive slacks can be slowed for power savings [0-100].| 0|
| REMOVE_ABC_BUFFERS (deprecated)| Remove abc buffers from the netlist. If timing repair in floorplanning is taking too long, use a SETUP/HOLD_SLACK_MARGIN to terminate timing repair early instead of using REMOVE_ABC_BUFFERS or set SKIP_LAST_GASP=1.| 0|
-| REMOVE_CELLS_FOR_EQY| String patterns directly passed to write_verilog -remove_cells <> for equivalence checks.| |
| REMOVE_CELLS_FOR_LEC| String patterns directly passed to write_verilog -remove_cells <> for lec checks.| |
| REPAIR_PDN_VIA_LAYER| Remove power grid vias which generate DRC violations after detailed routing.| |
| REPORT_CLOCK_SKEW| Report clock skew as part of reporting metrics, starting at CTS, before which there is no clock skew. This metric can be quite time-consuming, so it can be useful to disable.| 1|
@@ -480,14 +478,12 @@ configuration file.
- [CTS_SNAPSHOT](#CTS_SNAPSHOT)
- [CTS_SNAPSHOTS](#CTS_SNAPSHOTS)
- [DETAILED_METRICS](#DETAILED_METRICS)
-- [EQUIVALENCE_CHECK](#EQUIVALENCE_CHECK)
- [HOLD_SLACK_MARGIN](#HOLD_SLACK_MARGIN)
- [LEC_CHECK](#LEC_CHECK)
- [MATCH_CELL_FOOTPRINT](#MATCH_CELL_FOOTPRINT)
- [MAX_REPAIR_TIMING_ITER](#MAX_REPAIR_TIMING_ITER)
- [POST_CTS_TCL](#POST_CTS_TCL)
- [PRE_CTS_TCL](#PRE_CTS_TCL)
-- [REMOVE_CELLS_FOR_EQY](#REMOVE_CELLS_FOR_EQY)
- [REPORT_CLOCK_SKEW](#REPORT_CLOCK_SKEW)
- [SETUP_REPAIR_SEQUENCE](#SETUP_REPAIR_SEQUENCE)
- [SETUP_SLACK_MARGIN](#SETUP_SLACK_MARGIN)
diff --git a/flow/designs/asap7/aes/config.mk b/flow/designs/asap7/aes/config.mk
index 0d310cc6b8..8eb7038a73 100644
--- a/flow/designs/asap7/aes/config.mk
+++ b/flow/designs/asap7/aes/config.mk
@@ -13,8 +13,6 @@ export CORE_ASPECT_RATIO = 1
export CORE_MARGIN = 2
export PLACE_DENSITY = 0.65
export TNS_END_PERCENT = 100
-export EQUIVALENCE_CHECK ?= 1
-export REMOVE_CELLS_FOR_EQY = TAPCELL*
ifeq ($(FLOW_VARIANT),top)
export DESIGN_NAME = aes_cipher_top
@@ -22,7 +20,6 @@ ifeq ($(FLOW_VARIANT),top)
else ifeq ($(FLOW_VARIANT),blackbox)
export DESIGN_NAME = aes_key_expand_128
else ifeq ($(FLOW_VARIANT),combine)
- export EQUIVALENCE_CHECK = 0
# List blackbox twice to demonstrates that duplicate modules are ignored.
export SYNTH_NETLIST_FILES = \
$(WORK_HOME)/results/$(PLATFORM)/$(DESIGN_NICKNAME)/top/1_synth.v \
diff --git a/flow/designs/asap7/jpeg/config.mk b/flow/designs/asap7/jpeg/config.mk
index e7bd41a42f..04e7fb1ca9 100644
--- a/flow/designs/asap7/jpeg/config.mk
+++ b/flow/designs/asap7/jpeg/config.mk
@@ -14,7 +14,4 @@ export CORE_MARGIN = 2
export PLACE_DENSITY = 0.75
export TNS_END_PERCENT = 100
-export EQUIVALENCE_CHECK ?= 1
-export REMOVE_CELLS_FOR_EQY = TAPCELL*
-
diff --git a/flow/designs/asap7/uart/config.mk b/flow/designs/asap7/uart/config.mk
index 4ff340d770..e08ffa9536 100644
--- a/flow/designs/asap7/uart/config.mk
+++ b/flow/designs/asap7/uart/config.mk
@@ -13,8 +13,6 @@ export PLACE_DENSITY = 0.70
export DIE_AREA = 0 0 17 17
export CORE_AREA = 1.08 1.08 16 16
export TNS_END_PERCENT = 100
-export EQUIVALENCE_CHECK ?= 1
-export REMOVE_CELLS_FOR_EQY = TAPCELL*
export SKIP_GATE_CLONING = 1
export VERILOG_TOP_PARAMS = DATA_WIDTH 8
export SYNTH_HDL_FRONTEND = slang
diff --git a/flow/designs/nangate45/aes/config.mk b/flow/designs/nangate45/aes/config.mk
index e859d0d4a2..2f7d50ef09 100644
--- a/flow/designs/nangate45/aes/config.mk
+++ b/flow/designs/nangate45/aes/config.mk
@@ -9,8 +9,6 @@ export FLOORPLAN_DEF = $(DESIGN_HOME)/$(PLATFORM)/$(DESIGN_NICKNAME)/aes_ng45_fp
export PLACE_DENSITY_LB_ADDON = 0.20
export TNS_END_PERCENT = 100
-export REMOVE_CELLS_FOR_EQY = TAPCELL*
-
# workaround for high congestion in post-grt repair
export SKIP_INCREMENTAL_REPAIR = 1
diff --git a/flow/designs/nangate45/gcd/config.mk b/flow/designs/nangate45/gcd/config.mk
index b8ca1080a2..8d77fbe786 100644
--- a/flow/designs/nangate45/gcd/config.mk
+++ b/flow/designs/nangate45/gcd/config.mk
@@ -11,7 +11,6 @@ export ADDER_MAP_FILE :=
export CORE_UTILIZATION ?= 55
export PLACE_DENSITY_LB_ADDON = 0.20
export TNS_END_PERCENT = 100
-export REMOVE_CELLS_FOR_EQY = TAPCELL*
export SYNTH_REPEATABLE_BUILD ?= 1
# This needs a smaller pitch to accomodate a small block
diff --git a/flow/designs/sky130hd/gcd/config.mk b/flow/designs/sky130hd/gcd/config.mk
index 66f35db996..9c1e215a1c 100644
--- a/flow/designs/sky130hd/gcd/config.mk
+++ b/flow/designs/sky130hd/gcd/config.mk
@@ -9,8 +9,5 @@ export ADDER_MAP_FILE :=
export CORE_UTILIZATION = 40
export TNS_END_PERCENT = 100
-export EQUIVALENCE_CHECK ?= 1
-export REMOVE_CELLS_FOR_EQY = sky130_fd_sc_hd__tapvpwrvgnd*
-
export SWAP_ARITH_OPERATORS = 1
export OPENROAD_HIERARCHICAL = 1
diff --git a/flow/designs/sky130hs/gcd/config.mk b/flow/designs/sky130hs/gcd/config.mk
index 883d1e1ffb..2491313ff8 100644
--- a/flow/designs/sky130hs/gcd/config.mk
+++ b/flow/designs/sky130hs/gcd/config.mk
@@ -11,8 +11,5 @@ export ADDER_MAP_FILE :=
export CORE_UTILIZATION = 50
export PLACE_DENSITY_LB_ADDON = 0.1
export TNS_END_PERCENT = 100
-export EQUIVALENCE_CHECK ?= 1
-export REMOVE_CELLS_FOR_EQY = sky130_fd_sc_hs__tapvpwrvgnd*
-
#export SYNTH_HDL_FRONTEND ?= slang
#export OPENROAD_HIERARCHICAL ?= 1
diff --git a/flow/scripts/cts.tcl b/flow/scripts/cts.tcl
index 05f65e8958..700dabd012 100644
--- a/flow/scripts/cts.tcl
+++ b/flow/scripts/cts.tcl
@@ -59,18 +59,12 @@ if { $::env(CTS_SNAPSHOTS) } {
}
if { !$::env(SKIP_CTS_REPAIR_TIMING) } {
- if { $::env(EQUIVALENCE_CHECK) } {
- write_eqy_verilog 4_before_rsz.v
- }
if { $::env(LEC_CHECK) } {
write_lec_verilog 4_before_rsz_lec.v
}
repair_timing_helper
- if { $::env(EQUIVALENCE_CHECK) } {
- run_equivalence_test
- }
if { $::env(LEC_CHECK) } {
write_lec_verilog 4_after_rsz_lec.v
run_lec_test 4_rsz 4_before_rsz_lec.v 4_after_rsz_lec.v
diff --git a/flow/scripts/load.tcl b/flow/scripts/load.tcl
index 34a680b7a4..159e92a89f 100644
--- a/flow/scripts/load.tcl
+++ b/flow/scripts/load.tcl
@@ -49,70 +49,3 @@ proc load_design { design_file sdc_file } {
set_delay_calculator prima
}
}
-
-#===========================================================================================
-# Routines to run equivalence tests when they are enabled.
-
-proc write_eqy_verilog { filename } {
- # Filter out cells with no verilog/not needed for equivalence such
- # as fillers and tap cells
- if { [env_var_exists_and_non_empty REMOVE_CELLS_FOR_EQY] } {
- write_verilog -remove_cells $::env(REMOVE_CELLS_FOR_EQY) $::env(RESULTS_DIR)/$filename
- } else {
- write_verilog $::env(RESULTS_DIR)/$filename
- }
-}
-
-proc write_eqy_script { } {
- set top_cell [current_design]
- set outfile [open "$::env(OBJECTS_DIR)/4_eqy_test.eqy" w]
- # Gold netlist
- puts $outfile "\[gold]\nread_liberty -ignore_miss_func $::env(LIB_FILES)\n"
- puts $outfile "read_verilog -sv $::env(RESULTS_DIR)/4_before_rsz.v\n"
- puts $outfile "prep -top $top_cell -flatten\nmemory_map\n\n"
- # Modified netlist
- puts $outfile "\[gate]\nread_liberty -ignore_miss_func $::env(LIB_FILES)\n"
- puts $outfile "read_verilog -sv $::env(RESULTS_DIR)/4_after_rsz.v\n"
- puts $outfile "prep -top $top_cell -flatten\nmemory_map\n\n"
-
- # Recommendation from eqy team on how to speed up a design
- puts $outfile "\[match *]\ngate-nomatch _*_.*"
-
- # See issue OpenROAD#6545 "Equivalence check failure due to non-unique resizer nets"
- puts $outfile "gate-nomatch net*"
-
- # Forbid matching on buffer instances or cloned instances to make it less
- # likely EQY will fail to prove equivalence because of its assuming structural
- # similarity between gold and gate netlists. This doesn't remove coverage.
- puts $outfile "gate-nomatch clone*"
- puts $outfile "gate-nomatch place*"
- puts $outfile "gate-nomatch rebuffer*"
- puts $outfile "gate-nomatch wire*"
- puts $outfile "gate-nomatch place*\n\n"
-
- # Equivalence check recipe 1
- puts $outfile "\[strategy basic]\nuse sat\ndepth 10\n\n"
- # Equivalence check recipe 2
- puts $outfile "\[strategy sby]\nuse sby\ndepth 10\nengine smtbmc bitwuzla\n\n"
-
- close $outfile
-}
-
-proc run_equivalence_test { } {
- write_eqy_verilog 4_after_rsz.v
- write_eqy_script
-
- # tclint-disable-next-line command-args
- eval exec eqy -d $::env(LOG_DIR)/4_eqy_output \
- --force \
- --jobs $::env(NUM_CORES) \
- $::env(OBJECTS_DIR)/4_eqy_test.eqy \
- > $::env(LOG_DIR)/4_equivalence_check.log
- set count \
- [exec grep -c "Successfully proved designs equivalent" $::env(LOG_DIR)/4_equivalence_check.log]
- if { $count == 0 } {
- error "Repair timing output failed equivalence test"
- } else {
- puts "Repair timing output passed equivalence test"
- }
-}
diff --git a/flow/scripts/variables.yaml b/flow/scripts/variables.yaml
index dcfe9d9a2a..c27c1ed228 100644
--- a/flow/scripts/variables.yaml
+++ b/flow/scripts/variables.yaml
@@ -84,13 +84,6 @@ DETAILED_METRICS:
stages:
- cts
- grt
-EQUIVALENCE_CHECK:
- description: >
- Enable running equivalence checks to verify logical correctness of
- repair_timing.
- default: 0
- stages:
- - cts
CORE_UTILIZATION:
description: |
The core utilization percentage (0-100).
@@ -760,12 +753,6 @@ SKIP_CRIT_VT_SWAP:
- cts
- floorplan
- grt
-REMOVE_CELLS_FOR_EQY:
- description: >
- String patterns directly passed to write_verilog -remove_cells <> for
- equivalence checks.
- stages:
- - cts
SKIP_CTS_REPAIR_TIMING:
description: >
Skipping CTS repair, which can take a long time, can be useful in
diff --git a/tools/AutoTuner/src/autotuner/utils.py b/tools/AutoTuner/src/autotuner/utils.py
index dcab5c5418..abbd90061e 100644
--- a/tools/AutoTuner/src/autotuner/utils.py
+++ b/tools/AutoTuner/src/autotuner/utils.py
@@ -365,7 +365,6 @@ def openroad(
if work_home is not None:
make_command += f" WORK_HOME={work_home}"
make_command += f" FLOW_VARIANT={flow_variant} {parameters}"
- make_command += " EQUIVALENCE_CHECK=0"
make_command += f" NUM_CORES={args.openroad_threads} SHELL=bash"
if args.stop_stage != "finish":
make_command += f" {args.stop_stage}"
diff --git a/tools/AutoTuner/test/smoke_test_algo_eval.py b/tools/AutoTuner/test/smoke_test_algo_eval.py
index 01fdc95403..40ed6af6f0 100644
--- a/tools/AutoTuner/test/smoke_test_algo_eval.py
+++ b/tools/AutoTuner/test/smoke_test_algo_eval.py
@@ -70,7 +70,7 @@ def setUp(self):
def make_base(self):
commands = [
f"make -C {orfs_dir} DESIGN_CONFIG=./designs/{self.platform}/{self.design}/config.mk clean_all",
- f"make -C {orfs_dir} DESIGN_CONFIG=./designs/{self.platform}/{self.design}/config.mk EQUIVALENCE_CHECK=0",
+ f"make -C {orfs_dir} DESIGN_CONFIG=./designs/{self.platform}/{self.design}/config.mk",
f"make -C {orfs_dir} DESIGN_CONFIG=./designs/{self.platform}/{self.design}/config.mk update_metadata_autotuner",
]
for command in commands: