mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-11-03 21:09:12 +00:00 
			
		
		
		
	remove duplicate DFFR
This commit is contained in:
		
							parent
							
								
									2fb20f184a
								
							
						
					
					
						commit
						72323e11a4
					
				
					 1 changed files with 0 additions and 10 deletions
				
			
		| 
						 | 
				
			
			@ -38,16 +38,6 @@ module DFFN (output reg Q, input CLK, D);
 | 
			
		|||
		Q <= D;
 | 
			
		||||
endmodule
 | 
			
		||||
 | 
			
		||||
module DFFR (output reg Q, input D, CLK, RESET);
 | 
			
		||||
	parameter [0:0] INIT = 1'b0;
 | 
			
		||||
	initial Q = INIT;
 | 
			
		||||
	always @(posedge CLK) begin
 | 
			
		||||
        if (RESET)
 | 
			
		||||
                Q <= 1'b0;
 | 
			
		||||
        else
 | 
			
		||||
                Q <= D;
 | 
			
		||||
	end
 | 
			
		||||
endmodule // DFFR (positive clock edge; synchronous reset)
 | 
			
		||||
 | 
			
		||||
module DFFE (output reg Q, input D, CLK, CE);
 | 
			
		||||
  parameter [0:0] INIT = 1'b0;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue