projects
/
Mograsim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
WireArray(Input) is now Wire(End); all in-/outputs are now WireEnds
[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
ad2f829
..
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,7
+1,7
@@
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.
@@
-10,7
+10,7
@@
import era.mi.logic.wires.WireArray;
*/
public class XorGate extends MultiInputGate
{
*/
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);
}