mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-11-03 21:09:12 +00:00 
			
		
		
		
	macc_v2: Relax and fix cell check
This commit is contained in:
		
							parent
							
								
									916fe998ab
								
							
						
					
					
						commit
						1d57a7cf6b
					
				
					 2 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -231,7 +231,7 @@ struct Macc
 | 
			
		|||
		if (a_signed.empty())
 | 
			
		||||
			a_signed = {RTLIL::Sx};
 | 
			
		||||
		if (b_signed.empty())
 | 
			
		||||
			a_signed = {RTLIL::Sx};
 | 
			
		||||
			b_signed = {RTLIL::Sx};
 | 
			
		||||
		if (c_signed.empty())
 | 
			
		||||
			c_signed = {RTLIL::Sx};
 | 
			
		||||
		if (a_widths.empty())
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1468,7 +1468,7 @@ namespace {
 | 
			
		|||
			}
 | 
			
		||||
 | 
			
		||||
			if (cell->type == ID($macc_v2)) {
 | 
			
		||||
				if (param(ID::NPRODUCTS) <= 0)
 | 
			
		||||
				if (param(ID::NPRODUCTS) < 0)
 | 
			
		||||
					error(__LINE__);
 | 
			
		||||
				if (param(ID::NADDENDS) < 0)
 | 
			
		||||
					error(__LINE__);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue