mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-30 19:22:31 +00:00 
			
		
		
		
	Ignore $scopeinfo in write_aiger
While SBY's aiger flow already removes non-assertion driving logic, there are some uses of write_aiger outside of SBY that could end up with $scopeinfo cells, so we explicitly ignore them. The write_btor backend works differently and due to the way it recursively visits cells, it would never reach isolated cells like $scopeinfo.
This commit is contained in:
		
							parent
							
								
									bfd9cf63db
								
							
						
					
					
						commit
						10d5d358d2
					
				
					 1 changed files with 3 additions and 0 deletions
				
			
		|  | @ -320,6 +320,9 @@ struct AigerWriter | |||
| 				continue; | ||||
| 			} | ||||
| 
 | ||||
| 			if (cell->type == ID($scopeinfo)) | ||||
| 				continue; | ||||
| 
 | ||||
| 			log_error("Unsupported cell type: %s (%s)\n", log_id(cell->type), log_id(cell)); | ||||
| 		} | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue