File size: 250 Bytes
055c19b | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | module top(input a, b, output o);
assign o = a & b;
endmodule
(* blackbox *)
module bb(input a, b, output o);
assign o = a | b;
specify
(a => o) = 1;
endspecify
endmodule
(* whitebox *)
module wb(input a, b, output o);
assign o = a ^ b;
endmodule
|