Fixed a bug in the Am2900
authorDaniel Kirschten <daniel.kirschten@gmx.de>
Wed, 30 Oct 2019 15:53:10 +0000 (16:53 +0100)
committerDaniel Kirschten <daniel.kirschten@gmx.de>
Wed, 30 Oct 2019 15:53:10 +0000 (16:53 +0100)
plugins/net.mograsim.logic.model.am2900/src/net/mograsim/logic/model/am2900/components/am2910/ModelAm2910InstrPLA.java

index a96b679..a00fc30 100644 (file)
@@ -118,6 +118,10 @@ public class ModelAm2910InstrPLA extends SimpleRectangularHardcodedModelComponen
                        {
                                RWE.feedSignals(PASSVal);
                                RDEC.feedSignals(PASSVal == ONE ? ZERO : PASSVal);// "forward" X/U/Z
+                       } else if (IAsInt == 12)
+                       {
+                               RWE.feedSignals(ONE);
+                               RDEC.feedSignals(ZERO);
                        } else
                        {
                                RWE.feedSignals(ZERO);