HWA Paramset Config for Output Formatter/Destination block.
HWA paramset config parameters for the Output Formatter/Destination block inside HWA_ParamConfig which is used with the HWA_ConfigParamSet() call.
Data Fields | |
uint16_t | dstAddr |
uint16_t | dstAcnt |
int16_t | dstAIdx |
int16_t | dstBIdx |
uint8_t | dstRealComplex |
uint8_t | dstWidth |
uint8_t | dstSign |
uint8_t | dstConjugate |
uint8_t | dstScale |
uint16_t | dstSkipInit |
uint16_t HWA_DestConfig::dstAddr |
16 bit value: specifies the starting address of the output samples in the accelerator memory. Value of 0x0000 points to the first byte of accelerator memory and 16-bit value covers the entire address space of the four memories (4x16KB=64 KB) Sets the DSTADDR bits of PARAM1_1
uint16_t HWA_DestConfig::dstAcnt |
12 bit value: specifies the number of samples (minus 1) from the destination memory to process for every iteration. Note: The unit is samples and not bytes. Sets the DSTACNT bits of PARAM1_2
int16_t HWA_DestConfig::dstAIdx |
16 bit value: specifies the number of bytes separating successive samples in the destination memory Sets the DSTAINDX bits of PARAM1_3
int16_t HWA_DestConfig::dstBIdx |
16 bit value: Specifies the number of bytes separating the start address of samples for successive iterations in the destination memory (in bytes, signed value) Sets the DSTBIDX bits in PARAM1_4
uint8_t HWA_DestConfig::dstRealComplex |
1 bit value: See HWA_SAMPLES_FORMAT macros for correct values. Real or Complex data in the destination memory. Sets the DSTREAL bits in PARAM1_2
uint8_t HWA_DestConfig::dstWidth |
1 bit value: See HWA_SAMPLES_WIDTH macros for correct values. 16-bit or 32-bit alignment of data in destination memory. Sets the DST16b32b bits in PARAM1_2
uint8_t HWA_DestConfig::dstSign |
1 bit value: See HWA_SAMPLES_SIGN macros for correct values. Signed or Unsigned data in the destination memory. This setting is only relevant for dstWidth=0, because that is when sign-extension may be required to convert to internal 24-bit width. Sets the DSTSIGNED bits in PARAM1_2
uint8_t HWA_DestConfig::dstConjugate |
1 bit value: See HWA_FEATURE_BIT macros for correct values. Enable/Disable Conjugation of the output samples. 0: No conjugation 1: Enable conjugation This register only makes sense for dstRealComplex=0. It is useful in conjunction with DSTCONJ to derive an IFFT mode (by conjugating at both output and output) Sets the DSTCONJ bit of PARAM1_2
uint8_t HWA_DestConfig::dstScale |
4 bit value: Specifies a programmable scaling, via right bit-shift, from 0 bits to 8 bits, for the output samples. Sets the DSTSCAL bits of PARAM1_5 (0-8) The 24-bit complex samples are first converted to 32-bit complex samples by zero padding 8 LSBs. Then, based on the REG_DSTSCAL register value, a right bit-shift of 0 to 8 bits is applied (with MSB sign filling, if required).
uint16_t HWA_DestConfig::dstSkipInit |
10 bit value: Number of samples to skip in the beginning (for each iteration) before writing samples to the destination memory. Sets the DST_SKIP_INIT bits of PARAM1_5