aboutsummaryrefslogtreecommitdiffstats
path: root/fpga_interchange/examples/tests/counter/run.tcl
blob: ffea3b2edf23713a4450b5c390b6832389c85237 (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 $::env(TECHMAP)

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