mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-11-04 05:19:11 +00:00 
			
		
		
		
	Add $alu to list of supported cells for "stat -width"
This commit is contained in:
		
							parent
							
								
									10c7709e68
								
							
						
					
					
						commit
						c00d8a5b73
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -112,7 +112,7 @@ struct statdata_t
 | 
			
		|||
						"$lut", "$and", "$or", "$xor", "$xnor",
 | 
			
		||||
						"$shl", "$shr", "$sshl", "$sshr", "$shift", "$shiftx",
 | 
			
		||||
						"$lt", "$le", "$eq", "$ne", "$eqx", "$nex", "$ge", "$gt",
 | 
			
		||||
						"$add", "$sub", "$mul", "$div", "$mod", "$pow")) {
 | 
			
		||||
						"$add", "$sub", "$mul", "$div", "$mod", "$pow", "$alu")) {
 | 
			
		||||
					int width_a = it.second->hasPort("\\A") ? GetSize(it.second->getPort("\\A")) : 0;
 | 
			
		||||
					int width_b = it.second->hasPort("\\B") ? GetSize(it.second->getPort("\\B")) : 0;
 | 
			
		||||
					int width_y = it.second->hasPort("\\Y") ? GetSize(it.second->getPort("\\Y")) : 0;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue