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

Can we perform UVM_REG read/write access based on Address?

$
0
0

Hi there

 

From the UVM users guide, a register read access can be executed as

 

  reg_model.BLK1.REG_FILE1.REG_1.read(status, rdata);

 

But this mandates us to know the hierarchy of the register instantiation.

ie., 'reg_model.BLK1.REG_FILE1' needs to be known to execute a read on register 'REG_1'.

 

Is it possible to perform read/write access based on address instead of this hierarchy?

Something like:

 

generic_uvm_read (.address(0x0), rdata);

 

In otherwords, we need not even know the register type or register instantiation hierarchy to issue a read access to that register.

 

Can this be performed with UVM_REG?

Requesting thoughts here.

 

Best regards

Balasubramanian G

 


Viewing all articles
Browse latest Browse all 756

Trending Articles