Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- `include "uvm_macros.svh" //file containing basic macros
- import uvm_pkg :: * ; //factory package containing env, agent, driver etc (basic component classes)
- //and object items like sequence
- module top();
- our_interface intf (); //instantiate our interface
- our_design uut (); //instantiate our design
- initial begin
- uvm_config_db #(virtual our_interface) :: set (null, "" * "", " intf ", intf); //the SET method
- end
- endmodule
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement