10 lines
145 B
Coq
10 lines
145 B
Coq
|
|
module top;
|
||
|
|
integer in;
|
||
|
|
|
||
|
|
initial begin
|
||
|
|
in = 2;
|
||
|
|
if ($clog2(in) != 1) $display("FAILED");
|
||
|
|
else $display("PASSED");
|
||
|
|
end
|
||
|
|
endmodule
|