I am looking for a way to define following items in a top level memory model
- register model - which has two maps
- 3 memory models - which has different base address
I want to define them in a top level model.
I looked at UVM examples in UVM 1.2 package but could not find it. Can you please explain me how this is feasible ?
In reply to vm16:
Have a look to the ‘Memory Example’ in the code examples of the UVM Cookbook.
In reply to chr_sue:
In reply to vm16:
Have a look to the ‘Memory Example’ in the code examples of the UVM Cookbook.
Thanks, I could set up this way.
Top level
spi_map
ahb_map
spi_map.add_submap(reg_model.spi_map)
ahb_map.add_submap(reg_model.ahb_map)
Register model
spi_map
ahb_map