summaryrefslogtreecommitdiff
path: root/passes/sat/example.ys
blob: dd1a117f87e4cdda11ee500d1665a2d0caa7487f (plain)
1
2
3
4
5
6
7
read_verilog example.v
proc; opt_clean
sat_solve -set y 1'b1 example001
sat_solve -set y 1'b1 example002
sat_solve -set y_sshl 8'hf0 -set y_sshr 8'hf0 -set sh 4'd3 example003
sat_solve -set y 1'b1 example004
sat_solve -show rst,counter -set-at 3 y 1'b1 -seq 4 example004