sifive / duh-ipxact

❌ DUH IP-XACT import / export package
https://github.com/sifive/duh
Apache License 2.0
6 stars 3 forks source link

port width extraction from IPXACT 2014 #5

Closed drom closed 1 year ago

drom commented 4 years ago

The width of the following port should be extracted as 8.

IPXACT 2014 compliant definition

...
  <ipxact:ports>
    <ipxact:port>
      <ipxact:name>addr</ipxact:name>
        <ipxact:wire>
          <ipxact:direction>in</ipxact:direction>
          <ipxact:vectors>
            <ipxact:vector>
              <ipxact:left>7</ipxact:left>
              <ipxact:right>0</ipxact:right>
            </ipxact:vector>
          </ipxact:vectors>
        </ipxact:wire>
...