-
-
Notifications
You must be signed in to change notification settings - Fork 83
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
Implement UCIS coverage API export #933
Comments
I actually started doing this last year but didn't get very far. Either we could export using the UCIS C API (which would allow us to write directly to ModelSim's ucdb database if we linked against their library), or export directly to XML similar to the Cobertura exporter. The disappointing thing about the XML format is that it doesn't seem to be widely adopted by vendors: ModelSim only allows import not export, and RiveraPro exports to XML but the schema is totally different to the standard (?!). |
I don't know, I only started looking at the standard now, last time we chatted about it, I only briefly skimmed through. As of the C API export I think:
As for the XML:
Sure, both XML and C API would be best. Import and Export by NVC would be best, but that is a lot of work and lot of maintenance then. I think highest priority would be to write XML exporter to |
UCIS / System Verilog do cartesian crosses real well. However if your coverage model is not so symmetric - and many of mine are - then it does not fit so well. I have tried hand writing a coverage file in the XML format and none of the tools were able to import it. So my assumption is that they do not implement the standard as it is written, but instead do something else - yea. So XML for import/export is not a worth while exercise. The C API should work. I think that Matthew Ballance did some work for Python in this area. That is outside of my area of interest (and expertise) so I did not pursue it for OSVVM. |
Right, that would be https://fvutils.github.io/pyucis/ |
The current coverage data format is not usable with other HW tools.
To tackle the interoperability, Accelera released UCIS (Unified Coverage Interoperabiliy Standard):
https://www.accellera.org/downloads/standards/ucis
The aim of this issue is to extend
--cover-export
command to allow exportingalso to UCIS format.
The text was updated successfully, but these errors were encountered: