Releases: darsor/PeakRDL-rust
Releases · darsor/PeakRDL-rust
v0.5.1
v0.5.0
PeakRDL-rust v0.5.0
Added
- Command line option to override byte or word endianness
- All command line options can now be specified in the
peakrdl.tomlconfiguration file
Changed
- Accesses on Memory components now use the configured byte endianness
- Generated type names don't case convert the normalization suffix (if present)
Full Changelog: v0.4.1...v0.5.0
v0.4.1
PeakRDL-rust v0.4.1
Fixed
- Use
wrapping_byte_addinstead ofbyte_addto avoid provenance/dangling pointer compile errors
Full Changelog: v0.4.0...v0.4.1
v0.4.0
PeakRDL-rust v0.4.0
Added
- Tests now treat pedantic clippy lints as errors
- Derive common traits for
MemEntrystruct - Examples in sphinx documentation, including generated crate's cargo docs
- Top-level nodes are publicly re-exported at the crate root
Changed
- Refactored
Memorytrait to be consistent with no-owned-struct approach used by other component types - Components named
mod(a rust keyword) are now escaped asmod_instead ofr#modto avoid generating files namedmod.rs - Rename memory component
len()method tonum_entries() UnknownVariant<T>is now a public tuple struct- Handled all pedantic clippy lints
Removed
MemEntrystruct methodswidth()andmask()(use width method on theMemoryitself)
Fixed
- Field getters were not
pubin several instances
Full Changelog: v0.3.0...v0.4.0
v0.3.0
PeakRDL-rust v0.3.0
Added
- Memories now have an access attribute to restrict reads/writes for write-only and read-only memories
Changed
- Little-endian accesses follow industry standards rather than SystemRDL spec (see the errata)
- Getters for enum-encoded fields return a
Resultinstead of anOption, with the error variant containing the unknown field value. - Getters for enum-encoded fields unwrap the returned
Resultif every bit pattern is represented - Register methods for getting and setting fields are no longer
const Debugimpl for registers no longer prints the values of write-only fields
Fixed
- Several instances of improper or missing rust keyword escaping
- Enum-encoded field
bits()method returnedu8instead of the field's primitive type
Full Changelog: v0.2.2...v0.3.0
v0.2.2
PeakRDL-rust v0.2.2
Fixed
- Fixed-point setter was generated for all fields, even if not writeable
Full Changelog: v0.2.1...v0.2.2
v0.2.1
v0.2.0
PeakRDL-rust v0.2.0
Added
- Support for is_signed, intwidth, and fracwidth UDPs
- Coveralls test coverage reporting
Full Changelog: v0.1.0...v0.2.0
v0.1.0
PeakRDL-rust v0.1.0
Initial release
Full Changelog: https://github.com/darsor/PeakRDL-rust/commits/v0.1.0