Hello all,
I have a traditional testbench that instantiates a Stimulus Generator and a DUT. Looks like this
//in module tb.v
module tb;
driver i_driver(...);
dut i_dut(..);
endmodule
The stimulus generation occurs within the driver.
I would like to add an UVM Environment with only a Monitor, Scoreboard and Functional Coverage to this testbench. I created a wrapper called "svid_packet_monitor" and instantiated that in the tb.
module tb;
driver i_driver(...);
dut i_dut(..);
svid_packet_mon_wrapper i_svid_packet_mon_wrapper();
endmodule
I am new to the whole UVM thing and am not sure how the code inside the monitor wrapper should look like. I took a first stab at creating a package with the monitor and associated class items and imported this inside the svid_packet_mon_wrapper. Then I created my_test inside the wrapper that extends uvm_test but I am not sure how to start this up. I am attaching the code for the monitor package and the monitor wrapper( with questions inside the monitor_wrapper code ). Any help to put this together would be highly appreciated...
Best
Raj