mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-31 19:52:31 +00:00 
			
		
		
		
	Add MUXCY and XORCY to cells_box.v
This commit is contained in:
		
							parent
							
								
									ece5c3ab38
								
							
						
					
					
						commit
						cbb85e40e8
					
				
					 2 changed files with 15 additions and 0 deletions
				
			
		|  | @ -11,3 +11,9 @@ F7BMUX 1 1 3 1 | |||
| # Outputs: OUT | ||||
| MUXF8 2 1 3 1 | ||||
| 104 94 273 | ||||
| 
 | ||||
| MUXCY 3 1 3 1 | ||||
| 1 1 1 | ||||
| 
 | ||||
| XORCY 4 1 2 1 | ||||
| 1 1 | ||||
|  |  | |||
|  | @ -8,3 +8,12 @@ module MUXF8(output O, input I0, I1, S); | |||
|   assign O = S ? I1 : I0; | ||||
| endmodule | ||||
| 
 | ||||
| (* abc_box_id = 3 *) | ||||
| module MUXCY(output O, input CI, DI, S); | ||||
|   assign O = S ? CI : DI; | ||||
| endmodule | ||||
| 
 | ||||
| (* abc_box_id = 4 *) | ||||
| module XORCY(output O, input CI, LI); | ||||
|   assign O = CI ^ LI; | ||||
| endmodule | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue