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

SVD generator: redundant cluster layer #111

Open
hegza opened this issue Jun 4, 2024 · 0 comments
Open

SVD generator: redundant cluster layer #111

hegza opened this issue Jun 4, 2024 · 0 comments

Comments

@hegza
Copy link

hegza commented Jun 4, 2024

SVD files generated from IP-XACT memory maps typically have a redundant cluster layer even when not always necessary. I'm guessing the UI might be enforcing this.

<peripheral>periph</peripheral>
  <cluster>cluster</cluster> <!-- This layer shouldn't be necessary. -->
    <register>reg0</register>
    <register>reg1</register>
    ...
<peripheral>periph</peripheral>
  <!-- Registers can be defined at this layer already. -->
  <register>reg0</register>
  <register>reg1</register>
  ...

We see in the output that there's usually some workaround looking thing like <cluster>registers</cluster>.

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

1 participant