Chisel v6.3.0
Features
- Add DeletedPath for targets that no longer exist. (backport #3937) (by @mergify[bot] in #3938)
Sometimes a generator wants to emit a Path that targets some Data, but that Data isn't always produced by the generator. The DeletedPath can be used to represent the presence of a Path, but the absence of a Data in this case. - Add requireIsAnnotatable for better errors when annotating literals (backport #3968) (by @mergify[bot] in #3971)
This gives much better error messages when accidentally dontTouching a literal
Performance
- Optimize BitPat factory from UInt literals (backport #3988) (by @mergify[bot] in #3989)
Speeds up conversion of UInt literals to BitPat by ~9x in practice, ~70x for large UInts. - Optimize truth table merge (backport #3993) (by @mergify[bot] in #3995)
Fixes
- toBigInt should round identically for Double and BigDecimal (backport #3921) (by @mergify[bot] in #3927)
- Fix Data.findFirstTypeMismatch to check all elements of Bundles (backport #3928) (by @mergify[bot] in #3930)
FixesDataMirror.checkTypeEquivalence
to actually check all fields of Bundles and Records. This may expose latent bugs in user code. - Support literals in DataView (backport #3964) (by @mergify[bot] in #3966)
View of literals will now themselves be literals. This also fixes an internal bug related to views of literals. - Fix === for abstract Reset types (backport #3979) (by @mergify[bot] in #3982)
Previously, the function would infinitely recurse resulting in a stack overflow. - Provide require message for negative widths (backport #4008) (by @mergify[bot] in #4010)
Fixes #4007
Documentation
- Rename Scala CLI template to example (backport #3917) (by @mergify[bot] in #3920)
Existing links tohttps://github.com/chipsalliance/chisel/releases/latest/download/chisel-template.scala
should instead usehttps://github.com/chipsalliance/chisel/releases/latest/download/chisel-example.scala
- [website] Bump Docusaurus to 3.1.1 and fix broken anchors (backport #3948) (by @mergify[bot] in #3949)
Build and Internal Changes
- [6.x] Enable MiMa for v6.2.0 (by @chiselbot in #3915)
Full Changelog: v6.2.0...v6.3.0