Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix widths for literal values in Bundle literals (#4082)
* Fix widths for literal values in Bundle literals Previously, the user-specified (or unspecified minimum width) of the literal would be used in some operations like concatenation. * Implicitly truncate too-wide literals in Bundle literals This is to fix a bug in concatenation without breaking things relying on implicit truncation. This will be a warning in newer versions of Chisel. (cherry picked from commit 3939e57) # Conflicts: # core/src/main/scala/chisel3/internal/firrtl/IR.scala # src/test/scala/chiselTests/BundleLiteralSpec.scala # src/test/scala/chiselTests/ConnectableSpec.scala # src/test/scala/chiselTests/VecLiteralSpec.scala
- Loading branch information