MATLAB Answers

can add costumed VHDL Code to Simulink HDL coder?

3 views (last 30 days)
metidji on 12 Feb 2021
Answered: Sri Kapali on 18 Feb 2021
i want integrate an SPI base ADC to a FPGA board
is possible to add a costumed VHDL or Verylog code block in simulink for the ADC interface and generate a global model VHDL projct for FPGA.
best regrads

Answers (1)

Sri Kapali
Sri Kapali on 18 Feb 2021
My understanding is that you want to incude your custom VHDL or Verilog code as a part of your Simulink model and then generate code for the entire model.
I think you can achive this by using DocBlock. For more information, see
You can also look at this answer for additional information




Community Treasure Hunt

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

Start Hunting!

Translated by