简体   繁体   中英

wrap Verilog code in chisel

Is it possible to wrap some verilog code into chisel/scala code? if yes, how can I do this? I need to use some verilog module in chisel.

thank you

Francesco

You will want to look up the BlackBox construct ( https://chisel.eecs.berkeley.edu/2.2.0/chisel-manual.pdf ) and see if that addresses your question.

The BlackBox will let you describe how Chisel interfaces with your Verilog code. Then, you compile your Chisel design to Verilog. Once you have Chisel's outputted Verilog, you have to manually connect your Chisel Verilog design to your existing Verilog code.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM