Handling on the fly reset in scorebaord

In reply to rgarcia07:

We/I make use of the UVM phases-- one of which is reset_phase.

The reset tests will actually jump backwards from the main_phase (or other phases) to the reset phase. The scoreboard is aware of the phasing-- so you can handle stuff there. For example, if you have two queues (one for actual, one for expected), you can clear them in the reset phase.

I find this to be very clean.

1 Like