Hello,
How to build a subcomponent register block model from the top level env ? And also how to acess it in the testcases ?
Please point me to an example if possible?
I tried to look in the UVM cookbook but couldn’t understand to do it if we have subcomponent register blocks.
This is the statement from UVM cookbook “A cluster, or sub-system, level register model will have a register block which will contain other register model blocks for each of the sub-components in the cluster, and register maps for each of the bus interfaces. At this level, a register map can specify an offset address for a sub-block and the accesses to the registers within that sub-block will be adjusted to generate the right address within the cluster level map.”
I have the register model file automatically generated , so that is not an issue.
Could someone please point to examples to build it in the top level env and how to access it in the testcases .
Thankyou