HDL Code Generation for Moving Maximum function

13 views (last 30 days)
Kiran Kintali
Kiran Kintali on 17 Dec 2025 at 19:24
Edited: Kiran Kintali about 14 hours ago
How do I generate HDL Code from Moving Maximum block in DSP System Toolbox?

Answers (1)

Kiran Kintali
Kiran Kintali on 17 Dec 2025 at 19:35
Edited: Kiran Kintali about 1 hour ago
HDL Coder does not support Moving Maximum block in DSP System Toolbox out of the box. Consider using the attached model built using HDL Coder supported set of basic blocks.
If you want to do some logic on the input sample you can pipe it explicitly as shown below.
If you are piping the input sample as the first sample you could just use the block option.
The Tapped Delay has the option to directly Include the Input in its output vector. No need for Concat block if there is no additional logic on the input signal.
Synthesis Results for default Kintex7 settings:

Products


Release

R2025b

Community Treasure Hunt

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

Start Hunting!