16 lines
172 B
Coq
16 lines
172 B
Coq
|
|
module ternary;
|
||
|
|
|
||
|
|
wire [5:0] a;
|
||
|
|
wire [6:0] b;
|
||
|
|
wire c;
|
||
|
|
|
||
|
|
wire [5:0] d = c ? a : b;
|
||
|
|
|
||
|
|
initial
|
||
|
|
begin
|
||
|
|
$display("PASSED");
|
||
|
|
$finish;
|
||
|
|
end
|
||
|
|
|
||
|
|
endmodule
|