xWRL6432 MMWAVE-L-SDK  05.04.00.01

Detailed Description

HWA Paramset Config for Input Formatter/Source block.

HWA paramset config parameters for the Input Formatter/Source block inside HWA_ParamConfig which is used with the HWA_ConfigParamSet() call.

Data Fields

uint16_t srcAddr
 
uint16_t srcAcnt
 
int16_t srcAIdx
 
uint16_t srcBcnt
 
int16_t srcBIdx
 
uint16_t srcShift
 
uint8_t srcCircShiftWrap
 
uint8_t srcRealComplex
 
uint8_t srcWidth
 
uint8_t srcSign
 
uint8_t srcConjugate
 
uint8_t srcScale
 
uint8_t bpmEnable
 
uint8_t bpmPhase
 

Field Documentation

◆ srcAddr

uint16_t HWA_SourceConfig::srcAddr

16 bit value: specifies the starting address of the input 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 SRCADDR bits of PARAM1_1

◆ srcAcnt

uint16_t HWA_SourceConfig::srcAcnt

12 bit value: specifies the number of samples (minus 1) from the source memory to process for every iteration. Note: The unit is samples and not bytes. Sets the SRCACNT bits of PARAM1_2

◆ srcAIdx

int16_t HWA_SourceConfig::srcAIdx

16 bit value: specifies the number of bytes separating successive samples in the source memory Sets the SRCAINDX bits of PARAM1_3

◆ srcBcnt

uint16_t HWA_SourceConfig::srcBcnt

12 bit value: specifies the number of times (minus 1) the processing should be iterated Sets the BCNT bits of PARAM1_5

◆ srcBIdx

int16_t HWA_SourceConfig::srcBIdx

16 bit value: Specifies the number of bytes separating the start address of samples for successive iterations in the source memory (in bytes, signed value) Sets the SRCBIDX bits in PARAM1_4

◆ srcShift

uint16_t HWA_SourceConfig::srcShift

12 bit value: CIRCIRSHIFT specifies the circular shift (offset in samples) that should be applied on the sequence of input samples before feeding them to the Core Computational unit Sets the CIRCIRSHIFT bits of PARAM1_7

◆ srcCircShiftWrap

uint8_t HWA_SourceConfig::srcCircShiftWrap

4 bit value: indicates at what number (power-of-2) the sample count value should wraparound, when using circular shift. Sets the CIRCSHIFTWRAP bits of PARAM1_7

◆ srcRealComplex

uint8_t HWA_SourceConfig::srcRealComplex

1 bit value: See HWA_SAMPLES_FORMAT macros for correct values. Real or Complex data in the source memory. Sets the SRCREAL bits in PARAM1_2

◆ srcWidth

uint8_t HWA_SourceConfig::srcWidth

1 bit value: SRC16b32b See HWA_SAMPLES_WIDTH macros for correct values. 16-bit or 32-bit data width in source memory. Sets the SRC16b32b bits in PARAM1_2

◆ srcSign

uint8_t HWA_SourceConfig::srcSign

1 bit value: SRCSIGNED See HWA_SAMPLES_SIGN macros for correct values. Signed or Unsigned data in the source memory. This setting is only relevant for srcWidth=0 (16 bits), because that is when sign-extension may be required to convert to internal 24-bit width. Sets the SRCSIGNED bits in PARAM1_2

◆ srcConjugate

uint8_t HWA_SourceConfig::srcConjugate

1 bit value: See HWA_FEATURE_BIT macros for correct values. Enable/Disable Conjugation of the input samples. 0: No conjugation 1: Enable conjugation This register only makes sense for srcRealComplex=0 (complex). It is useful in conjunction with DSTCONJ to derive an IFFT mode (by conjugating at both input and output) Sets the SRCCONJ bit of PARAM1_2

◆ srcScale

uint8_t HWA_SourceConfig::srcScale

4 bit value: REG_SRCSCAL Specifies a programmable scaling, via right bit-shift, from 0 bits to 8 bits, for the input samples. Sets the SRCSCAL bits of PARAM1_5 (0-8). if HWA_SourceConfig::srcWidth = HWA_SAMPLES_WIDTH_16BIT, the 24-bit sample is generated by padding (8-SRCSCAL) zeros at the LSB and SRCSCAL redundant MSBs (sign-extended based on srcSign). if HWA_SourceConfig::srcWidth = HWA_SAMPLES_WIDTH_32BIT, the 24-bit sample is generated by dropping SRCSCAL bits at the LSB and clipping (8-SRCSCAL) bits at the MSB

◆ bpmEnable

uint8_t HWA_SourceConfig::bpmEnable

1 bit value: See HWA_FEATURE_BIT macros for correct values. Enable/Disable for BPM removal operation 0: disable 1: enable Sets the BPM_EN bits of PARAM1_0

◆ bpmPhase

uint8_t HWA_SourceConfig::bpmPhase

4 bit value: Specifies the starting phase of the BPM pattern to be applied Sets the BPMPHASE bits of PARAM1_6