yosys/tests/techmap/bug2759.ys

15 lines
226 B
Plaintext
Raw Normal View History

read_verilog -specify <<EOT
(* abc9_box, whitebox *)
module box(input [1:0] i, output o);
specify
(i *> o) = 1;
endspecify
assign o = ^i;
endmodule
module top(input [1:0] i, output o);
box i1(i, o);
endmodule
EOT
abc9 -lut 4