Add "mult" examples
[nan-gate] / example / mult.ys
1 plugin -i nangate
2 read_verilog -sv example/mult.sv
3 # read_verilog -sv example/shift_reg.sv
4 chparam -set WIDTH 16 -set STAGES 4 mult
5 synth -flatten -top mult
6 abc -g NAND -dff -D 1
7 synth_nan -top mult
8 synth_ice40 -noflatten -top mult
9 flatten
10 write_blif -gates -attr -param mult.blif
11 stat