import era.mi.logic.components.BasicComponent;
import era.mi.logic.types.BitVector.BitVectorMutator;
import era.mi.logic.types.MutationOperation;
import era.mi.logic.components.BasicComponent;
import era.mi.logic.types.BitVector.BitVectorMutator;
import era.mi.logic.types.MutationOperation;
- protected MultiInputGate(int processTime, MutationOperation op, WireEnd out, WireEnd... in)
+ protected MultiInputGate(int processTime, MutationOperation op, ReadWriteEnd out, ReadEnd... in)
{
if (w.length() != length)
throw new IllegalArgumentException("All wires connected to the gate must be of uniform length.");
{
if (w.length() != length)
throw new IllegalArgumentException("All wires connected to the gate must be of uniform length.");
op.apply(mutator, w.getValues());
out.feedSignals(mutator.get());
}
op.apply(mutator, w.getValues());
out.feedSignals(mutator.get());
}