HWA Paramset Config for Compression/Decompression block.
HWA paramset config parameters for the FFT block inside HWA_ParamConfig which is used with the HWA_ConfigParamSet() call. Some registers (notably EGEkIdx) are not made visible, as they are primarily meant for debu.
Data Fields | |
uint8_t | compressDecompress |
uint8_t | method |
uint8_t | ditherEnable |
uint8_t | passSelect |
uint8_t | headerEnable |
uint8_t | scaleFactorBW |
uint8_t | BFPMantissaBW |
uint8_t | scaleFactor |
uint8_t | EGEKarrayLength |
uint8_t HWA_AccelModeCompress::compressDecompress |
1 bit value: See HWA_COMPRESS_MODE macros for correct values. Compression/Decompression selection. 0 - Compression. 1 - Decompression. Sets the CMP_DCMP bitl of PARAM1_0
uint8_t HWA_AccelModeCompress::method |
3 bit value: Specifies the compression method. See HWA_CMP_METHOD macros for correct value. 0 - EGE Compression/Decompression. Sets the CMP_METHOD bits of PARAM1_0
uint8_t HWA_AccelModeCompress::ditherEnable |
1 bit value: See HWA_FEATURE_BIT macros for correct values. Enable/Disable for dither in the compression engine. Sets the CMP_DITHER_EN bit of PARAM1_0
uint8_t HWA_AccelModeCompress::passSelect |
2 bit value: See HWA_COMPRESS_PATHSELECT macros for correct values. Enable/Disables the different passes in the compression engine. Sets the CMP_PASS_SEL bits of PARAM1_6
uint8_t HWA_AccelModeCompress::headerEnable |
1 bit value: See HWA_FEATURE_BIT macros for correct values. Enable/Disable for populating the header in the compression engine. For decompression, it indicates whether the header is present in the compressed input. Sets the CMP_HEADER_EN bit of PARAM1_6
uint8_t HWA_AccelModeCompress::scaleFactorBW |
4 bit value: (0-15) Specifies the size of scale factor (block exponent). In general, to be set to 4 for 16 bit input (Real or complex), and 5 for 32-bit input. Sets the CMP_SCALEFAC_BW bits of PARAM1_6
uint8_t HWA_AccelModeCompress::BFPMantissaBW |
5 bits value: specify the number of bits for mantissa, applied to HWA_AccelModeCompress::method is set to HWA_COMPRESS_METHOD_BFP only sets the CMP_BFP_MANTISSA_BW bits of register CMPDCMP in paramset
uint8_t HWA_AccelModeCompress::scaleFactor |
5 bits values: hard coded scale factor for BFP, only if first pass is disabled., sets the CMP_SCALEFAC bits of register CMPDCMP in paramset
uint8_t HWA_AccelModeCompress::EGEKarrayLength |
4 bit value: (0-3) Specifies the size of 'K parameter' array. Sets the CMP_EGE_K_ARR_LEN bits of PARAM1_6