Kjeld Posted March 17 Report Share Posted March 17 Hi, I want to do something like: <ipxact:registerFile> <ipxact:name>RegisterArray</ipxact:name> <ipxact:dim>8</ipxact:dim> <ipxact:dim>4</ipxact:dim> <ipxact:dim>2</ipxact:dim> <ipxact:addressOffset>0x200</ipxact:addressOffset> <ipxact:range>0x10</ipxact:range> <ipxact:register> <ipxact:name>RegArrayEntry</ipxact:name> <ipxact:addressOffset>0x0</ipxact:addressOffset> <ipxact:size>32</ipxact:size> <ipxact:field> <ipxact:name>MandatoryField</ipxact:name> <ipxact:bitOffset>0</ipxact:bitOffset> <ipxact:bitWidth>32</ipxact:bitWidth> </ipxact:field> </ipxact:register> </ipxact:registerFile> but so far I had to stick with: <ipxact:registerFile> <ipxact:name>RegisterArray</ipxact:name> <ipxact:dim>64</ipxact:dim> <ipxact:addressOffset>0x200</ipxact:addressOffset> <ipxact:range>0x10</ipxact:range> <ipxact:register> <ipxact:name>RegArrayEntry</ipxact:name> <ipxact:addressOffset>0x0</ipxact:addressOffset> <ipxact:size>32</ipxact:size> <ipxact:field> <ipxact:name>MandatoryField</ipxact:name> <ipxact:bitOffset>0</ipxact:bitOffset> <ipxact:bitWidth>32</ipxact:bitWidth> </ipxact:field> </ipxact:register> </ipxact:registerFile> Do I understand it correctly that it is not possible to specify arrays of registers with multiple dimensions? Quote Link to comment Share on other sites More sharing options...
kock Posted March 17 Report Share Posted March 17 Hi, You can describe multi-dimensional registers and multi-dimensional register files, i.e., a register element may have multiple dim element and a registerFile element may have multiple dim elements. So I am not sure why you "had to stick with" something. Best regards, Erwin Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.