mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-31 11:42:30 +00:00 
			
		
		
		
	Cleanup
This commit is contained in:
		
							parent
							
								
									8a47e6ddfd
								
							
						
					
					
						commit
						88f14b8bca
					
				
					 1 changed files with 3 additions and 5 deletions
				
			
		|  | @ -204,7 +204,7 @@ struct Abc9Pass : public ScriptPass | ||||||
| 			if (help_mode) { | 			if (help_mode) { | ||||||
| 				run("foreach module in selection"); | 				run("foreach module in selection"); | ||||||
| 				run("    write_xaiger -map <abc-temp-dir>/input.sym <abc-temp-dir>/input.xaig"); | 				run("    write_xaiger -map <abc-temp-dir>/input.sym <abc-temp-dir>/input.xaig"); | ||||||
| 				run("    abc9_exe [options] -cwd <abc-temp-dir>"); | 				run("    abc9_exe -cwd <abc-temp-dir> [options]"); | ||||||
| 				run("    read_aiger -xaiger -wideports -module_name <module-name>$abc9 -map <abc-temp-dir>/input.sym <abc-temp-dir>/output.aig"); | 				run("    read_aiger -xaiger -wideports -module_name <module-name>$abc9 -map <abc-temp-dir>/input.sym <abc-temp-dir>/output.aig"); | ||||||
| 				run("    abc9_ops -reintegrate"); | 				run("    abc9_ops -reintegrate"); | ||||||
| 			} | 			} | ||||||
|  | @ -238,10 +238,8 @@ struct Abc9Pass : public ScriptPass | ||||||
| 							active_design->scratchpad_get_int("write_xaiger.num_inputs"), | 							active_design->scratchpad_get_int("write_xaiger.num_inputs"), | ||||||
| 							num_outputs); | 							num_outputs); | ||||||
| 					if (num_outputs) { | 					if (num_outputs) { | ||||||
| 						run(stringf("%s -cwd %s", exe_cmd.str().c_str(), tempdir_name.c_str()), | 						run(stringf("%s -cwd %s", exe_cmd.str().c_str(), tempdir_name.c_str())); | ||||||
| 								"abc9_exe [options] -cwd <abc-temp-dir>"); | 						run(stringf("read_aiger -xaiger -wideports -module_name %s$abc9 -map %s/input.sym %s/output.aig", log_id(mod->name), tempdir_name.c_str(), tempdir_name.c_str())); | ||||||
| 						run(stringf("read_aiger -xaiger -wideports -module_name %s$abc9 -map %s/input.sym %s/output.aig", log_id(mod->name), tempdir_name.c_str(), tempdir_name.c_str()), |  | ||||||
| 								"read_aiger -xaiger -wideports -module_name <module-name>$abc9 -map <abc-temp-dir>/input.sym <abc-temp-dir>/output.aig"); |  | ||||||
| 						run("abc9_ops -reintegrate"); | 						run("abc9_ops -reintegrate"); | ||||||
| 					} | 					} | ||||||
| 					else | 					else | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue