mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-31 19:52:31 +00:00 
			
		
		
		
	Added "abc" label in synth script
This commit is contained in:
		
							parent
							
								
									ab28491f27
								
							
						
					
					
						commit
						74ef92b9c8
					
				
					 1 changed files with 13 additions and 7 deletions
				
			
		|  | @ -80,10 +80,12 @@ struct SynthPass : public Pass { | |||
| 		log("        memory_map\n"); | ||||
| 		log("        opt -full\n"); | ||||
| 		log("        techmap\n"); | ||||
| 		log("        opt -fast -full\n"); | ||||
| 		log("        opt -fast\n"); | ||||
| 	#ifdef YOSYS_ENABLE_ABC | ||||
| 		log("\n"); | ||||
| 		log("    abc:\n"); | ||||
| 		log("        abc -fast\n"); | ||||
| 		log("        opt_clean\n"); | ||||
| 		log("        opt -fast\n"); | ||||
| 	#endif | ||||
| 		log("\n"); | ||||
| 	} | ||||
|  | @ -150,13 +152,17 @@ struct SynthPass : public Pass { | |||
| 			Pass::call(design, "memory_map"); | ||||
| 			Pass::call(design, "opt -full"); | ||||
| 			Pass::call(design, "techmap"); | ||||
| 			Pass::call(design, "opt -fast -full"); | ||||
| 		#ifdef YOSYS_ENABLE_ABC | ||||
| 			Pass::call(design, "abc -fast"); | ||||
| 			Pass::call(design, "opt_clean"); | ||||
| 		#endif | ||||
| 			Pass::call(design, "opt -fast"); | ||||
| 		} | ||||
| 
 | ||||
| 	#ifdef YOSYS_ENABLE_ABC | ||||
| 		if (check_label(active, run_from, run_to, "abc")) | ||||
| 		{ | ||||
| 			Pass::call(design, "abc -fast"); | ||||
| 			Pass::call(design, "opt -fast"); | ||||
| 		} | ||||
| 	#endif | ||||
| 
 | ||||
| 		log_pop(); | ||||
| 	} | ||||
| } SynthPass; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue