projects
/
Mograsim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge logic of origin into logic
[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
..
71fcb21
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,15
+1,16
@@
package era.mi.logic.components.gates;
import era.mi.logic.Util;
package era.mi.logic.components.gates;
import era.mi.logic.Util;
-import era.mi.logic.wires.Wire
Array
;
+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, Util::xor, out, in);
}