import era.mi.logic.Simulation;
import era.mi.logic.wires.WireArray;
import era.mi.logic.wires.WireArray.WireArrayInput;
import era.mi.logic.Simulation;
import era.mi.logic.wires.WireArray;
import era.mi.logic.wires.WireArray.WireArrayInput;
private final WireArrayInput aI;
private final WireArrayInput bI;
public Connector(WireArray a, WireArray b)
{
if (a.length != b.length)
private final WireArrayInput aI;
private final WireArrayInput bI;
public Connector(WireArray a, WireArray b)
{
if (a.length != b.length)
- throw new IllegalArgumentException("WireArray width does not match: " + a.length + ", " + b.length);
+ throw new IllegalArgumentException(String.format("WireArray width does not match: %d, %d", a.length, b.length));