mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-11-03 21:09:12 +00:00 
			
		
		
		
	Add a bit of flexibilty re trace length when processing aiger witnesses in smtbmc.py
Signed-off-by: Claire Xenia Wolf <claire@clairexen.net>
This commit is contained in:
		
							parent
							
								
									fc7d78f071
								
							
						
					
					
						commit
						30eb7f8665
					
				
					 1 changed files with 4 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -583,7 +583,10 @@ if aimfile is not None:
 | 
			
		|||
 | 
			
		||||
            if not got_topt:
 | 
			
		||||
                skip_steps = max(skip_steps, step)
 | 
			
		||||
                num_steps = max(num_steps, step+1)
 | 
			
		||||
                # some solvers optimize the properties so that they fail one cycle early,
 | 
			
		||||
                # thus we check the properties in the cycle the aiger witness ends, and
 | 
			
		||||
                # if that doesn't work, we check the cycle after that as well.
 | 
			
		||||
                num_steps = max(num_steps, step+2)
 | 
			
		||||
            step += 1
 | 
			
		||||
 | 
			
		||||
if btorwitfile is not None:
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue