Jump to content

How to set the attributes per each fields on the register?


Recommended Posts


I'm trying to set attributes per each fields of one register.


My register xml is like the below 

The register "ureg0" has 3 fields "destination". "frame_kind" and "rsvd".

I want to set the attribute of "NO_REG_ACCESS_TEST" into the  "rsvd" field. not the whole field in a "ureg0".




I came across one example  "NO_REG_ACCESS_TEST" into the "my_reg[0]" register. But this way is a just set to the whole of one register not each fields. I want to know how do I set per each fields

              <vendorExtensions:attribute type="bit">


Could you guide me how do I set the attribute per each fields not just set the whole of one register?

Thank you in advance.


Link to comment
Share on other sites

  • carter changed the title to How to set the attributes per each fields on the register?


You are working with vendor extensions here. The IP-XACT TGI functions only allow you to create or remove the entire spirit:vendorExtensions fragment. There is no standard support to work on fragment inside the vendor extensions since that content is not part of the standard. Vendor extensions are supported inside the register element as well as inside the field element. You need to work together with your EDA vendor to align on the meaning of the vendor extensions and how you can create/edit them efficiently. There is no standard solution.

Best regards,

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.

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...