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

Address block attributes #45

Open
info-rchitect opened this issue Dec 31, 2019 · 1 comment
Open

Address block attributes #45

info-rchitect opened this issue Dec 31, 2019 · 1 comment
Labels
feature discussion Discussion on a feature's requirements or implementation

Comments

@info-rchitect
Copy link
Member

I am working on the remote file translator, specifically on IP-XACT currently. I don't see a way to model some of the address block attributes such as range and width.

  <spirit:memoryMaps>
    <spirit:memoryMap>
      <spirit:name>RegisterMap</spirit:name>
      <spirit:addressBlock>
        <spirit:name></spirit:name>
        <spirit:baseAddress>0x0</spirit:baseAddress>
        <spirit:range>20</spirit:range>
        <spirit:width>32</spirit:width>

Is this on the TODO list?

@info-rchitect info-rchitect added the feature discussion Discussion on a feature's requirements or implementation label Dec 31, 2019
@ginty
Copy link
Member

ginty commented Jan 1, 2020

Yes, I think the API will be:

with AddressBlock("bank0", range=20, width=32):

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature discussion Discussion on a feature's requirements or implementation
Projects
None yet
Development

No branches or pull requests

2 participants