Quantcast
Channel: UVM SystemVerilog Discussions Forum RSS Feed
Viewing all articles
Browse latest Browse all 410

[RAL] Dealing with 64b/32b register write/read with same reg_model

$
0
0

Hi,

 

I have a single reg_model file generated from ralgen, Now there are some registers that can be written only using 64b write and some that can be written only using 32b write. What is the best way to implement this using the RAL. Currently based on the offsets that need to be programmed using the 64b. I have tweaked by reg2bus to do a 64b instead of default 32.

 

i heard about tlm extensions that can be used in this regard. Can some one throw some light on the best ways. My way of implementation meets the purpose but looks hacky.


Viewing all articles
Browse latest Browse all 410