Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
12
Task/Loops-For/Verilog/loops-for.v
Normal file
12
Task/Loops-For/Verilog/loops-for.v
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
module main;
|
||||
integer i, j;
|
||||
|
||||
initial begin
|
||||
|
||||
for(i = 1; i <= 5; i = i + 1) begin
|
||||
for(j = 1; j <= i; j = j + 1) $write("*");
|
||||
$display("");
|
||||
end
|
||||
$finish ;
|
||||
end
|
||||
endmodule
|
||||
Loading…
Add table
Add a link
Reference in a new issue