import era.mi.logic.Bit;
import era.mi.logic.Simulation;
+import era.mi.logic.Util;
/**
* Represents an array of wires that can store n bits of information.
{
return values.clone();
}
+
+ public Bit[] wireValuesExcludingMe()
+ {
+ Bit[] bits = Util.arrayOfZ(length);
+ for (WireArrayInput wai : inputs)
+ {
+ if(wai == this)
+ continue;
+ Util.combineInto(bits, wai.getValues());
+ }
+ return bits;
+ }
public void clearSignals()
{