This example performs HWA based compression-decompression operation on real input data.
The input to the compression is a sinusoidal real data. This is compressed to the compression ratio programmed (i.e., 50% in this example) over the input data size and stored in APP RAM, to highlight the memory saved to the user. Subsequently, HWA also performs a decompression on this compressed data and the same matches with the input sine data. The HWA PaRAM sets are initialized with proper configuration for compression and decompression. The HWA is triggered to perform the above operations and the compressed, decompressed outputs are copied to APP RAM for user's evaluation.
Parameter | Value |
---|---|
CPU + OS | m4fss0-0 nortos |
Toolchain | ti-arm-clang |
Board | xWRL6432-evm |
Example folder | examples/drivers/hwa/hwa_compression |
A GUI tool SysConfig is used to configure different modules and peripherals of the example. Using this tool, users can select and customize different modules and peripherals. The SysConfig tool will generate the code for initializing and configuring these modules. This configuration is saved to a file called example.syscfg for every example. To know more about how to use SDK with SysConfig, Visit this page
Shown below is a sample output when the application is run,