simulink filter compatible with HDL coder

6 views (last 30 days)
is there a simulink filter block thats compatible with HDL coder?

Accepted Answer

Pramil
Pramil on 3 Feb 2025
Edited: Pramil on 3 Feb 2025
Hello Wen,
You can use the command "hdllib" (HDL Coder) at the MATLAB command line to create a library of HDL-supported blocks from all your installed products. You can find more about the same in the following documentation:
The output of the command would look like this:
As you can see, the "DSP System Toolbox" as well as the "DSP HDL Toolbox" has many filter blocks that support HDL Code Generation.
hope it helps.
  2 Comments
wen
wen on 4 Feb 2025
is there one that accept IQ data pair?
Bharath Venkataraman
Bharath Venkataraman on 28 May 2025
Assuming what you want to do is to independently filter them, you can send the IQ data as a 2x1 vector to the FIR filter blocks. The result will be a 2x1 output.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!