From ca5e7badf294ae450ba7e8d1c9b386ea3571a0f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=98yvind=20Harboe?= Date: Tue, 24 Feb 2026 06:06:33 +0100 Subject: [PATCH 1/2] LEC: default on for ORFS test scripts MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit If LEC fails, then the user should report a github issue and go about his business. If LEC doesn't fail on the final netlist, then other than causing friction during development, LEC during development isn't an issue Signed-off-by: Øyvind Harboe --- docs/user/FlowVariables.md | 2 +- flow/scripts/variables.yaml | 4 +++- flow/settings.mk | 1 + 3 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 flow/settings.mk diff --git a/docs/user/FlowVariables.md b/docs/user/FlowVariables.md index 83ded2d134..a5b2a53b0f 100644 --- a/docs/user/FlowVariables.md +++ b/docs/user/FlowVariables.md @@ -162,7 +162,7 @@ configuration file. | KLAYOUT_TECH_FILE| A mapping from LEF/DEF to GDS using the KLayout tool.| | | LATCH_MAP_FILE| Optional mapping file supplied to Yosys to map latches| | | LAYER_PARASITICS_FILE| Path to per layer parasitics file. Defaults to $(PLATFORM_DIR)/setRC.tcl.| | -| LEC_CHECK| Perform a formal equivalence check between before and after netlists.| 1| +| LEC_CHECK| Perform a formal equivalence check between before and after netlists. If this fails, report an issue to OpenROAD.| 0| | LIB_FILES| A Liberty file of the standard cell library with PVT characterization, input and output characteristics, timing and power definitions for each cell.| | | MACRO_BLOCKAGE_HALO| Distance beyond the edges of a macro that will also be covered by the blockage generated for that macro. Note that the default macro blockage halo comes from the largest of the specified MACRO_PLACE_HALO x or y values. This variable overrides that calculation.| | | MACRO_EXTENSION| Sets the number of GCells added to the blockages boundaries from macros.| | diff --git a/flow/scripts/variables.yaml b/flow/scripts/variables.yaml index 11c6aa6bad..34041af7e4 100644 --- a/flow/scripts/variables.yaml +++ b/flow/scripts/variables.yaml @@ -1298,7 +1298,9 @@ WRITE_ODB_AND_SDC_EACH_STAGE: LEC_CHECK: description: > Perform a formal equivalence check between before and after netlists. - default: 1 + + If this fails, report an issue to OpenROAD. + default: 0 stages: - cts REMOVE_CELLS_FOR_LEC: diff --git a/flow/settings.mk b/flow/settings.mk new file mode 100644 index 0000000000..e824878e7f --- /dev/null +++ b/flow/settings.mk @@ -0,0 +1 @@ +export LEC_CHECK ?= 1 From b016fe026520555852ccdc5b0cbf2885a5035434 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=98yvind=20Harboe?= Date: Tue, 24 Feb 2026 06:06:33 +0100 Subject: [PATCH 2/2] LEC: default on for ORFS test scripts, review feedback MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Øyvind Harboe --- flow/.gitignore | 1 - flow/Makefile | 6 ++++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/flow/.gitignore b/flow/.gitignore index a08f9fc5cb..4ec6a86f11 100644 --- a/flow/.gitignore +++ b/flow/.gitignore @@ -1,4 +1,3 @@ -settings.mk vars.sh vars.gdb vars.tcl diff --git a/flow/Makefile b/flow/Makefile index 43d7eb60f6..03ef0d2941 100644 --- a/flow/Makefile +++ b/flow/Makefile @@ -1,5 +1,7 @@ -# settings.mk is not under source control. Put variables into this -# file to avoid having to adding the to the make command line. +# Put variables into this file to avoid having to adding +# the to the make command line. +# +# Out of ORFS trees can have their own settings.mk. -include settings.mk # ==============================================================================