diff options
| author | mergify[bot] | 2022-10-17 22:50:55 +0000 |
|---|---|---|
| committer | GitHub | 2022-10-17 22:50:55 +0000 |
| commit | 1957f5ef5c43439144cf779a343707872ca92d6a (patch) | |
| tree | a13298b8b9fbe0d2130800e25e2faf75e5891487 /docs-target/src | |
| parent | 1e9f4e99167d1bc132a1a1a04e6987c2161c4d0e (diff) | |
Add opt-in AutoCloneType for Records (backport #2781) (#2785)
* Add opt-in AutoCloneType for Records (#2781)
There is a new trait, chisel3.experimental.AutoCloneType that is mixed
in to Bundle and can optionally be mixed in to user-defined Records. The
compiler plugin prints a deprecation warning on any user-defined
implementation of cloneType, telling the user to mix in AutoCloneType
before upgrading to 3.6.
(cherry picked from commit a234fd48ac8f5942c38fef5797292014e407b586)
# Conflicts:
# core/src/main/scala/chisel3/Aggregate.scala
# plugin/src/main/scala/chisel3/internal/plugin/BundleComponent.scala
* Resolve backport conflicts
* Do not make MixedVec extend AutoCloneType
It is a binary incompatible change that can wait for 3.6.
* Waive MiMa false positives
Co-authored-by: Jack Koenig <koenig@sifive.com>
Diffstat (limited to 'docs-target/src')
0 files changed, 0 insertions, 0 deletions
