I'm working with a team that use verilog as well. I feel it is way faster to use chisel power to manage the interconnections between modules than bare verilog. I can see from the chisel tutorial that blackbox wrappers are written manually.The io signals are defined by hand.
Is it possible to extract the io info from verilog and define chisel blackbox io automatically? (aka, generate a blackbox from verilog instead of defining a blackbox class by some human being by reading the verilog. )
for example:
val bbox = blackbox("someModule.v")
and then, the bbox will be an functioning blackbox with all the ios and name defined.
Since the io signal is val
s in scala, I wonder if there is a meta way towards this goal.