HDL code generation for FFT

4 views (last 30 days)
DEEKSHA GUPTA
DEEKSHA GUPTA on 14 Mar 2018
Answered: Kiran Kintali on 7 Oct 2023
I am using HDL coder for HDL code generation,i have made simulink model and i have used System objects,and Matlab function block in model,while converting into hdl coder using hdl workflow advisor ,there is an error is that system blocks and matlab function block,containing system objects are not supported for hdl code generation,when the block input have non-descrete sample time,in RTL code & Testbench option
  3 Comments
DEEKSHA GUPTA
DEEKSHA GUPTA on 15 Mar 2018
I have developed FFT using MATLAB function block,Simulink block and system object. exact error is.... "system blocks and matlab function block,containing system objects are not supported for hdl code generation,when the block input have non-discrete(constant or inf) sample time"
Bharath Venkataraman
Bharath Venkataraman on 20 Mar 2018
Please put a snapshot of the model here, so we can look at it.
I suspect that you need to put in a Sample and Hold block in front of all the inputs.

Sign in to comment.

Answers (1)

Kiran Kintali
Kiran Kintali on 7 Oct 2023
If you are looking for MATLAB coding style for generating HDL using HDL Coder you can find some samples here.

Tags

Community Treasure Hunt

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

Start Hunting!