mirror of https://github.com/YosysHQ/yosys.git
Even more obvious testcase
This commit is contained in:
parent
61a1f3f49b
commit
4a80510877
|
@ -5,12 +5,11 @@ sat -seq 10 -prove-asserts
|
||||||
|
|
||||||
design -reset
|
design -reset
|
||||||
read_verilog -icells <<EOT
|
read_verilog -icells <<EOT
|
||||||
module top(input clk, i, output o, p);
|
module top(input clk, i, output [1:0] o);
|
||||||
(* init = 1'b0 *)
|
(* init = 2'bx0 *)
|
||||||
wire o;
|
wire [1:0] o;
|
||||||
(* init = 1'bx *)
|
assign o[1] = o[0];
|
||||||
wire p = o;
|
$_DFF_P_ dff (.C(clk), .D(i), .Q(o[0]));
|
||||||
$_DFF_P_ dff (.C(clk), .D(i), .Q(o));
|
|
||||||
endmodule
|
endmodule
|
||||||
EOT
|
EOT
|
||||||
sat -seq 1
|
sat -seq 1
|
||||||
|
|
Loading…
Reference in New Issue