Jump to content
Sign in to follow this  
tonyshen

Create different uvm_domains for different group of components

Recommended Posts

Hi all UVM experts,

I am wondering that is it possible to create multiple uvm_domain within a UVM testbench?

For example:

A group of components run in uvm_domain A.

A group of components run in uvm_domain B.

A group of components run in uvm_domain C.

The reason why I need this configuration is that I would like to divided all my components into several RESET groups, and each group has its own uvm_domain.

In this way, then I could simply use:

uvm_domain domain;

domain= comp.get_domain();

domain.jump(uvm_reset_phase::get());

to have the specific group of components jumped into reset_phase without affecting other groups.

Thank you in advance!

Share this post


Link to post
Share on other sites

It is certainly possible. That is one of the main reasons for domains. You may want to look into domain.sync() if you want the domains to go through all the phase transitions together (except the jump). Also, there are improvements in this area in UVM1.1c.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×