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

Stop Emitting BlackBoxResourceAnno (backport #1954) (#1958)



* Stop Emitting BlackBoxResourceAnno (#1954)

* Change HasBlackBoxResource to Resolve Resources

Change HasBlackBoxResource to resolve resources immediately and emit
BlackBoxInlineAnno instead of a BlackBoxResourceAnno.  This removes the
need for a FIRRTL compiler to grok the Java Resource API in order to
handle BlackBoxResourceAnno.

Emit BlackBoxInlineAnno from HasExtModuleResource instead of
BlackBoxResourceAnno.

Signed-off-by: default avatarSchuyler Eldridge <schuyler.eldridge@sifive.com>
(cherry picked from commit 820200b7

)

# Conflicts:
#	src/main/scala/chisel3/util/BlackBoxUtils.scala

* fixup! Stop Emitting BlackBoxResourceAnno (#1954)

Co-authored-by: default avatarSchuyler Eldridge <schuyler.eldridge@sifive.com>
parent 61fbf23c
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