mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-31 11:42:30 +00:00 
			
		
		
		
	Add log_push()/log_pop() inside write_xaiger
This commit is contained in:
		
							parent
							
								
									faa2d6fc1c
								
							
						
					
					
						commit
						588196c473
					
				
					 1 changed files with 4 additions and 0 deletions
				
			
		|  | @ -665,6 +665,8 @@ struct XAigerWriter | |||
| 			f.write(buffer_str.data(), buffer_str.size()); | ||||
| 
 | ||||
| 			if (holes_module) { | ||||
| 				log_push(); | ||||
| 
 | ||||
| 				// NB: fixup_ports() will sort ports by name
 | ||||
| 				//holes_module->fixup_ports();
 | ||||
| 				holes_module->check(); | ||||
|  | @ -701,6 +703,8 @@ struct XAigerWriter | |||
| 				f.write(reinterpret_cast<const char*>(&buffer_size_be), sizeof(buffer_size_be)); | ||||
| 				f.write(buffer_str.data(), buffer_str.size()); | ||||
| 				holes_module->design->remove(holes_module); | ||||
| 
 | ||||
| 				log_pop(); | ||||
| 			} | ||||
| 		} | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue