How to use Matlab generated c code for High Level Synthesis ?
11 views (last 30 days)
I wrote an algorithm for Fast Fourier Transform (FFT),then generated executable
c code for it. The settings done by me are :
1) Generate all Functions into single file.
2) included main.c - in Custom code \Additional source files .
Now I want to use that generated c code for High level synthesis using GAUT 2.4.3 build 17/02/2010 tool. when I try to compile the source file in GAUT it is showing some errors. Help me please.
Kiran Kintali on 3 Jan 2020
I believe you are generating C code from MATLAB code using MATLAB Coder and trying it to take it through GAUT - High-Level Synthesis tool. I am not sure about the subset of language syntax and guidelines one has to follow to take C code through GAUT HLS tool. Please refer to documentation for GAUT for such questions.
Please note MathWorks recommended workflow for this is to generate HDL directly from MATLAB or Simulink using HDLCoder.
HDL Coder Product overview https://www.mathworks.com/products/hdl-coder.html
You can learn more about successful ASIC/FPGA development user stories with this workflow.
More Answers (2)
Kiran Kintali on 21 Mar 2022
SystemC Code Generation from MATLAB
Generate Synthesizable SystemC Code from MATLAB® algorithms for use with Cadence Stratus HLS Workflows