15 lines
253 B
Tcl
15 lines
253 B
Tcl
yosys -import
|
|
|
|
read_verilog ff.v
|
|
|
|
synth_xilinx -nolutram -nowidelut -nosrl -nocarry -nodsp
|
|
|
|
# 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 build/ff.json
|