Skip to content

Commit

Permalink
Closing the handle if the simulation times out
Browse files Browse the repository at this point in the history
  • Loading branch information
STFleming authored and maltanar committed Oct 17, 2024
1 parent 7f09b73 commit 7018cfe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/finn/util/pyxsi_rpcclient.py
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,7 @@ def rtlsim_multi_io(

# end sim on timeout
if no_change_count == liveness_threshold:
close_rtlsim(handle)
raise Exception(
"Error in simulation! Takes too long to produce output. "
"Consider setting the liveness_threshold parameter to a "
Expand Down

0 comments on commit 7018cfe

Please sign in to comment.