mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-11-04 13:29:12 +00:00 
			
		
		
		
	Merge pull request #4338 from jix/fix-formalff-setundef-srst
formalff -setundef: Fix handling for has_srst FFs
This commit is contained in:
		
						commit
						1527cc84c4
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -237,7 +237,7 @@ struct InitValWorker
 | 
			
		|||
					return true;
 | 
			
		||||
				if (ff.has_ce && initconst(ff.sig_ce.as_bit()) == (ff.pol_ce ? State::S0 : State::S1))
 | 
			
		||||
					continue;
 | 
			
		||||
				if (ff.has_srst && initconst(ff.sig_ce.as_bit()) == (ff.pol_srst ? State::S1 : State::S0))
 | 
			
		||||
				if (ff.has_srst && initconst(ff.sig_srst.as_bit()) == (ff.pol_srst ? State::S1 : State::S0))
 | 
			
		||||
					continue;
 | 
			
		||||
 | 
			
		||||
				return true;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue