return val;
}
+ /**
+ * Returns the least significant bit (LSB)
+ */
public Bit getValue()
{
return getValue(0);
}
+ /**
+ * Returns the least significant bit (LSB) of the given index
+ */
public Bit getValue(int index)
{
- return values.getBit(index);
+ return values.getLSBit(index);
}
public BitVector getValues(int start, int end)
return Wire.this.getValue(index);
}
- /**
- * @param index Index of the requested bit.
- * @return The value of the indexed bit.
- *
- * @author Fabian Stemmler
- */
public BitVector getValues()
{
return Wire.this.getValues();
}
/**
- * @return The value (of bit 0) the {@link ReadEnd} is currently feeding into the associated {@link Wire}.
+ * @return The value (of bit 0) the {@link ReadEnd} is currently feeding into the associated {@link Wire}.Returns the least
+ * significant bit (LSB)
*/
public Bit getInputValue()
{
/**
* @return The value which the {@link ReadEnd} is currently feeding into the associated {@link Wire} at the indexed {@link Bit}.
+ * Returns the least significant bit (LSB)
+ *
*/
public Bit getInputValue(int index)
{
- return inputValues.getBit(index);
+ return inputValues.getLSBit(index);
}
/**
*/
public BitVector getInputValues()
{
- return getInputValues(0, length);
+ return inputValues;
}
public BitVector getInputValues(int start, int end)