From 293838de4d48575cf0a28e8c9194988fbde5bde0 Mon Sep 17 00:00:00 2001 From: Daniel Kirschten Date: Wed, 30 Oct 2019 16:53:10 +0100 Subject: [PATCH] Fixed a bug in the Am2900 --- .../model/am2900/components/am2910/ModelAm2910InstrPLA.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/plugins/net.mograsim.logic.model.am2900/src/net/mograsim/logic/model/am2900/components/am2910/ModelAm2910InstrPLA.java b/plugins/net.mograsim.logic.model.am2900/src/net/mograsim/logic/model/am2900/components/am2910/ModelAm2910InstrPLA.java index a96b6795..a00fc302 100644 --- a/plugins/net.mograsim.logic.model.am2900/src/net/mograsim/logic/model/am2900/components/am2910/ModelAm2910InstrPLA.java +++ b/plugins/net.mograsim.logic.model.am2900/src/net/mograsim/logic/model/am2900/components/am2910/ModelAm2910InstrPLA.java @@ -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); -- 2.17.1