3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-13 04:28:18 +00:00

Fix muxAB logic

This commit is contained in:
Eddie Hung 2019-07-23 14:52:14 -07:00
parent 0dd2a125f6
commit a37574ccbf

View file

@ -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)