mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-31 03:32:29 +00:00 
			
		
		
		
	Check results of (check-sat) in yosys-smtbmc
Signed-off-by: Clifford Wolf <clifford@clifford.at>
This commit is contained in:
		
							parent
							
								
									a4bbfd2d15
								
							
						
					
					
						commit
						8b604004da
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		|  | @ -646,6 +646,8 @@ class SmtIo: | |||
|                     sys.stderr.flush() | ||||
| 
 | ||||
|         result = self.read() | ||||
|         assert result in ["sat", "unsat"] | ||||
| 
 | ||||
|         if self.debug_file: | ||||
|             print("(set-info :status %s)" % result, file=self.debug_file) | ||||
|             print("(check-sat)", file=self.debug_file) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue