projects
/
Mograsim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merged logic into master
[Mograsim.git]
/
era.mi
/
src
/
era
/
mi
/
logic
/
components
/
gates
/
XorGate.java
diff --git
a/era.mi/src/era/mi/logic/components/gates/XorGate.java
b/era.mi/src/era/mi/logic/components/gates/XorGate.java
index
c20af6f
..
73a2556
100644
(file)
--- a/
era.mi/src/era/mi/logic/components/gates/XorGate.java
+++ b/
era.mi/src/era/mi/logic/components/gates/XorGate.java
@@
-1,17
+1,18
@@
package era.mi.logic.components.gates;
package era.mi.logic.components.gates;
-import era.mi.logic.
Util
;
-import era.mi.logic.wires.Wire
Array
;
+import era.mi.logic.
types.BitVector.BitVectorMutator
;
+import era.mi.logic.wires.Wire
.WireEnd
;
/**
* Outputs 1 when the number of 1 inputs is odd.
/**
* Outputs 1 when the number of 1 inputs is odd.
+ *
* @author Fabian Stemmler
*/
public class XorGate extends MultiInputGate
* @author Fabian Stemmler
*/
public class XorGate extends MultiInputGate
-{
- public XorGate(int processTime, Wire
Array out, WireArray
... in)
+{
+ public XorGate(int processTime, Wire
End out, WireEnd
... in)
{
{
- super(processTime,
Util
::xor, out, in);
+ super(processTime,
BitVectorMutator
::xor, out, in);
}
}
}
}