don't know the value of args of 'emitSystemVerilog' #3587
Unanswered
Rogerskelamen
asked this question in
Q&A
Replies: 1 comment 1 reply
-
You can also use the simpler version, including an option for the folder:
emitVerilog(new Add(), Array("--target-dir", "generated”))
Cheers,
Martin
… On 19.10.2023, at 13:10, RO ***@***.***> wrote:
I know that if I want to generate verilog file for my chisel code, I have to use circt.stage.ChiselStage.emitSystemVerilog. I also notice that it accepts a argument call 'args' according to the source code <https://github.com/chipsalliance/chisel/blob/86b2a7d3f7807ca0d1d8a725bd87ee4be1f61007/src/main/scala/circt/stage/ChiselStage.scala#L192>, but I don't know any available arguments I can use, so anybody helps me here?
Currently I just want to use 'args' to specify the directory that verilog code generates out.
—
Reply to this email directly, view it on GitHub <#3587>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AAE63GCEUALPXZECWQKKZADYAEDEDAVCNFSM6AAAAAA6HAL4VWVHI2DSMVQWIX3LMV43ERDJONRXK43TNFXW4OZVG42TGMRVGQ>.
You are receiving this because you are subscribed to this thread.
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I know that if I want to generate verilog file for my chisel code, I have to use circt.stage.ChiselStage.emitSystemVerilog. I also notice that it accepts a argument call 'args' according to the source code, but I don't know any available arguments I can use, so anybody helps me here?
Currently I just want to use 'args' to specify the directory that verilog code generates out.
Beta Was this translation helpful? Give feedback.
All reactions