mirror of https://github.com/YosysHQ/yosys.git
synth_xilinx to now wreduce except $mux, remove extra peepopt
This commit is contained in:
parent
29aee0989f
commit
ed00823b41
|
@ -226,8 +226,7 @@ struct SynthXilinxPass : public ScriptPass
|
||||||
run("opt_clean");
|
run("opt_clean");
|
||||||
run("check");
|
run("check");
|
||||||
run("opt");
|
run("opt");
|
||||||
// FIXME
|
run("wreduce c:* t:$mux %d");
|
||||||
//run("wreduce");
|
|
||||||
run("peepopt");
|
run("peepopt");
|
||||||
run("opt_clean");
|
run("opt_clean");
|
||||||
run("alumacc");
|
run("alumacc");
|
||||||
|
@ -247,11 +246,6 @@ struct SynthXilinxPass : public ScriptPass
|
||||||
// Also: wide multiplexer inference benefits from this too
|
// Also: wide multiplexer inference benefits from this too
|
||||||
if (!(nosrl && nomux) || help_mode)
|
if (!(nosrl && nomux) || help_mode)
|
||||||
run("pmux2shiftx", "(skip if '-nosrl' and '-nomux')");
|
run("pmux2shiftx", "(skip if '-nosrl' and '-nomux')");
|
||||||
|
|
||||||
// Run a number of peephole optimisations, including one
|
|
||||||
// that optimises $mul cells driving $shiftx's B input
|
|
||||||
// and that aids wide mux analysis
|
|
||||||
run("peepopt");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (check_label("bram", "(skip if '-nobram')")) {
|
if (check_label("bram", "(skip if '-nobram')")) {
|
||||||
|
@ -279,7 +273,6 @@ struct SynthXilinxPass : public ScriptPass
|
||||||
// otherwise it will use mux8 as mux4
|
// otherwise it will use mux8 as mux4
|
||||||
run("muxcover -mux4=150 -mux8=200 -mux16=250 -dmux=0", "(skip if -nomux)");
|
run("muxcover -mux4=150 -mux8=200 -mux16=250 -dmux=0", "(skip if -nomux)");
|
||||||
}
|
}
|
||||||
run("wreduce"); // FIXME: Moved until after muxcover from 'coarse'
|
|
||||||
run("opt -full");
|
run("opt -full");
|
||||||
|
|
||||||
if (!nosrl || help_mode) {
|
if (!nosrl || help_mode) {
|
||||||
|
|
Loading…
Reference in New Issue