Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XML Data Dictionary #3

Open
sdnellen opened this issue Jul 25, 2019 · 4 comments
Open

XML Data Dictionary #3

sdnellen opened this issue Jul 25, 2019 · 4 comments

Comments

@sdnellen
Copy link
Owner

From open-register-design-tool created by WebMonkey007: Juniper#52

The current XML output includes the Instance view but does not include the "data dictionary "

ie
addrmap counters {
counter_t transaction_cnt[10];
counter_t error_cnt[5];
};
so the xml will list tranaction_cnt and error_cnt but there is no indication that register def is the same.

I would be useful to include a "type" tag in the instances and a "data type" tree in the xml or a parallel xml file.

@sdnellen
Copy link
Owner Author

Understand request - it has some benefits.
Just fyi, a couple reasons this feature was considered lower priority:

  • rdl allows instance info to be overriden for many parameters via dynamic assign, eg could do error_cnt->reset=0x1f which makes the 2 instances of counter_t different
  • rdl allows anonymous instances, which have no type

@amykyta3
Copy link

FYI @sdnellen, I have also noticed this limitation in RDL's semantics for type names & dynamic assigns. If you're interested, I'm putting together a proposed behavior to uniquify type names here: SystemRDL/systemrdl-compiler#29

ps: congrats on the new gig!

@sdnellen
Copy link
Owner Author

Thanks, will take a look!

@sdnellen
Copy link
Owner Author

sdnellen commented Sep 27, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants