How can I write a message at the end of the test (something like “simulation ended successfully”) or in the middle of the test (in case an error occurred “protocol violation, request was de-asserted before acknowledge was received”) using UVM methodology.
I will need this, when running in regression mode, in order to know if the test has passed or failed.
If I am putting this message before global_stop_request(), the timing is not correct (it displays this message at the start of simulation - time 0).
If I am putting this message after global_stop_request(), the message is not printed, because the simulator will exit.
while ovm and uvm have alot in common uvm-world.org and the forum there has been opened to specifically address uvm related questions. posting there allows uvm users to follow these uvm related discussions directly.