mirror of
				https://github.com/YosysHQ/sby.git
				synced 2025-11-04 06:39:11 +00:00 
			
		
		
		
	Update sby_engine_abc.py
ABC will sometimes return negative frame numbers when proving by convergence, e.g. ``` engine_0: Proved output 1 in frame -698905656 (converged). engine_0: Proved output 4 in frame -698905656 (converged). ``` This change fixes these properties being missed and causing the engine status to return UNKNOWN due to `proved_count != len(proved)`.
This commit is contained in:
		
							parent
							
								
									c73cd3eeea
								
							
						
					
					
						commit
						6c8b838eb3
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -182,7 +182,7 @@ def run(mode, task, engine_idx, engine):
 | 
			
		|||
            match = re.match(r"^Output [0-9]+ of miter .* was asserted in frame [0-9]+.", line)
 | 
			
		||||
            if match: proc_status = "FAIL"
 | 
			
		||||
 | 
			
		||||
        match = re.match(r"^Proved output +([0-9]+) in frame +[0-9]+", line)
 | 
			
		||||
        match = re.match(r"^Proved output +([0-9]+) in frame +-?[0-9]+", line)
 | 
			
		||||
        if match:
 | 
			
		||||
            output = int(match[1])
 | 
			
		||||
            prop = aiger_props[output]
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue