mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-11-03 21:09:12 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			11 lines
		
	
	
	
		
			179 B
		
	
	
	
		
			Systemverilog
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
	
		
			179 B
		
	
	
	
		
			Systemverilog
		
	
	
	
	
	
module local_loop_top(out);
 | 
						|
	output integer out;
 | 
						|
	initial begin
 | 
						|
		integer i;
 | 
						|
		for (i = 0; i < 5; i = i + 1)
 | 
						|
			if (i == 0)
 | 
						|
				out = 1;
 | 
						|
			else
 | 
						|
				out += 2 ** i;
 | 
						|
	end
 | 
						|
endmodule
 |