Skip to content

Commit 3b1c791

Browse files
noam cohennanocoh
authored andcommitted
separate to lec_check.tcl
Signed-off-by: nanocoh <noam.chn1@gmail.com>
1 parent ac8e1b5 commit 3b1c791

3 files changed

Lines changed: 5 additions & 6 deletions

File tree

‎flow/designs/asap7/aes/config.mk‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ export CORE_ASPECT_RATIO = 1
1313
export CORE_MARGIN = 2
1414
export PLACE_DENSITY = 0.65
1515
export TNS_END_PERCENT = 100
16-
export EQUIVALENCE_CHECK ?= 1
1716
export REMOVE_CELLS_FOR_EQY = TAPCELL*
1817

1918
ifeq ($(FLOW_VARIANT),top)

‎flow/scripts/lec_check.tcl‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,12 @@ proc write_lec_verilog { filename } {
66
}
77
}
88

9-
proc write_lec_script { step, file1, file2 } {
9+
proc write_lec_script { step file1 file2 } {
1010
set outfile [open "$::env(OBJECTS_DIR)/lec_test_${step}.yml" w]
1111
puts $outfile "format: verilog"
1212
puts $outfile "input_paths:"
1313
puts $outfile " - $::env(RESULTS_DIR)/${file1}"
1414
puts $outfile " - $::env(RESULTS_DIR)/${file2}"
15-
# Gold netlist
1615
puts $outfile "liberty_files:"
1716
foreach libFile $::env(LIB_FILES) {
1817
puts $outfile " - $libFile"
@@ -21,8 +20,8 @@ proc write_lec_script { step, file1, file2 } {
2120
close $outfile
2221
}
2322

24-
proc run_lec_test { step, file1, file2 } {
25-
write_lec_script ${step} ${file1} ${file2}
23+
proc run_lec_test { step file1 file2 } {
24+
write_lec_script $step $file1 $file2
2625
# tclint-disable-next-line command-args
2726
eval exec kepler-formal --config $::env(OBJECTS_DIR)/lec_test_${step}.yml
2827
set count \
@@ -33,3 +32,4 @@ proc run_lec_test { step, file1, file2 } {
3332
puts "Repair timing output passed lec test"
3433
}
3534
}
35+

0 commit comments

Comments
 (0)