FIRLoadingFract32
Overview
Simulates loading of fir fract32 filter
Discussion
This module is used for CPU load testing purposes and implements a large number of fixed point FIR filter taps. At instantiation time, you specify MAXNUMTAPS - the maximum number of filter taps that you would like to simulate. Then at run-time you can vary the number of filter taps running from 1 to MAXNUMTAPS. This makes the CPU work harder since more filter taps are running. Internally, the module uses a fract32 FIR module to implement the filtering.
Note that if the filter is connected to a multichannel input, then the module implements numChannels * numTaps filters. That is, the number of filters is scaled by the number of channels processed.
Module Pack
Advanced
ClassID
classID = 1275
Type Definition
typedef struct _ModuleFIRLoadingFract32
{
ModuleInstanceDescriptor instance; // Common Audio Weaver module instance structure
INT32 maxTaps; // Maximum FIR filter taps that can be run
INT32 numTaps; // Number of FIR filter taps currently running
awe_modFIRFract32Instance *filt; // FIR fract32 filter} ModuleFIRLoadingFract32Class;
Variables
Properties
| Name | Type | Usage | isHidden | Default Value | Range | Units |
|---|---|---|---|---|---|---|
| maxTaps | int | const | 0 | 1000 | 1:1000 | |
| numTaps | int | parameter | 0 | 1 | 1:1000 |
Pins
Input Pins
| Name | in |
| Description | Audio Input |
| Data type | fract32 |
| Channel range | Unrestricted |
| Block size range | Unrestricted |
| Sample rate range | Unrestricted |
| Complex support | Real |
Output Pins
| Name | out |
| Description | Audio output |
| Data Type | fract32 |
Matlab Usage
File Name: fir_loading_fract32_module.m
M = fir_loading_fract32_module(NAME, MAXNUMTAPS)
Module which simulates the loading of MAXNUMTAPS fir fract32 module. The
module is used for profiling and demonstrations of the computational
capabilities of processors. Arguments:
NAME - name of the module.
MAXNUMTAPS - maximum taps that will be tried (this is used for
memory allocation and is set to 10000 by default).
Copyright (c) 2026 DSP Concepts, Inc.