Jump to content

Alternate register name can not be same as register name


rahuljn

Recommended Posts

Hi Folks

 

I have a scenarieo where the same register is interpreted in 2 different way depending on the working mode of the IP.

I choose alternate register to describe such behaviour but I see some limitations there. I can not have the same name of the register and its alternate register. Why this is forbidden in the schema ?

 

Thanks

RahulJn

Link to comment
Share on other sites

If I understand well, the reason for such schema constraints is to avoid name collisions in generated files

But in the above scenario, at a time(i.e. in a given mode) either the main register or one of its alternate register will be valid. so any way there will no naming collision so why there is such constrains

 

Thanks

Rahuljn

Link to comment
Share on other sites

Hi Mark,

 

So after the fix, I can have two registers at the same offset with the same name.So in IP-Xact, I will have a register and one alternate register both having the same name

Can you confirm please ?

 

In summary, it is possible to have register and all of its alternate registers can have the same name.

Am I right ?

 

 

Thanks

RahulJn

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