import era.mi.logic.types.Bit;
import era.mi.logic.wires.Wire.ReadEnd;
import era.mi.logic.wires.Wire.ReadWriteEnd;
import era.mi.logic.types.Bit;
import era.mi.logic.wires.Wire.ReadEnd;
import era.mi.logic.wires.Wire.ReadWriteEnd;
- public TriStateBuffer(int processTime, ReadEnd in, ReadWriteEnd out, ReadEnd enable)
+ public TriStateBuffer(Timeline timeline, int processTime, ReadEnd in, ReadWriteEnd out, ReadEnd enable)
if (in.length() != out.length())
throw new IllegalArgumentException(
"Tri-state output must have the same amount of bits as the input. Input: " + in.length() + " Output: " + out.length());
if (in.length() != out.length())
throw new IllegalArgumentException(
"Tri-state output must have the same amount of bits as the input. Input: " + in.length() + " Output: " + out.length());