mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-23 09:05:32 +00:00
Fix muxAB logic
This commit is contained in:
parent
0dd2a125f6
commit
a37574ccbf
1 changed files with 2 additions and 3 deletions
|
@ -187,10 +187,9 @@ code clock clock_pol sigO sigCD sigCD_signed
|
|||
|
||||
// Loading value into output register is not
|
||||
// supported unless using accumulator
|
||||
if (muxAB && sigCD != sigO) {
|
||||
if (muxAB != addAB)
|
||||
if (muxAB) {
|
||||
if (sigCD != sigO)
|
||||
reject;
|
||||
|
||||
if (muxA)
|
||||
sigCD = port(muxAB, \B);
|
||||
else if (muxB)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue