rahuljn Posted September 4, 2014 Report Share Posted September 4, 2014 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 Quote Link to comment Share on other sites More sharing options...
rahuljn Posted September 4, 2014 Author Report Share Posted September 4, 2014 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 Quote Link to comment Share on other sites More sharing options...
marknoll Posted September 4, 2014 Report Share Posted September 4, 2014 Hi Rahuljn, This is a known bug in the constraints defined for the schema. Since the fix does not impact the schema syntax in any way, we have already independently proposed a fix that should cause an update to the hosted schema files in the near future. Thanks, Mark Quote Link to comment Share on other sites More sharing options...
rahuljn Posted September 5, 2014 Author Report Share Posted September 5, 2014 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 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.