MATLAB Answers

HDL coder and Embedded coder interaction

2 views (last 30 days)
kimi
kimi on 14 Nov 2020
Answered: Kiran Kintali on 15 Nov 2020
Hello,
I'm trying to convert an enabled subsystem and function call generator to embedded for a embedded coder/hdl system. For both the systems to interact should I take the embedded coder parts out of the HDL coded blocks?

  0 Comments

Sign in to comment.

Accepted Answer

Kiran Kintali
Kiran Kintali on 15 Nov 2020
If your target hardware requires you to generate C and HDL code it is better to split your design into two subsystems or two models / model reference blocks (one for hardware and other for software). See this video for general guidance on such a workflow.
For subsystem targeting FPGA/ASIC you need to model the algorithm using HDL supported subset of MATLAB and Simulink constructs for HDL code generation.

  0 Comments

Sign in to comment.

More Answers (0)

Categories

Community Treasure Hunt

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

Start Hunting!