You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is a block of code in rohd_connector.py which is designed to detect whether there was a timeout waiting for the SystemVerilog simulator to complete a tick:
ifnotready_to_readandself.mid_tick:
# not necessarily an error, since maybe SV simulator called $finishprint('Timeout waiting for tick to complete in Simulator!', flush=True)
self.shutdown()
break
This code is only necessary because sometimes simulators appear to not properly indicate to cocotb that the simulation has ended, so a graceful shutdown cannot be achieved (cocotb/cocotb#3121).
The race condition appears if ROHD is being interactively debugged and fails to send the entirety of a tick's information (i.e. not ready_to_read) even though a tick is ongoing (i.e. self.mid_tick).
For most users, unless actively debugging ROHD Cosim itself, this will not be often hit.
The text was updated successfully, but these errors were encountered:
There is a block of code in rohd_connector.py which is designed to detect whether there was a timeout waiting for the SystemVerilog simulator to complete a tick:
This code is only necessary because sometimes simulators appear to not properly indicate to cocotb that the simulation has ended, so a graceful shutdown cannot be achieved (cocotb/cocotb#3121).
The race condition appears if ROHD is being interactively debugged and fails to send the entirety of a tick's information (i.e.
not ready_to_read
) even though a tick is ongoing (i.e.self.mid_tick
).For most users, unless actively debugging ROHD Cosim itself, this will not be often hit.
The text was updated successfully, but these errors were encountered: