Visible to Intel only — GUID: hco1423077122784
Ixiasoft
Visible to Intel only — GUID: hco1423077122784
Ixiasoft
14.4.9. Bit Extract (BitExtract)
q = (a >> LSB)
If bit position is a negative number, the bit position is an offset from the MSB instead of LSB.
If the BitExtract block initialization parameter is a vector of LSB positions, the output is a vector of matching width, even if the input is a scalar signal. Use this feature to split a wide data line into a vector of Boolean signals. The components are in the same order as you specify in the initialization parameter. If the input to the BitCombine block is a vector, the width of any vector initialization parameter must match, and then a different bit can be selected from each component in the vector. The output data type does not always have to be Boolean signals. For example, setting to uint8 provides a simple way to split one wide signal into a vector of unsigned 8-bit data lines.
If the input to the BitExtract block is a complex signal, it extracts the same bits from both the real and imaginary parts and produces them on the output as a complex valued signal.
Parameter | Description |
---|---|
Output data type mode | Determines how the block sets its output data type:
|
Output data type | Specifies the output data type. For example, sfix(16), uint(8). |
Output scaling value | Specifies the output scaling value. For example, 2^-15. |
Least Significant Bit Position from Input Word | Specifies the bit position from the input word as the LSB in the output word. |
.
Signal | Direction | Type | Description | Vector Data Support | Complex Data Support |
---|---|---|---|---|---|
a | Input | Any fixed-point type | Operand | Yes | Yes |
q | Output | Derived fixed-point type | Result | Yes | Yes |