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