mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-31 03:32:29 +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
 |