mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-11-04 13:29:12 +00:00 
			
		
		
		
	Move user-provided smt2 info stmts to the top of the yosys-smtbmc smt2 output
This commit is contained in:
		
							parent
							
								
									57e02b6629
								
							
						
					
					
						commit
						54aeca0983
					
				
					 1 changed files with 3 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -150,14 +150,14 @@ class SmtIo:
 | 
			
		|||
 | 
			
		||||
        self.setup_done = True
 | 
			
		||||
 | 
			
		||||
        for stmt in self.info_stmts:
 | 
			
		||||
            self.write(stmt)
 | 
			
		||||
 | 
			
		||||
        if self.produce_models:
 | 
			
		||||
            self.write("(set-option :produce-models true)")
 | 
			
		||||
 | 
			
		||||
        self.write("(set-logic %s)" % self.logic)
 | 
			
		||||
 | 
			
		||||
        for stmt in self.info_stmts:
 | 
			
		||||
            self.write(stmt)
 | 
			
		||||
 | 
			
		||||
    def timestamp(self):
 | 
			
		||||
        secs = int(time() - self.start_time)
 | 
			
		||||
        return "## %6d %3d:%02d:%02d " % (secs, secs // (60*60), (secs // 60) % 60, secs % 60)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue