Added project specific format; Default values in WireArray are now U
[Mograsim.git] / era.mi / src / era / mi / logic / components / gates / XorGate.java
index c20af6f..1a63e8b 100644 (file)
@@ -1,17 +1,18 @@
-package era.mi.logic.components.gates;
-
-import era.mi.logic.Util;
-import era.mi.logic.wires.WireArray;
-
-/**
- * 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)
-       {
-               super(processTime, Util::xor, out, in);
-       }
-
-}
+package era.mi.logic.components.gates;\r
+\r
+import era.mi.logic.Util;\r
+import era.mi.logic.wires.WireArray;\r
+\r
+/**\r
+ * Outputs 1 when the number of 1 inputs is odd.\r
+ * \r
+ * @author Fabian Stemmler\r
+ */\r
+public class XorGate extends MultiInputGate\r
+{\r
+       public XorGate(int processTime, WireArray out, WireArray... in)\r
+       {\r
+               super(processTime, Util::xor, out, in);\r
+       }\r
+\r
+}\r