How to compile Calyx such that the output is appropriate for Vivado synthesis? #1063
-
Hi all, I'm trying to compile the examples and then run them through synthesis manually in Vivado, so that I can attempt to get timing estimates. I already know that a design such as
If I delete the unsynthesizable code, then I get:
Is there anything special I need to do to compile these designs to be usable in Vivado? It's been years since I've used Vivado with any regularity, so there may also be stuff I can do on the Vivado side. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Yup, synthesis requires a different compilation flow than normal simulation. You want to run something like You can use the |
Beta Was this translation helpful? Give feedback.
Yup, synthesis requires a different compilation flow than normal simulation. You want to run something like
cargo run -- <file> -p external
(if you're just running the calyx compiler) orfud e --to synth-verilog <file>
to get synthesizable verilog.You can use the
fud ... -vv
flag to makefud
print out the commands it's running andfud .. -n
to do a "dry run" and see which stages are used in the process of generatingresource-estimate
and recreate the commands yourself.