Fix pmux2shiftx logic

This commit is contained in:
Eddie Hung 2019-06-03 23:29:45 -07:00
parent 23a73ca624
commit 5afa42432f
1 changed files with 1 additions and 1 deletions

View File

@ -229,7 +229,7 @@ struct SynthXilinxPass : public ScriptPass
// cells for identifying variable-length shift registers,
// so attempt to convert $pmux-es to the former
// 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 a number of peephole optimisations, including one