mirror of https://github.com/openXC7/prjxray.git
fuzzers: Fix error usage
Signed-off-by: Tomasz Michalak <tmichalak@antmicro.com>
This commit is contained in:
parent
816511ddca
commit
4efa6f31d1
|
|
@ -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]
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue