16 lines
217 B
Coq
16 lines
217 B
Coq
|
|
module test;
|
||
|
|
|
||
|
|
parameter bar = 8;
|
||
|
|
localparam foo = 2**bar;
|
||
|
|
|
||
|
|
initial begin
|
||
|
|
if (foo != 'h100) begin
|
||
|
|
$display("FAILED -- foo = %h", foo);
|
||
|
|
$finish;
|
||
|
|
end
|
||
|
|
|
||
|
|
$display("PASSED");
|
||
|
|
end
|
||
|
|
|
||
|
|
endmodule
|