carter Posted July 2, 2022 Report Share Posted July 2, 2022 In 4.6.7.3 Example register definition from IP-XACT™ User Guide v1.2.pdf, The following register definition demonstrates with a snippet. VNL... <spirit:register> <spirit:name>ureg1</spirit:name> <spirit:addressOffset>4</spirit:addressOffset> <spirit:size>32</spirit:size> <spirit:reset> <spirit:value>0x12345678</spirit:value> <spirit:mask>0xffffffff</spirit:mask> </spirit:reset> <spirit:field> <spirit:name>destination</spirit:name> <spirit:bitOffset>0</spirit:bitOffset> <spirit:bitWidth>14</spirit:bitWidth> </spirit:field> <spirit:field> <spirit:name>frame_kind</spirit:name> <spirit:bitOffset>14</spirit:bitOffset> <spirit:bitWidth>2</spirit:bitWidth> </spirit:field> <spirit:field> <spirit:name>rsvd</spirit:name> <spirit:bitOffset>16</spirit:bitOffset> <spirit:bitWidth>16</spirit:bitWidth> </spirit:field> </spirit:register> ... There is implemented only one register reset for whole fields of a register <spirit:reset> <spirit:value>0x12345678</spirit:value> <spirit:mask>0xffffffff</spirit:mask> </spirit:reset> Is there any way to set the reset to each individual fields not only one? Could you guide me how each fields can have reset value ? ipxact_example.xml Quote Link to comment Share on other sites More sharing options...
kock Posted July 4, 2022 Report Share Posted July 4, 2022 Hi, You cannot describe register field resets in 1685-2009. The register reset value has to be used to compute the register field reset values. Best regards, Erwin Quote Link to comment Share on other sites More sharing options...
carter Posted July 4, 2022 Author Report Share Posted July 4, 2022 4 hours ago, kock said: Hi, You cannot describe register field resets in 1685-2009. The register reset value has to be used to compute the register field reset values. Best regards, Erwin Thank you Erwin. What IP-XACT version I can describe register field reset? Quote Link to comment Share on other sites More sharing options...
kock Posted July 5, 2022 Report Share Posted July 5, 2022 IP-XACT IEEE Std 1685-2014 is the first version to support register field reset values. 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.