ad2f829671380457d796746718ae6a0f1ecdfdd8
[Mograsim.git] / era.mi / src / era / mi / logic / components / gates / XorGate.java
1 package era.mi.logic.components.gates;
2
3 import era.mi.logic.Util;
4 import era.mi.logic.wires.WireArray;
5
6 /**
7  * Outputs 1 when the number of 1 inputs is odd.
8  * 
9  * @author Fabian Stemmler
10  */
11 public class XorGate extends MultiInputGate
12 {
13         public XorGate(int processTime, WireArray out, WireArray... in)
14         {
15                 super(processTime, Util::xor, out, in);
16         }
17
18 }