mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-30 19:22:31 +00:00 
			
		
		
		
	Run opt_const before check in default scripts
This commit is contained in:
		
							parent
							
								
									ab0c44d3ed
								
							
						
					
					
						commit
						f1b959dc69
					
				
					 2 changed files with 4 additions and 0 deletions
				
			
		|  | @ -69,6 +69,7 @@ struct PrepPass : public Pass { | |||
| 		log("\n"); | ||||
| 		log("    prep:\n"); | ||||
| 		log("        proc\n"); | ||||
| 		log("        opt_const\n"); | ||||
| 		log("        opt_clean\n"); | ||||
| 		log("        check\n"); | ||||
| 		log("        opt -keepdc\n"); | ||||
|  | @ -133,6 +134,7 @@ struct PrepPass : public Pass { | |||
| 		if (check_label(active, run_from, run_to, "coarse")) | ||||
| 		{ | ||||
| 			Pass::call(design, "proc"); | ||||
| 			Pass::call(design, "opt_const"); | ||||
| 			Pass::call(design, "opt_clean"); | ||||
| 			Pass::call(design, "check"); | ||||
| 			Pass::call(design, "opt -keepdc"); | ||||
|  |  | |||
|  | @ -81,6 +81,7 @@ struct SynthPass : public Pass { | |||
| 		log("\n"); | ||||
| 		log("    coarse:\n"); | ||||
| 		log("        proc\n"); | ||||
| 		log("        opt_const\n"); | ||||
| 		log("        opt_clean\n"); | ||||
| 		log("        check\n"); | ||||
| 		log("        opt\n"); | ||||
|  | @ -179,6 +180,7 @@ struct SynthPass : public Pass { | |||
| 		if (check_label(active, run_from, run_to, "coarse")) | ||||
| 		{ | ||||
| 			Pass::call(design, "proc"); | ||||
| 			Pass::call(design, "opt_const"); | ||||
| 			Pass::call(design, "opt_clean"); | ||||
| 			Pass::call(design, "check"); | ||||
| 			Pass::call(design, "opt"); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue