13 lines
155 B
Verilog
13 lines
155 B
Verilog
module main;
|
|
integer i;
|
|
|
|
initial begin
|
|
i = 1;
|
|
|
|
while(i > 0) begin
|
|
$display(i);
|
|
i = i + 1;
|
|
end
|
|
$finish ;
|
|
end
|
|
endmodule
|