mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-11-03 21:09:12 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			6 lines
		
	
	
	
		
			98 B
		
	
	
	
		
			Verilog
		
	
	
	
	
	
			
		
		
	
	
			6 lines
		
	
	
	
		
			98 B
		
	
	
	
		
			Verilog
		
	
	
	
	
	
module dlatch( input d, en, output reg q );
 | 
						|
	always @* begin
 | 
						|
		if ( en )
 | 
						|
			q = d;
 | 
						|
	end
 | 
						|
endmodule
 |