mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-11-04 13:29:12 +00:00 
			
		
		
		
	Fix CARRY4 abc_box_id
This commit is contained in:
		
							parent
							
								
									0d347e1708
								
							
						
					
					
						commit
						cf020befeb
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -181,7 +181,7 @@ module XORCY(output O, input CI, LI);
 | 
				
			||||||
  assign O = CI ^ LI;
 | 
					  assign O = CI ^ LI;
 | 
				
			||||||
endmodule
 | 
					endmodule
 | 
				
			||||||
 | 
					
 | 
				
			||||||
(* abc_box_id = 3, abc_carry="CI,CO", lib_whitebox *)
 | 
					(* abc_box_id = 4, abc_carry="CI,CO", lib_whitebox *)
 | 
				
			||||||
module CARRY4(output [3:0] CO, O, input CI, CYINIT, input [3:0] DI, S);
 | 
					module CARRY4(output [3:0] CO, O, input CI, CYINIT, input [3:0] DI, S);
 | 
				
			||||||
  assign O = S ^ {CO[2:0], CI | CYINIT};
 | 
					  assign O = S ^ {CO[2:0], CI | CYINIT};
 | 
				
			||||||
  assign CO[0] = S[0] ? CI | CYINIT : DI[0];
 | 
					  assign CO[0] = S[0] ? CI | CYINIT : DI[0];
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue