MATLAB Answers

Generate C code for FPGA

조회 수: 4(최근 30일)
ran shalit
ran shalit 2015년 6월 21일
댓글: ran shalit 2015년 6월 22일
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

채택된 답변

Wang Chen
Wang Chen 2015년 6월 22일
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

추가 답변(1개)

Walter Roberson
Walter Roberson 2015년 6월 21일
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
ran shalit
ran shalit 2015년 6월 22일
Thank you Walter!

댓글을 달려면 로그인하십시오.

태그

Community Treasure Hunt

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

Start Hunting!

Translated by