Answers for "how to use for loop in verilog"

0

how to use for loop in verilog

module my_design;
	integer i;

	initial begin
		// Note that ++ operator does not exist in Verilog !
		for (i = 0; i < 10; i = i + 1) begin
			$display ("Current loop#%0d ", i);
		end
	end
endmodule
Posted by: Guest on March-04-2021

Code answers related to "how to use for loop in verilog"

Browse Popular Code Answers by Language