can add costumed VHDL Code to Simulink HDL coder?

6 visualizaciones (últimos 30 días)
metidji
metidji el 12 de Feb. de 2021
Respondida: Sri Kapali el 18 de Feb. de 2021
hello
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

Respuestas (1)

Sri Kapali
Sri Kapali el 18 de Feb. de 2021
Hello,
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 https://www.mathworks.com/help/hdlcoder/ug/integrate-custom-hdl-code-using-docblock.html
You can also look at this answer for additional information

Categorías

Más información sobre HDL Coder en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by