*************************
Return true or false if an aggregate signal (Bundle) matches the expected map of values.
Return true or false if an aggregate signal (Bundle) matches the expected map of values. TODO: deal with Vecs
the Bundle to "expect"
a map of signal names ("dotted" Bundle notation) to BigInt values
true if the specified values match, false otherwise.
Uses a Double as the expected value
Uses a Double as the expected value
Consider using the more reliable expectFixedPointBig
signal
value expected
message on failure
error bounds on expected value are +/- epsilon
Uses a BigDecimal as the expected value
Uses a BigDecimal as the expected value
signal
value expected
message on failure
error bounds on expected value are +/- epsilon
Uses a Double as the expected value
Uses a Double as the expected value
Consider using the more reliable expectIntervalBig
signal
value expected
message on failure
error bounds on expected value are +/- epsilon
Uses a BigDecimal as the expected value
Uses a BigDecimal as the expected value
signal
value expected
message on failure
error bounds on expected value are +/- epsilon
Convert Pokeables to BigInt
Convert a Boolean to BigInt
Convert an Int to unsigned (effectively 32-bit) BigInt
Convert an Int to unsigned (effectively 32-bit) BigInt
number to be converted
Convert an Int to unsigned (effectively 64-bit) BigInt
Convert an Int to unsigned (effectively 64-bit) BigInt
long to be converted
Peek an aggregate (Bundle) signal.
Peek an aggregate (Bundle) signal.
the signal to peek
a map of signal names ("dotted" Bundle) to BigInt values.
Returns the value signal as a Double.
Returns the value signal as a Double. Double may not be big enough to contain the value without precision loss. This situation will Throw ChiselException Consider using the more reliable peekFixedPointBig
returns the value of signal as BigDecimal
Returns the value signal as a Double.
Returns the value signal as a Double. Double may not be big enough to contain the value without precision loss. This situation will Throw ChiselException Consider using the more reliable peekIntervalBig
returns the value of signal as BigDecimal
Poke a Bundle given a map of elements and values.
Poke a Bundle given a map of elements and values.
the bundle to be poked
a map from names (using '.' to delimit bundle elements), to BigInt values