mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-11-03 21:09:12 +00:00 
			
		
		
		
	Do not perform width-checks for DSP48E1 which is much more complicated
This commit is contained in:
		
							parent
							
								
									517ca49963
								
							
						
					
					
						commit
						64a72ed51e
					
				
					 1 changed files with 0 additions and 11 deletions
				
			
		| 
						 | 
				
			
			@ -278,17 +278,6 @@ endmatch
 | 
			
		|||
code sigC sigP
 | 
			
		||||
	if (postAdd) {
 | 
			
		||||
		sigC = port(postAdd, postAddAB == \A ? \B : \A);
 | 
			
		||||
 | 
			
		||||
		// TODO for DSP48E1, which will have sign extended inputs/outputs
 | 
			
		||||
		//int natural_mul_width = GetSize(port(dsp, \A)) + GetSize(port(dsp, \B));
 | 
			
		||||
		//int actual_mul_width = GetSize(sigP);
 | 
			
		||||
		//int actual_acc_width = GetSize(sigC);
 | 
			
		||||
 | 
			
		||||
		//if ((actual_acc_width > actual_mul_width) && (natural_mul_width > actual_mul_width))
 | 
			
		||||
		//	reject;
 | 
			
		||||
		//if ((actual_acc_width != actual_mul_width) && (param(dsp, \A_SIGNED).as_bool() != param(postAdd, \A_SIGNED).as_bool()))
 | 
			
		||||
		//	reject;
 | 
			
		||||
 | 
			
		||||
		sigP = port(postAdd, \Y);
 | 
			
		||||
	}
 | 
			
		||||
endcode
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue