summaryrefslogtreecommitdiff
path: root/passes/sat/example.ys
blob: 11f5b924b60d332567b0d2bf33f106cc86c65448 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
read_verilog example.v
proc; opt_clean

sat -set y 1'b1 example001
sat -set y 1'b1 example002
sat -set y_sshl 8'hf0 -set y_sshr 8'hf0 -set sh 4'd3 example003
sat -set y 1'b1 example004
sat -show rst,counter -set-at 3 y 1'b1 -seq 4 example004

sat -prove y 1'b0 -show rst,counter,y example004
sat -prove y 1'b0 -show rst,counter,y -set-at 1 rst 1'b1 -seq 1 example004