Added project specific format; Default values in WireArray are now U
[Mograsim.git] / era.mi / src / era / mi / logic / components / gates / NotGate.java
index 6a011be..c482115 100644 (file)
@@ -7,14 +7,13 @@ import java.util.List;
 import era.mi.logic.Util;
 import era.mi.logic.components.BasicComponent;
 import era.mi.logic.wires.WireArray;
-import era.mi.logic.wires.WireArray.WireArrayInput;
+import era.mi.logic.wires.WireArray.WireArrayEnd;
 
 public class NotGate extends BasicComponent
 {
        private WireArray in, out;
-       private WireArrayInput outI;
+       private WireArrayEnd outI;
 
-       
        public NotGate(int processTime, WireArray in, WireArray out)
        {
                super(processTime);
@@ -23,7 +22,7 @@ public class NotGate extends BasicComponent
                this.out = out;
                outI = out.createInput();
        }
-       
+
        public void compute()
        {
                outI.feedSignals(Util.not(in.getValues()));
@@ -38,7 +37,7 @@ public class NotGate extends BasicComponent
        {
                return out;
        }
-       
+
        @Override
        public List<WireArray> getAllInputs()
        {