mirror of https://github.com/YosysHQ/yosys.git
Fix muxAB logic
This commit is contained in:
parent
0dd2a125f6
commit
a37574ccbf
|
@ -187,10 +187,9 @@ code clock clock_pol sigO sigCD sigCD_signed
|
||||||
|
|
||||||
// Loading value into output register is not
|
// Loading value into output register is not
|
||||||
// supported unless using accumulator
|
// supported unless using accumulator
|
||||||
if (muxAB && sigCD != sigO) {
|
if (muxAB) {
|
||||||
if (muxAB != addAB)
|
if (sigCD != sigO)
|
||||||
reject;
|
reject;
|
||||||
|
|
||||||
if (muxA)
|
if (muxA)
|
||||||
sigCD = port(muxAB, \B);
|
sigCD = port(muxAB, \B);
|
||||||
else if (muxB)
|
else if (muxB)
|
||||||
|
|
Loading…
Reference in New Issue