Hi,
Could someone tell me how store all address in a register map into an array.
Thank you,
Hi,
Could someone tell me how store all address in a register map into an array.
Thank you,
In reply to jaswanth_b:
One of the benefits of the UVM RAL is you do not deal with addresses but with register names.
If you really want to know the addresses you can use:
virtual function uvm_reg_addr_t get_address (uvm_reg_map map = null);
This function returns the base physical address of the register you are excuting this function.
You can run this in a loop for all regs in your map and store the results in a queue.