WireArray(Input) is now Wire(End); all in-/outputs are now WireEnds
[Mograsim.git] / era.mi / src / era / mi / logic / components / gates / XorGate.java
index c20af6f..71fcb21 100644 (file)
@@ -1,15 +1,16 @@
 package era.mi.logic.components.gates;
 
 import era.mi.logic.Util;
-import era.mi.logic.wires.WireArray;
+import era.mi.logic.wires.Wire.WireEnd;
 
 /**
  * Outputs 1 when the number of 1 inputs is odd.
+ * 
  * @author Fabian Stemmler
  */
 public class XorGate extends MultiInputGate
-{      
-       public XorGate(int processTime, WireArray out, WireArray... in)
+{
+       public XorGate(int processTime, WireEnd out, WireEnd... in)
        {
                super(processTime, Util::xor, out, in);
        }