3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-24 01:25:33 +00:00

Added "wreduce -memx"

This commit is contained in:
Clifford Wolf 2016-08-20 12:52:50 +02:00
parent 15ef608453
commit d77a914683
2 changed files with 20 additions and 5 deletions

View file

@ -173,8 +173,12 @@ struct PrepPass : public ScriptPass
run("opt_clean");
run("check");
run("opt -keepdc");
if (!ifxmode)
run("wreduce");
if (!ifxmode) {
if (help_mode)
run("wreduce [-memx]");
else
run(memxmode ? "wreduce -memx" : "wreduce");
}
run("memory_dff" + (help_mode ? " [-nordff]" : memory_opts));
if (help_mode || memxmode)
run("memory_memx", "(if -memx)");