Skip to content

Commit a5a6024

Browse files
committed
LEC_CHECK: default 0 for out of tree designs
```shell $ cd OpenROAD-flow-scripts/flow $ make print-ORFS_TEST_SUITE_DESIGN print-LEC_CHECK ORFS_TEST_SUITE_DESIGN: 1 LEC_CHECK: 1 $ make DESIGN_CONFIG=../config.mk print-ORFS_TEST_SUITE_DESIGN print-LEC_CHECK ORFS_TEST_SUITE_DESIGN: 0 LEC_CHECK: 0 ``` fixes The-OpenROAD-Project#3907 Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
1 parent 2b672f1 commit a5a6024

3 files changed

Lines changed: 12 additions & 3 deletions

File tree

‎docs/user/FlowVariables.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ configuration file.
161161
| <a name="KLAYOUT_TECH_FILE"></a>KLAYOUT_TECH_FILE| A mapping from LEF/DEF to GDS using the KLayout tool.| |
162162
| <a name="LATCH_MAP_FILE"></a>LATCH_MAP_FILE| Optional mapping file supplied to Yosys to map latches| |
163163
| <a name="LAYER_PARASITICS_FILE"></a>LAYER_PARASITICS_FILE| Path to per layer parasitics file. Defaults to $(PLATFORM_DIR)/setRC.tcl.| |
164-
| <a name="LEC_CHECK"></a>LEC_CHECK| Perform a formal equivalence check between before and after netlists.| 1|
164+
| <a name="LEC_CHECK"></a>LEC_CHECK| This is primarily an ORFS CI regression testing feature and is default 0 for DESIGN_CONFIG pointing designs outside of the ORFS tree. Requires `KEPLER_FORMAL_EXE` to point to a built Kepler executable.| |
165165
| <a name="LIB_FILES"></a>LIB_FILES| A Liberty file of the standard cell library with PVT characterization, input and output characteristics, timing and power definitions for each cell.| |
166166
| <a name="MACRO_BLOCKAGE_HALO"></a>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.| |
167167
| <a name="MACRO_EXTENSION"></a>MACRO_EXTENSION| Sets the number of GCells added to the blockages boundaries from macros.| |

‎flow/scripts/variables.mk‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,13 @@
55

66
export DESIGN_NICKNAME?=$(DESIGN_NAME)
77

8+
ifneq ($(findstring $(abspath $(FLOW_HOME)),$(abspath $(DESIGN_CONFIG))),)
9+
export ORFS_TEST_SUITE_DESIGN := 1
10+
else
11+
export ORFS_TEST_SUITE_DESIGN := 0
12+
endif
13+
export LEC_CHECK ?= $(ORFS_TEST_SUITE_DESIGN)
14+
815
#-------------------------------------------------------------------------------
916
# Setup variables to point to other location for the following sub directory
1017
# - designs - default is under current directory

‎flow/scripts/variables.yaml‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1297,8 +1297,10 @@ WRITE_ODB_AND_SDC_EACH_STAGE:
12971297
default: 1
12981298
LEC_CHECK:
12991299
description: >
1300-
Perform a formal equivalence check between before and after netlists.
1301-
default: 1
1300+
This is primarily an ORFS CI regression testing feature and is default 0
1301+
for DESIGN_CONFIG pointing designs outside of the ORFS tree.
1302+
1303+
Requires `KEPLER_FORMAL_EXE` to point to a built Kepler executable.
13021304
stages:
13031305
- cts
13041306
REMOVE_CELLS_FOR_LEC:

0 commit comments

Comments
 (0)