mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-31 11:42:30 +00:00 
			
		
		
		
	Do not run "wreduce" in "prep -ifx"
This commit is contained in:
		
							parent
							
								
									2032e6d8e4
								
							
						
					
					
						commit
						52b0b4e31e
					
				
					 1 changed files with 3 additions and 2 deletions
				
			
		|  | @ -48,7 +48,7 @@ struct PrepPass : public ScriptPass | ||||||
| 		log("\n"); | 		log("\n"); | ||||||
| 		log("    -ifx\n"); | 		log("    -ifx\n"); | ||||||
| 		log("        passed to 'proc'. uses verilog simulation behavior for verilog if/case\n"); | 		log("        passed to 'proc'. uses verilog simulation behavior for verilog if/case\n"); | ||||||
| 		log("        undef handling\n"); | 		log("        undef handling. this also prevents 'wreduce' from being run.\n"); | ||||||
| 		log("\n"); | 		log("\n"); | ||||||
| 		log("    -nordff\n"); | 		log("    -nordff\n"); | ||||||
| 		log("        passed to 'memory_dff'. prohibits merging of FFs into memory read ports\n"); | 		log("        passed to 'memory_dff'. prohibits merging of FFs into memory read ports\n"); | ||||||
|  | @ -151,6 +151,7 @@ struct PrepPass : public ScriptPass | ||||||
| 			run("opt_clean"); | 			run("opt_clean"); | ||||||
| 			run("check"); | 			run("check"); | ||||||
| 			run("opt -keepdc"); | 			run("opt -keepdc"); | ||||||
|  | 			if (!ifxmode) | ||||||
| 				run("wreduce"); | 				run("wreduce"); | ||||||
| 			run("memory_dff" + (help_mode ? " [-nordff]" : memory_opts)); | 			run("memory_dff" + (help_mode ? " [-nordff]" : memory_opts)); | ||||||
| 			run("opt_clean"); | 			run("opt_clean"); | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue