Generate C code for FPGA

5 views (last 30 days)
ran shalit
ran shalit on 21 Jun 2015
Commented: ran shalit on 22 Jun 2015
Hello,
Is it possible to generate C code for FPGA ? ( Atmel Arria V ) I only familiar with generaing c code for ARM, and generating HDL code for FPGA, but not "generate C code for FPGA". Is it possible ? Is there any tutorial on this subject ?
Thank you, Ran

Accepted Answer

Wang Chen
Wang Chen on 22 Jun 2015
Hi Ran,
The recommended workflow is to use HDL Coder to generate HDL Code and IP core for Altera SoC FPGA fabric, and use Embedded Coder to generate C code to program the ARM processor on the same chip. Please see following pages for examples and videos:
Thanks, Wang

More Answers (1)

Walter Roberson
Walter Roberson on 21 Jun 2015
Using Simulink, Simulink Coder, MATLAB Coder, and (recommended) Fixed Point Designer, you can generate C code for a generic target. That will not generally be as optimized as if VHDL were generated.
  5 Comments
ran shalit
ran shalit on 22 Jun 2015
Thank you Walter!

Sign in to comment.

Tags

Community Treasure Hunt

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

Start Hunting!