HDL coder and Embedded coder interaction

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?

 Accepted Answer

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.

More Answers (0)

Asked:

on 14 Nov 2020

Answered:

on 15 Nov 2020

Community Treasure Hunt

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

Start Hunting!