mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-11-04 05:19:11 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			8 lines
		
	
	
	
		
			139 B
		
	
	
	
		
			Verilog
		
	
	
	
	
	
			
		
		
	
	
			8 lines
		
	
	
	
		
			139 B
		
	
	
	
		
			Verilog
		
	
	
	
	
	
module sdffe( input d, clk, rst, en, output reg q );
 | 
						|
	always @( posedge clk)
 | 
						|
		if (rst)
 | 
						|
			q <= 0;
 | 
						|
		else
 | 
						|
			if (en)
 | 
						|
				q <= d;
 | 
						|
endmodule
 |