AM273x MCU+ SDK  08.02.00

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

uint32_t srcAddr
 
uint16_t srcAcnt
 
int32_t srcAIdx
 
uint16_t srcBcnt
 
int32_t srcBIdx
 
uint16_t srcCcnt
 
int32_t srcCIdx
 
uint16_t srcAcircShift
 
uint8_t srcAcircShiftWrap
 
uint16_t srcBcircShift
 
uint8_t srcBcircShiftWrap
 
uint16_t srcCcircShift
 
uint8_t srcCcircShiftWrap
 
uint8_t srcCircShiftWrap3
 
uint8_t shuffleMode
 
uint8_t srcRealComplex
 
uint8_t srcWidth
 
uint8_t srcSign
 
uint8_t srcConjugate
 
uint8_t srcScale
 
uint8_t srcIQSwap
 
uint32_t wrapComb
 
uint8_t shuffleStart
 

Field Documentation

◆ srcAddr

uint32_t HWA_SourceConfig::srcAddr

20 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 17-bit value covers the entire address space of the eight memories (8x16KB= 128 KB) Sets the SRCADDR bits of SRC register in paramset

◆ 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 SRCA register in paramset

◆ srcAIdx

int32_t HWA_SourceConfig::srcAIdx

20 bit value: specifies the number of bytes separating successive samples in the source memory, maximum is 2^17-1 Sets the SRCAINDX bits of SRCA register in paramset

◆ 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 SRCB register in paramset

◆ srcBIdx

int32_t HWA_SourceConfig::srcBIdx

20 bit value: Specifies the number of bytes separating the start address of samples for successive iterations in the source memory (in bytes, signed value), maximum is 2^17-1 Sets the SRCBINDX bits in SRCB register in paramset

◆ srcCcnt

uint16_t HWA_SourceConfig::srcCcnt

12 bit value: specify the C-dimension count, only applied to LOCAL maxima engine. sets the CCNT bit of SRCC register in paramset

◆ srcCIdx

int32_t HWA_SourceConfig::srcCIdx

20 bit value: specifies the number of bytes separating the starting address of input samples for successive sets of B-dimension iterations. sets the SRCCINDX bit of SRCC register in paramset

◆ srcAcircShift

uint16_t HWA_SourceConfig::srcAcircShift

12 bit value: specifies the circular shift in A-dimension (offset in samples) that should be applied on the sequence of input samples before feeding them to the Core Computational unit Sets the SRCA_CIRCSHIFT bits of CIRCSHIFT register in paramset

◆ srcAcircShiftWrap

uint8_t HWA_SourceConfig::srcAcircShiftWrap

4 bit value: indicates at what number the sample count value should wraparound, when using A-dimension circular shift, if the bit in srcCircShiftWrap3 corresponding to dim A is set to 0, the wrap around point is at (2^ srcAcircShiftWrap -1), if the bit in srcCircShiftWrap3 is set to 1, the wrap around point is (3 x 2^ srcAcircShiftWrap -1) Sets the SRCA_CIRCSHIFTWRAP bits of CIRCSHIFT2 register in paramset

◆ srcBcircShift

uint16_t HWA_SourceConfig::srcBcircShift

12 bit value: specifies the circular shift in B-dimension (offset in samples) that should be applied on the sequence of input samples before feeding them to the Core Computational unit Sets the SRCB_CIRCSHIFT bits of CIRCSHIFT register in paramset

◆ srcBcircShiftWrap

uint8_t HWA_SourceConfig::srcBcircShiftWrap

4 bit value: indicates at what number the sample count value should wraparound, when using B-dimension circular shift. if the bit in srcCircShiftWrap3 corresponding to dim B is set to 0, the wrap around point is at (2^ srcAcircShiftWrap -1), if the bit in srcCircShiftWrap3 is set to 1, the wrap around point is (3 x 2^ srcAcircShiftWrap -1) Sets the SRCB_CIRCSHIFTWRAP bits of CIRCSHIFT2 register in paramset

◆ srcCcircShift

uint16_t HWA_SourceConfig::srcCcircShift

12 bit value: specifies the circular shift in C-dimension (offset in samples) that should be applied on the sequence of input samples before feeding them to the Core Computational unit Sets the SRCC_CIRCSHIFT bits of CIRCSHIFT2 register in paramset

◆ srcCcircShiftWrap

uint8_t HWA_SourceConfig::srcCcircShiftWrap

4 bit value: indicates at what number the sample count value should wraparound, when using C-dimension circular shift. if the bit in srcCircShiftWrap3 corresponding to dim C is set to 0, the wrap around point is at (2^ srcAcircShiftWrap -1), if the bit in srcCircShiftWrap3 is set to 1, the wrap around point is (3 x 2^ srcAcircShiftWrap -1) Sets the SRCC_CIRCSHIFTWRAP bits of CIRCSHIFT2 register in paramset

◆ srcCircShiftWrap3

uint8_t HWA_SourceConfig::srcCircShiftWrap3

3 bit value: used in conjunction with srcAcircShiftWrap, srcBcircShiftWrap and srcCcircShiftWrap, in radix-3 FFT mode, bit 0 corresponds to A-dim, bit 1 corresponds to B-dim, and bit 3 corresponds to C-dim, sets the SRC_CIRCSHIFTWRAP3X bit of CIRCSHIFT2 register in paramset

◆ shuffleMode

uint8_t HWA_SourceConfig::shuffleMode

see HWA_SRC_SHUFFLE_AB_MODE macros for correct values, HWA_SRC_SHUFFLE_AB_MODE_DISABLE mode disable the shuffle LUT sets the SHUFFLE_AB bit of SRC register in paramset

◆ srcRealComplex

uint8_t HWA_SourceConfig::srcRealComplex

See HWA_SAMPLES_FORMAT macros for correct values. specify real or Complex data in the source memory. Sets the SRCREAL bits in SRC register in paramset

◆ srcWidth

uint8_t HWA_SourceConfig::srcWidth

See HWA_SAMPLES_WIDTH macros for correct values. 16-bit or 32-bit data width in source memory. Sets the SRC16b32b bits of SRC register in paramset

◆ srcSign

uint8_t HWA_SourceConfig::srcSign

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 of SRC register in paramset

◆ srcConjugate

uint8_t HWA_SourceConfig::srcConjugate

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 SRC register in paramset

◆ srcScale

uint8_t HWA_SourceConfig::srcScale

4 bit value: Specifies a programmable scaling, via right bit-shift, Sets the SRCSCAL bits of SRC register in paramset. Based on the REG_SRCSCAL register value, a right bit-shift of 0 to 8 bits is applied first, with additional MSB sign-extension (based on REG_SRCSIGNED) and LSB rounding. The resulting 32-bit sample is then saturated to a 24-bit number by saturating the 8 MSBs

◆ srcIQSwap

uint8_t HWA_SourceConfig::srcIQSwap

see HWA_FEATURE_BIT macros for correct values, sets SRC_IQSWAP bits of register SRC in paramset

◆ wrapComb

uint32_t HWA_SourceConfig::wrapComb

20 bit value: applied in shuffled addressing mode. The combined A-B dimnsion based address in wrapped around this number . sets the bits WRAP_COMB of WRAPCOMB register in paramset

◆ shuffleStart

uint8_t HWA_SourceConfig::shuffleStart

4 bit value: start index for the shuffle LUT, the value together with 4 zeros padded at the LSB is the 8-bit starting index for the 256 elements HWA_RAM_TYPE_SHUFFLE_RAM. sets the bits SHUFFLE_START of WRAPCOMB register in paramset