-
If I run ChiselStage.emitSystemVerilog in 5.0.0, I only see .anno.json file. I'm not sure I'm missing anything or this is a bug. If I specify "-o=filename.v" to firtoolOpts, the specified verilog file is generated (desiredName is ignored). BTW, here is the import line. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
I noticed that emitSystemVerilogFile() correctly generates a verilog file. |
Beta Was this translation helpful? Give feedback.
-
It's expected behavior as Yes, the correct way to do what you want is with the |
Beta Was this translation helpful? Give feedback.
-
Thank you for the insight and for confirming the API! |
Beta Was this translation helpful? Give feedback.
It's expected behavior as
emitSystemVerilog
is returning a string (and supposed to avoiding all file access). In later versions of Chisel there should be no annotation file, I think, as the annotations are passed in FIRRTL text via a pipe.Yes, the correct way to do what you want is with the
*File*
functions which will output a file.