I have a subclass of ovm_scoreboard and I’m trying to override the check() or extract() methods to do something at the end of simulation (run phase). Just to test it out, I put a print statement in check() and search for it in my log file, but for some reason, it looks like the method is never executed.
My code is something like this:
class my_sb extends ovm_scoreboard;
`ovm_component_utils(my_sb)
function new();
this.enable_stop_interrupt = 1; // is this necessary?
endfunction : new
function check();
$display(“end of test”);
endfunction : check
endclass : my_sb
Am I missing something? Does ovm_scoreboard do some kind of weird override thing with check()?
It looks like my OVM testbench isn’t properly configured and the tests aren’t being properly shutdown. I’m working to figure out how to do the proper configuration.
Sorry I couldn’t get log files right now. Thanks for your help, though!