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;
this.enable_stop_interrupt = 1; // is this necessary?
endfunction : new
$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()?