verificationhack.com - verificationhack | tools and tricks of the trade

Description: tools and tricks of the trade

Example domain paragraphs

We have observed, at a mid-simulation `uvm_fatal (), the resultant $finish can exit the program before all requisite debug information is reported or dumped to a file. For example, we have had wave form tools not dump the current time slice. If the `uvm_fatal () occurred at 100,000 ns, it can be quite disappointing to see waves up to 99,999 ns only. All we needed was one extra clock tick and, without that, debug became more challenging.

In fact, we weren’t the only ones with this issue. At DVCon, a few years ago, during a UVM committee presentation regarding the development of UVM-IEEE an audience member asked the exact same question: will it be possible to delay $finish ? The committee was non-committal, but the answer is really: no.

The problem is that the UVM-1.1d library calls $finish in two locations: