Chisel v5.0.0-RC2
Pre-release
Pre-release
Features
- Implement read-write memory accessors for SyncReadMem (backport #3190) (by @mergify[bot] in #3214)
SyncReadMem.readWrite(address, writeData, enabled, isWrite)explicitly generates a read-write port that supports both read and write access to the memory. - Added more Connectable customization functions (backport #3227) (by @mergify[bot] in #3231)
- Added
.unsafe, a useful function on Connectable when users want a connection to "try its best but don't error". - Added
.squeezeAllAs, a useful function on Connectable when users want a connection to always squeeze, as well as upcast if desired. - Added
.as, a useful function on Connectable when users to upcast the Scala type. - Connectable's now register erroneous connections (e.g. out of scope, unwritable sinks) to throw at end of elaboration
- Added
Fixes
- Revert checks for size 0 Vecs in connections (backport #3215) (by @mergify[bot] in #3216)
- Fix Instantiate for Product parameters (backport #3210) (by @mergify[bot] in #3218)
Instantiate previously erased type information for case classes and case objects which could result in incorrect behavior.
Documentation
Dependency Updates
Build and Internal Changes
- Add Chisel Scala CLI template and automation (backport #3186) (by @mergify[bot] in #3194)
Add a new Chisel template for using Chisel with Scala CLI, and adds some automation for uploading versions of this template on tagged releases (or workflow dispatch). - Add Data.findFirstTypeMismatch for better type checking (backport #3201) (by @mergify[bot] in #3205)
- Read previousVersions for bincompat checking from a file (backport #3202) (by @mergify[bot] in #3208)
We can now simply append versions as they are released toproject/previous-versions.txton relevant release branches.build.sbtalso now contains instructions are how to waive binary compatibility breakages. - Enable push CI on all *.x branches (backport #3222) (by @mergify[bot] in #3223)
- Improve SyncReadMem.read, .readWrite (backport #3221) (by @mergify[bot] in #3233)
Full Changelog: v5.0.0-RC1...v5.0.0-RC2