Jump to content

rtdk

Members
  • Posts

    2
  • Joined

  • Last visited

rtdk's Achievements

Member

Member (1/2)

0

Reputation

  1. Thank you for the guidance @Justin Refice. Issue filed here: https://github.com/accellera-official/uvm-core/issues/7
  2. In the uvm_reg_map get_size method, the output comes from last known register's address. At the end of the method, the return value is: return max_addr + 1; https://github.com/accellera-official/uvm-core/blob/b5f8562d8bee8ea11b06fc2692ed2ba0b5b7eeb7/src/reg/uvm_reg_map.svh#L1324C4-L1324C23 Instead, the function should return: return max_addr + n_bytes; Which would return the right value. I've created a playground to demonstrate it: https://www.edaplayground.com/x/mhic I have 3 64b registers in the map. I expect the get_size method to return 'd24, because the total map occupies 24 bytes. Instead it returns 'd1 UVM_INFO testbench.sv(69) @ 0: uvm_test_top [uvm_test_top] Size of reg map is 17 I wasn't sure how to file a bug on UVM, so here I am.
×
×
  • Create New...