mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-11-03 21:09:12 +00:00 
			
		
		
		
	Fix CEA/CEB check
This commit is contained in:
		
							parent
							
								
									edabe73377
								
							
						
					
					
						commit
						75acaff6f5
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -257,7 +257,7 @@ code argQ clock AREG
 | 
			
		|||
					else if (param(prev, \AREG, 2) == 2)
 | 
			
		||||
						CEA = \CEA1;
 | 
			
		||||
					else log_abort();
 | 
			
		||||
					if (!dffcemux && port(prev, CEA, State::S0) != State::S0)
 | 
			
		||||
					if (!dffcemux && port(prev, CEA, State::S0) != State::S1)
 | 
			
		||||
						goto reject_AREG;
 | 
			
		||||
					if (dffcemux && port(dffcemux, \S) != port(prev, CEA, State::S0))
 | 
			
		||||
						goto reject_AREG;
 | 
			
		||||
| 
						 | 
				
			
			@ -303,7 +303,7 @@ code argQ clock BREG
 | 
			
		|||
						else log_abort();
 | 
			
		||||
					}
 | 
			
		||||
					else log_abort();
 | 
			
		||||
					if (!dffcemux && port(prev, CEB, State::S0) != State::S0)
 | 
			
		||||
					if (!dffcemux && port(prev, CEB, State::S0) != State::S1)
 | 
			
		||||
						goto reject_BREG;
 | 
			
		||||
					if (dffcemux && port(dffcemux, \S) != port(prev, CEB, State::S0))
 | 
			
		||||
						goto reject_BREG;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue