Skip to content

Commit c1ae0cd

Browse files
Noam Cohennanocoh
authored andcommitted
fixes for sec flow
Signed-off-by: Noam Cohen <noam.chn1@gmail.com>
1 parent ee50120 commit c1ae0cd

2 files changed

Lines changed: 11 additions & 3 deletions

File tree

flow/scripts/formal_check.tcl

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,13 @@ proc write_sec_script { step file1 file2 } {
5454
close $outfile
5555
}
5656

57+
proc formal_check_label { step } {
58+
if { [string equal $step 4_rsz] } {
59+
return "Repair timing output"
60+
}
61+
return "Global output"
62+
}
63+
5764
proc run_lec_test { step file1 file2 } {
5865
write_lec_script $step $file1 $file2
5966
# tclint-disable-next-line command-args
@@ -64,10 +71,11 @@ proc run_lec_test { step file1 file2 } {
6471
# This block executes if grep returns a non-zero exit code
6572
set count 0
6673
}
74+
set label [formal_check_label $step]
6775
if { $count > 0 } {
68-
error "Repair timing output failed lec test"
76+
error "$label failed lec test"
6977
} else {
70-
puts "Repair timing output passed lec test"
78+
puts "$label passed lec test"
7179
}
7280
}
7381

tools/kepler-formal

Submodule kepler-formal updated 60 files

0 commit comments

Comments
 (0)