mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-11-04 13:29:12 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			12 lines
		
	
	
	
		
			215 B
		
	
	
	
		
			Verilog
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
	
		
			215 B
		
	
	
	
		
			Verilog
		
	
	
	
	
	
module uut_always01(clock, reset, c3, c2, c1, c0);
 | 
						|
 | 
						|
input clock, reset;
 | 
						|
output c3, c2, c1, c0;
 | 
						|
reg [3:0] count;
 | 
						|
 | 
						|
assign {c3, c2, c1, c0} = count;
 | 
						|
 | 
						|
always @(posedge clock)
 | 
						|
	count <= reset ? 0 : count + 1;
 | 
						|
 | 
						|
endmodule
 |