Hi,
When using ralfgen to generate uvm register models, the whole model is generated in one big file, include all the submodules.
This affect the reusability. I would prefer to reuse model that were generated for submodules instead.
As an example, here is a basic hierachical structure of a system:
Module A
|-Module x
with their corresponding ralf file:
ModuleA_regmodel.ralf:
source Modulex.ralf
system ModuleA_regmodel {
bytes 4
block Modulex = my_modulex@0X000000
}
Modulex_regmodel.ralf:
block Modulex_regmodel{
bytes 4
register dummy {
bytes 4;