SanaUllah Posted December 20, 2022 Report Share Posted December 20, 2022 Hello, I am facing problem in IP-XACT some of register/field are read-only. While reading these registers just giving current value from there link register. Can you help me to implement this kind of register in IP-XACT instead of making it volatile. thanks Quote Link to comment Share on other sites More sharing options...
kock Posted January 3 Report Share Posted January 3 Hello, The old versions of the IP-XACT standard up to and including IEEE Std 1685-2014 do not support describing register field aliasing. Please contact your EDA vendor to check if they can support it with some vendor extension. The new version IEEE Std 1685-2022 does support it. This version will be published by IEEE within a few weeks. Please see the blue lines in the XML snippet below for an example: <ipxact:register> <ipxact:name>INTENCLR</ipxact:name> <ipxact:shortDescription>Interrupt Enable Clear register.</ipxact:shortDescription> <ipxact:description>Interrupt Enable Clear register. Collection of interrupt enable clear commands affecting the INTENSET register state.</ipxact:description> <ipxact:addressOffset>'h208</ipxact:addressOffset> <ipxact:size>32</ipxact:size> <ipxact:accessPolicies> <ipxact:accessPolicy> <ipxact:access>read-write</ipxact:access> </ipxact:accessPolicy> </ipxact:accessPolicies> <ipxact:field> <ipxact:name>FIELD0</ipxact:name> <ipxact:description>Interrupt enable clear.</ipxact:description> <ipxact:bitOffset>0</ipxact:bitOffset> <ipxact:aliasOf> <ipxact:memoryMapRef memoryMapRef="RegisterMap"/> <ipxact:addressBlockRef addressBlockRef="RegisterBlock"/> <ipxact:registerRef registerRef="INTENSET"/> <ipxact:fieldRef fieldRef="FIELD0"/> </ipxact:aliasOf> ... The blue lines describe that field INTENCLR.FIELD0 is an alias of field INTENSET.FIELD0. Both fields can have a different access value. If INTENSET.FIELD0 is read-only, then its values can still be modified by writing to INTENCLR.FIELD0. 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.