Unverified Commit af2cd8e6 authored by mergify[bot]'s avatar mergify[bot] Committed by GitHub
Browse files

Fix RegInit of Bundle lits (bp #1688) (#1689)

* Fix RegInit of Bundle lits (#1688)

Implemented by folding Element.ref into Data.ref. Element.ref had
special handling for literals, but because Bundles can also be literals,
there were code paths that tried to get the ref of a Bundle literal
which was non-existent. Now, all literals are handled together.

Because FIRRTL does not have support for Bundle literals, Bundle literal
refs are implemented by materializing a Wire.

(cherry picked from commit 5a6ce660

)

* Waive bincompat issue on package private method

Co-authored-by: default avatarJack Koenig <koenig@sifive.com>
parent ffc086e3
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment