mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-11-04 05:19:11 +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
 | 
					                        break
 | 
				
			||||||
 | 
					
 | 
				
			||||||
                    smt_pop()
 | 
					                    smt_pop()
 | 
				
			||||||
                if not retstatus:
 | 
					                if retstatus == "FAILED" or retstatus == "PREUNSAT":
 | 
				
			||||||
                    break
 | 
					                    break
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        else:  # gentrace
 | 
					        else:  # gentrace
 | 
				
			||||||
| 
						 | 
					@ -1568,7 +1568,7 @@ else:  # not tempind, covermode
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        step += step_size
 | 
					        step += step_size
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    if gentrace and retstatus:
 | 
					    if gentrace and retstatus == "PASSED":
 | 
				
			||||||
        print_anyconsts(0)
 | 
					        print_anyconsts(0)
 | 
				
			||||||
        write_trace(0, num_steps, '%')
 | 
					        write_trace(0, num_steps, '%')
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue