Switched to using logical U for mnemonic X to avoid glitches in Am2900
[Mograsim.git] / plugins / net.mograsim.machine / src / net / mograsim / machine / mi / parameters / BooleanClassification.java
index fb94a30..f52e966 100644 (file)
@@ -2,7 +2,7 @@ package net.mograsim.machine.mi.parameters;
 
 import static net.mograsim.logic.core.types.BitVector.SINGLE_0;
 import static net.mograsim.logic.core.types.BitVector.SINGLE_1;
-import static net.mograsim.logic.core.types.BitVector.SINGLE_X;
+import static net.mograsim.logic.core.types.BitVector.SINGLE_U;
 
 import net.mograsim.machine.mi.parameters.MicroInstructionParameter.ParameterType;
 
@@ -12,7 +12,7 @@ public class BooleanClassification extends MnemonicFamily
 
        public BooleanClassification(boolean defaultValue, String trueName, String falseName)
        {
-               super(defaultValue ? trueName : falseName, new MnemonicPair("X", SINGLE_X), new MnemonicPair(trueName, SINGLE_1),
+               super(defaultValue ? trueName : falseName, new MnemonicPair("X", SINGLE_U), new MnemonicPair(trueName, SINGLE_1),
                                new MnemonicPair(falseName, SINGLE_0));
                this.trueName = trueName;
                this.falseName = falseName;
@@ -20,7 +20,7 @@ public class BooleanClassification extends MnemonicFamily
 
        public BooleanClassification(String trueName, String falseName)
        {
-               super("X", new MnemonicPair("X", SINGLE_X), new MnemonicPair(trueName, SINGLE_1), new MnemonicPair(falseName, SINGLE_0));
+               super("X", new MnemonicPair("X", SINGLE_U), new MnemonicPair(trueName, SINGLE_1), new MnemonicPair(falseName, SINGLE_0));
                this.trueName = trueName;
                this.falseName = falseName;
        }