fuzzers: Fix error usage

Signed-off-by: Tomasz Michalak <tmichalak@antmicro.com>
This commit is contained in:
Tomasz Michalak 2019-04-18 08:23:58 +02:00
parent 816511ddca
commit 4efa6f31d1
4 changed files with 5 additions and 8 deletions

View File

@ -48,7 +48,7 @@ proc find_dst_pin {tile dst_wire} {
return $clb_dst_pin
}
}
error
error "ERROR: Unable to find destination pin for wire $tile/$dst_wire (iterations: $iterations)"
}
proc find_src_pin {tile src_wire} {
@ -72,7 +72,7 @@ proc find_src_pin {tile src_wire} {
return $clb_src_pin
}
}
error
error "ERROR: Unable to find source pin for $tile/$src_wire (iterations: $iterations)"
}
set fp [open "../../todo.txt" r]

View File

@ -90,8 +90,7 @@ for {set idx 0} {$idx < [llength $todo_lines]} {incr idx} {
# sometimes it gets stuck in specific src -> dst locations
if {$tries >= 3} {
puts "WARNING: failed to route net after $tries tries"
error
error "ERROR: failed to route net after $tries tries"
}
}
}

View File

@ -86,8 +86,7 @@ for {set idx 0} {$idx < [llength $todo_lines]} {incr idx} {
# sometimes it gets stuck in specific src -> dst locations
if {$tries >= 3} {
puts "WARNING: failed to route net after $tries tries"
error
error "ERROR: failed to route net after $tries tries"
}
}
}

View File

@ -87,8 +87,7 @@ for {set idx 0} {$idx < [llength $todo_lines]} {incr idx} {
# sometimes it gets stuck in specific src -> dst locations
if {$tries >= 3} {
puts "WARNING: failed to route net after $tries tries"
error
error "ERROR: failed to route net after $tries tries"
}
}
}