Posts tagged as:


Using $psprintf in OVM Messages

by Ray Salemi on June 14, 2009

In FPGA Simulation, I showed you how to use the OVM reporting methods and how to include the module name in the messages for easier debugging. ┬áThe code looked like this, for example in Figure 13-1 in the book: module top; string m; initial begin $sformat(m,”%m”); ovm_top.set_report_verbosity_level(200); ovm_top.ovm_report_info (m,”Just Info”, 300, `__FILE__,`__LINE__); This example gives […]

{ Comments on this entry are closed }