Quantcast
Channel: UVM Forums RSS Feed
Viewing all articles
Browse latest Browse all 756

Question about uvm_config_db of SV interface

$
0
0

Hi,

 

I have a question when I use uvm_config_db for interface connection.

 

Generally, I know we use set() and get() function of "uvm_config_db" when we connect interface instance with virtual interface.

 

As I know, uvm_config_db#(virtual aaa_intf)::set() is described inside top testbench module.

And uvm_config_db#(virtual aaa_intf)::get() is some phase of inside class.

 

What I want to do is to move set() function into some phase of class.

Is it possible?

 

If possible, which phase can I use not to be no problem in topology?

Could you give me an example?

I generally descirbes uvm_config_db#(virtual aaa_intf)::get() in connect_phase.

 

 

Thanks & Regards,

YYN


Viewing all articles
Browse latest Browse all 756

Trending Articles