nextpnr/fpga_interchange/examples/tests/lut_nexus/run.tcl
gatecat ecfaae7f9e interchange: Add Nexus LUT test
Signed-off-by: gatecat <gatecat@ds0.me>
2021-03-30 16:31:51 +01:00

15 lines
259 B
Tcl

yosys -import
read_verilog $::env(SOURCES)
synth_nexus -noccu2 -nobram -nolutram -nowidelut
# opt_expr -undriven makes sure all nets are driven, if only by the $undef
# net.
opt_expr -undriven
opt_clean
setundef -zero -params
write_json $::env(OUT_JSON)