projects
/
Mograsim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added the possibility for having machine descriptions
[Mograsim.git]
/
plugins
/
net.mograsim.machine
/
src
/
net
/
mograsim
/
machine
/
mi
/
parameters
/
BooleanClassification.java
diff --git
a/plugins/net.mograsim.machine/src/net/mograsim/machine/mi/parameters/BooleanClassification.java
b/plugins/net.mograsim.machine/src/net/mograsim/machine/mi/parameters/BooleanClassification.java
index
fb94a30
..
f52e966
100644
(file)
--- a/
plugins/net.mograsim.machine/src/net/mograsim/machine/mi/parameters/BooleanClassification.java
+++ b/
plugins/net.mograsim.machine/src/net/mograsim/machine/mi/parameters/BooleanClassification.java
@@
-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_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;
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)
{
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;
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)
{
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;
}
this.trueName = trueName;
this.falseName = falseName;
}