aboutsummaryrefslogtreecommitdiffstats
path: root/fpga_interchange/examples/tests/counter/run.tcl
blob: 7cd9f10f0ddc9af95251d627855b8f259dd48b94 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
yosys -import

read_verilog $::env(SOURCES)

synth_xilinx -nolutram -nowidelut -nosrl -nocarry -nodsp
techmap -map ../remap.v

# 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)