Code File Location: VisualSim/simulators/sdf/lib/IntToBits
This actor converts an IntToken into a sequence of Boolean tokens. The number of Boolean tokens is specified by the numberOfBits parameter. It should be a positive integer not bigger than 32. The most significant bit (the sign bit) is the first boolean token send out. It is "false" if the input integer is non-negative, otherwise it is "true". The least significant bit is the last boolean token send out. Let k denotes the value of the numberOfBits parameter. An exception is thrown if the input integer is smaller than -2k or greater 2k - 1.
public VisualSim.data.expr.Parameter numberOfBits
Created with the Personal Edition of HelpNDoc: Easily create Help documents