Resolved bit numbering expectations on spec tests for :msb0 vs :lsb0 to align with Origen Core updates. Fixed IP-XACT importer to allow passing of options hash. Transitioned from Travis CI to Github Actions for spec testing.
Updated IP-XACT export examples and usage explanations.
Updated to_ipxact to allow for proper export of top-level registers (ex: models with no sub-blocks). Added :addr_block_name to options hash to allow setting an addressBlock name in the XML output for this scenario. Also added a multi-bit :div reg to MCLKDIV register in dut.rb to improve testing coverage.
Fixed Issue #8 - IP-XACT import now correctly imports a register’s reset value from XML if no reset mask is defined. Added a test case to specs to cover this scenario and issue a warning if a reset is defined without an accompanying reset value.
Expanded to_ipxact to include 1685-2009 schema, corrected several export issues, and updated import to handle 1685-2009 schema (mainly register R/W access types). Expanded spec tests to cover all register access types supported by Origen core and each supported schema. (Chris Hume)
Updated to v0.38.0 of Origen core, which includes fixes for read/write-only conditions on some register access types and opens the Origen::Registers::Bit.const_get(ACCESS_CODES) hash up for visibility.
When exporting, the default schema is Spirit 1.4, but 1685-2009 can be chosen by adding
schema: '1685-2009'
to the ‘to_ipxact’ call. Also added support on IP-XACT export to set a
memory map name (:mmap_name
), vendor (:vendor
), id, name, memory map reference (:mmap_ref
),
and AMBA3 bus interface declaration (bus_interface: 'AMBA3'
is the only supported bus type at
this time). An example export template would be:
dut.to_ip_xact format: :uvm, schema: '1685-2009', mmap_name: 'RegisterMap', vendor: 'origen-sdk.org', library: 'id', name: 'ipxact', mmap_ref: 'test', bus_interface: 'AMBA3'
Bumped the version of the sanitize gem dependency, having libxml version issues with the old one
Removed the Origen format export option since Origen core now provides native import/export
All current importers (IP-XACT and CMSIS-SVD) have been updated to leverage the Origen import/export APIs to automatically store the imported data locally in Origen format, giving very fast application boot times after the initial import is done. See here for more: https://origen-sdk.org/cross_origen/#Data_Import
Various improvements to the IP-XACT and CMSIS-SVD importers
Added option to the Origen export format to render the model as a sub-block rather than a top-level itself, thus allowing it to be instantiated by another top-level class (Brian Caquelin)
Added reg and bit description importing to IP-XACT importer
Added ability for IP-XACT to export/import individual sub-blocks
Initial public release