Closed amirgon closed 2 years ago
Also added bugfix for enumeratedValues printing.
Many thanks. This looks fine to me. Please note though that there is a new API coming up that will eventually replace the old one
Please note though that there is a new API coming up that will eventually replace the old one
@olofk - Could you elaborate on this?
Why is the API changing? What is wrong with the existing API? Where is the new API defined?
Please take into account that many people are already using your library. It's very useful and easy to use in its current state.
I doubt many would take the trouble to refactor their code to use the new API on existing code. So once you remove the current API, many would remain locked to an older version of ipyxact that supports the old API.
Did you consider this?
Missed replying to this @amirgon . The biggest issue is that current API only covers a small subset of IP-XACT and it would require a ton of work to do it all. With the new API I can automatically generate the Python classses directly from the official xsd files. It does need some fixups, but that's nothing compared to what would be needed to do a manual implementation. The API is also surprisingly similar, so hopefully it won't be too much work to port over existing code.
Memory maps and address blocks can specify name and description. Print them out in the Markdown file, when they are specified.