Embedded Target for Texas Instruments C6000 DSPs | ![]() ![]() |
Convert an input signal to a Q.15 fixed-point signal
Library
Description
The Convert Floating-Point to Q.15 block converts a single-precision floating-point input signal to a Q.15 output signal. Input can be real or complex. For real inputs, the number of input samples must be even.
The Convert Floating-Point to Q.15 block supports both continuous and discrete sample times. This block also supports both little-endian and big-endian code generation.
Dialog Box
Algorithm
In simulation, the Convert Floating-Point to Q.15 block is equivalent to the TMS320C62x DSP Library assembly code function DSP_fltoq15
. During code generation, this block calls the DSP_fltoq15
routine to produce optimized code.
See Also
Convert Q.15 to Floating Point
![]() | Complex FIR | Convert Q.15 to Floating-Point | ![]() |