mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-11-04 05:19:11 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			15 lines
		
	
	
	
		
			248 B
		
	
	
	
		
			Verilog
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
	
		
			248 B
		
	
	
	
		
			Verilog
		
	
	
	
	
	
module $_DLATCH_P_(input E, input D, output Q);
 | 
						|
	GP_DLATCH _TECHMAP_REPLACE_ (
 | 
						|
		.D(D),
 | 
						|
		.nCLK(!E),
 | 
						|
		.Q(Q)
 | 
						|
		);
 | 
						|
endmodule
 | 
						|
 | 
						|
module $_DLATCH_N_(input E, input D, output Q);
 | 
						|
	GP_DLATCH _TECHMAP_REPLACE_ (
 | 
						|
		.D(D),
 | 
						|
		.nCLK(E),
 | 
						|
		.Q(Q)
 | 
						|
		);
 | 
						|
endmodule
 |