Jump to content

Field takes value from other field


SanaUllah

Recommended Posts

  • 2 weeks later...

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

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...