File size: 226 Bytes
684db41 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | 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
|