Hi all, I have a question regarding of how to build hierarchical registers database (i.e. system-> IP->registers-> fields). As part of each reg there are its fields + width union-ed with the full width (32bit). each register has its offset address in the IP and each IP has its base address in the system. registers can appear multiple times and so are devices. what I'm trying to solve is how to initiate the offsets and base addresses w/o consuming any cycles, just to have it as part of the definition, this is my current example code that initiate the offsets/base addr in run time, but again this is what I'm trying to avoid. Using different structure is not a problem (no legacy). thanks for your help Uriel see code in attached file.