- Added "synth_xilinx -abc9" (experimental)
- Added "synth_ice40 -abc9" (experimental)
- Added "synth -abc9" (experimental)
- - Added "synth -keepdc"
- Added "script -scriptwire
log(" flows that use the 'memory_memx' pass.\n");
log("\n");
log(" -keepdc\n");
- log(" Do not optimize explicit don't-care values on $mux cells.\n");
+ log(" Do not optimize explicit don't-care values.\n");
log("\n");
}
void execute(std::vector<std::string> args, Design *design) YS_OVERRIDE
log(" -abc9\n");
log(" use new ABC9 flow (EXPERIMENTAL)\n");
log("\n");
- log(" -keepdc\n");
- log(" do not optimize explicit don't-care values on $mux cells.\n");
- log("\n");
log("\n");
log("The following commands are executed by this synthesis command:\n");
help_script();
}
string top_module, fsm_opts, memory_opts, abc;
- bool autotop, flatten, noalumacc, nofsm, noabc, noshare, keepdc;
+ bool autotop, flatten, noalumacc, nofsm, noabc, noshare;
int lut;
void clear_flags() YS_OVERRIDE
noabc = false;
noshare = false;
abc = "abc";
- keepdc = false;
}
void execute(std::vector<std::string> args, RTLIL::Design *design) YS_OVERRIDE
abc = "abc9";
continue;
}
- if (args[argidx] == "-keepdc") {
- keepdc = true;
- continue;
- }
break;
}
extra_args(args, argidx, design);
run("opt_clean");
run("check");
run("opt");
- if (help_mode)
- run("wreduce [-keepdc]");
- else
- run("wreduce" + std::string(keepdc ? " -keepdc" : ""));
+ run("wreduce");
run("peepopt");
run("opt_clean");
if (help_mode)