-
Notifications
You must be signed in to change notification settings - Fork 26
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
Properties ignored in the translation XML to RDL #25
Comments
Did a further trial about the hdl_path property: |
IP-XACT conversion is not going to be 100% symmetrical. A good amount of features between IP-XACT and SystemRDL do indeed overlap, but not all, so some information loss will happen in the conversion. The PeakRDL projects are optimized to use SystemRDL concepts, so I'll always recommend using RDL as the primary input language. Regarding HDL paths, see this issue ticket: SystemRDL/PeakRDL-ipxact#14 Regarding range/width, this is due to a difference in philosophy between IP-XACT and SystemRDL standards. IP-XACT lets you define an explicit block size, where SystemRDL does not have a mechanism to explicitly add address padding (it can only be implied by instance placement). For this reason, you might get subtle differences (see my first comment on symmetry above) For the ValueError exception, can you attach a small example XML file so I can reproduce the issue? The importer should be able to handle all variants of IP-XACT, including all variations of integer representations. |
Thanks a lot for quick answer. |
Another question please:
|
Ah i see the issue with the 2014 xml. It looks like the tool you are using is generating values that have expressions in them:
Currently the importer assumes simple integer literals. Regarding the install issue - i have not seen that before. Will have to look into it in more detail. |
Thanks amykyta3, for the checks & hints ! In the meantime another question please concerning user-defined properties. In case yes, could you please provide an example of a TOML configuration file? thanks for the help & attention! |
Here is an example in the HTML generator's readme file: https://github.com/SystemRDL/PeakRDL-html#peakrdl-toml-config-options I admit I need to improve how the PeakRDL documentation links to all the sub-component documentation. It isn't the most obvious. |
Created this issue to track the expression parsing feature: SystemRDL/PeakRDL-ipxact#18 Since it sounds like everything else we discussed has been answered, I'm closing this. |
Hello Alex thanks for the support, and will follow the expression-parsing issue. Need to ask you about the installation issue mentioned above. |
Hello dear PeakRDL developers
First of all, thanks a lot for the cool project and package. Started using it last week, and having helpful results!
Nevertheless having some difficulties, for example:
XML => RDL
while translating XML (ipxact 2009) to RDL, certain properties are ignored, like:
for registers: hdl_path
for register-files: range and width
The register-file properties are ignored, but then if convert back RDL=>XML some kind of default value is taken...
RDL => XML
Here also the hdl_path property is ignored, when translating back into XML.
So overall if hdl_path property supported?
XML version
then tried newer version of XML (ipxact 2014, converted with xsltproc and official stylesheet from accelera), but here the parsing in peakrdl crashes (error below)
d['reset.value'] = self.parse_integer(get_text(value_el))
File "/home/mdqe/PycharmProjects/pythonProject/venv/lib/python3.6/site-packages/peakrdl_ipxact/importer.py", line 691, in parse_integer
raise ValueError
Are any of these limitations/issues already known? Any workaround available?
The text was updated successfully, but these errors were encountered: