mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-30 19:22:31 +00:00 
			
		
		
		
	Skip reading stdout from the solver that if it isn't a line reading only "sat", "unsat", or "unknown".
This commit is contained in:
		
							parent
							
								
									c9555c9ade
								
							
						
					
					
						commit
						5accf08ef9
					
				
					 1 changed files with 3 additions and 1 deletions
				
			
		|  | @ -704,6 +704,8 @@ class SmtIo: | |||
|                     if msg is not None: | ||||
|                         print("%s waiting for solver (%s)" % (self.timestamp(), msg), flush=True) | ||||
| 
 | ||||
|         result = "" | ||||
|         while result not in ["sat", "unsat", "unknown"]: | ||||
|             result = self.read() | ||||
| 
 | ||||
|         if self.debug_file: | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue