mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-20 14:20:32 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			8 lines
		
	
	
	
		
			141 B
		
	
	
	
		
			Verilog
		
	
	
	
	
	
			
		
		
	
	
			8 lines
		
	
	
	
		
			141 B
		
	
	
	
		
			Verilog
		
	
	
	
	
	
| module sdffce( input d, clk, rst, en, output reg q );
 | |
| 	always @( posedge clk)
 | |
| 		if(en)
 | |
| 			if (rst)
 | |
| 				q <= 0;
 | |
| 			else
 | |
| 				q <= d;
 | |
| endmodule
 |