Reg_context.append(field_context)įield_context = field.find( 'ipxact:name', ns).textįield_context = field.find( Reg_context = reg.find(įor field in reg.findall( 'ipxact:field', ns): Reg_context = reg.find( 'ipxact:size', ns).text Reg_context = reg.find( 'ipxact:name', ns).text The UVM register layer classes are used to create a high-level, object-oriented model for memory-mapped registers and memories in a design under verification (DUV)īasically, Once fields and registers are defined, RAL provides a consistent access API for registers read/write.įor reg in addressBlock.findall( 'ipxact:register', ns):īlock_context.append(reg_context) Well, if you haven’t seen Register model before, I envy you. The important section is as it specifies the registers and fields. IP-XACT is an XML format that defines and describes individual, re-usable electronic circuit designs (individual pieces of intellectual property, or IPs) to facilitate their use in creating integrated circuits (i.e.
This was a weekend project back in 2020 to build IPXACT parser and UVM register Model generator.Īs an example of the lack of imagination at that time, I decided to call it ‘ipaxctral’.