2019-06-24 23:52:53 -05:00
|
|
|
read_verilog abc9.v
|
2019-07-02 21:13:40 -05:00
|
|
|
design -save read
|
|
|
|
hierarchy -top abc9_test027
|
2019-06-24 23:52:53 -05:00
|
|
|
proc
|
|
|
|
design -save gold
|
|
|
|
|
|
|
|
abc9 -lut 4
|
|
|
|
check
|
|
|
|
design -stash gate
|
|
|
|
|
|
|
|
design -import gold -as gold
|
|
|
|
design -import gate -as gate
|
|
|
|
|
|
|
|
miter -equiv -flatten -make_assert -make_outputs gold gate miter
|
|
|
|
sat -verify -prove-asserts -show-ports miter
|
|
|
|
|
2020-01-21 11:43:04 -06:00
|
|
|
|
2019-07-02 21:13:40 -05:00
|
|
|
design -load read
|
|
|
|
hierarchy -top abc9_test028
|
|
|
|
proc
|
|
|
|
|
|
|
|
abc9 -lut 4
|
2019-07-12 23:00:13 -05:00
|
|
|
select -assert-count 1 t:$lut r:LUT=2'b01 r:WIDTH=1 %i %i
|
2019-07-02 21:13:40 -05:00
|
|
|
select -assert-count 1 t:unknown
|
|
|
|
select -assert-none t:$lut t:unknown %% t: %D
|
2019-11-19 19:05:14 -06:00
|
|
|
|
2020-01-21 11:43:04 -06:00
|
|
|
|
2019-11-19 19:05:14 -06:00
|
|
|
design -load read
|
2019-11-21 18:32:52 -06:00
|
|
|
hierarchy -top abc9_test032
|
2019-11-19 19:05:14 -06:00
|
|
|
proc
|
2019-11-21 18:27:34 -06:00
|
|
|
clk2fflogic
|
2019-11-19 19:05:14 -06:00
|
|
|
design -save gold
|
|
|
|
|
|
|
|
abc9 -lut 4
|
|
|
|
check
|
|
|
|
design -stash gate
|
|
|
|
|
|
|
|
design -import gold -as gold
|
|
|
|
design -import gate -as gate
|
|
|
|
|
|
|
|
miter -equiv -flatten -make_assert -make_outputs gold gate miter
|
|
|
|
sat -seq 10 -verify -prove-asserts -show-ports miter
|
2020-01-21 11:43:04 -06:00
|
|
|
|
|
|
|
|
|
|
|
design -reset
|
|
|
|
read_verilog -icells <<EOT
|
|
|
|
module abc9_test036(input clk, d, output q);
|
|
|
|
(* keep *) reg w;
|
|
|
|
$__ABC9_FF_ ff(.D(d), .Q(w));
|
|
|
|
wire \ff.clock = clk;
|
|
|
|
wire \ff.init = 1'b0;
|
|
|
|
assign q = w;
|
|
|
|
endmodule
|
|
|
|
EOT
|
|
|
|
abc9 -lut 4 -dff
|