Comments (4)
Hi all.
In the README, you say:
When an IP-XACT file is imported, the register description is loaded into the SystemRDL register model as if it was an addrmap component declaration. Once imported, the IP-XACT contents can be used as-is, or referenced from another RDL file.
Does this mean that IP-XACT components can be instantiated inside SystemRDL addrmaps? That is a very useful thing to have. Do you have any examples of such usage?
from peakrdl-ipxact.
Yep! its really useful if you need to glue multiple IP-XACT files together from a vendor.
I just uploaded an example. Hope this helps: https://github.com/SystemRDL/PeakRDL-ipxact/tree/master/examples
from peakrdl-ipxact.
Thanks for coming up with that example! Certainly clarifies things for me.
Does this mean that we should be able to convert an IP-XACT register model into a SystemRDL model? All that we would need is to write a SystemRDLExporter. How would one go about writing such a thing?
from peakrdl-ipxact.
Yes it would certainly be possible to export back to SystemRDL.
I'd recommend looking at the compiler's API reference: https://systemrdl-compiler.readthedocs.io/en/latest/
To export, I'm a big fan of using the Jinja template engine. I used it extensively to generate the UVM exporter: https://github.com/SystemRDL/PeakRDL-uvm/tree/master/peakrdl/uvm/templates
Writing an exporter doesn't seem too difficult. I think I could throw one together pretty quickly...
from peakrdl-ipxact.
Related Issues (18)
- Finish vendor extension hooks
- Ipxact to SysRDL. HOT 2
- $GIT_PYTHON_GIT_EXECUTABLE required HOT 2
- IPXACT parse hdl paths HOT 2
- Use optional dependencies to avoid breaking older versions of peakrdl HOT 2
- alternate registers HOT 2
- Extend value parsing to interpret constant expressions
- Add support for IP-XACT 1685-2022
- Add export support for IEEE_1685_2009 format
- IPXACT importer is arraying registers when it is not required. HOT 2
- Importer should set the `hw` property based on IP_XACT's `volatile` tag HOT 1
- Volatile property interpretation HOT 1
- vendorExtension for fields is not added within the field HOT 1
- Import IP-XACT with more than 1 memoryMap HOT 2
- export systemRDL HOT 4
- Handle cases where legal IP-XACT names are not legal SystemRDL names HOT 5
- Announcement: Deprecating import via "peakrdl.ipxact" namespace package
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from peakrdl-ipxact.