You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use-case: I'm creating a "rom" in a testbench by using Chisel that evaluates to a VecInit(), I was surprised that I'm unable to get a friendly name in .sv. I tried countLength.suggestName("countLength").
I'm pleasantly shocked that this works, that it creates a ROM, as I'm Module(new Foo() with InlineInstance) for each element in the array above. Some serious constant folding going on.
It saves me a ton of work to be able to do these sort of constant expression ROMs for testbenches.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
When I do this, in Chisel 7.0.0-RC3
I get:
Use-case: I'm creating a "rom" in a testbench by using Chisel that evaluates to a VecInit(), I was surprised that I'm unable to get a friendly name in .sv. I tried
countLength.suggestName("countLength")
.I'm pleasantly shocked that this works, that it creates a ROM, as I'm
Module(new Foo() with InlineInstance)
for each element in the array above. Some serious constant folding going on.It saves me a ton of work to be able to do these sort of constant expression ROMs for testbenches.
Beta Was this translation helpful? Give feedback.
All reactions