mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-11-03 21:09:12 +00:00 
			
		
		
		
	smtbmc: Fix return status handling.
This commit is contained in:
		
							parent
							
								
									5bcde7ccc3
								
							
						
					
					
						commit
						299ab76a09
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -1548,7 +1548,7 @@ else:  # not tempind, covermode
 | 
			
		|||
                        break
 | 
			
		||||
 | 
			
		||||
                    smt_pop()
 | 
			
		||||
                if not retstatus:
 | 
			
		||||
                if retstatus == "FAILED" or retstatus == "PREUNSAT":
 | 
			
		||||
                    break
 | 
			
		||||
 | 
			
		||||
        else:  # gentrace
 | 
			
		||||
| 
						 | 
				
			
			@ -1568,7 +1568,7 @@ else:  # not tempind, covermode
 | 
			
		|||
 | 
			
		||||
        step += step_size
 | 
			
		||||
 | 
			
		||||
    if gentrace and retstatus:
 | 
			
		||||
    if gentrace and retstatus == "PASSED":
 | 
			
		||||
        print_anyconsts(0)
 | 
			
		||||
        write_trace(0, num_steps, '%')
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue