Borrar filtros
Borrar filtros

Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

How to creat many HDL blocks at one time

1 visualización (últimos 30 días)
Pham Van Dung
Pham Van Dung el 9 de Mayo de 2013
Cerrada: MATLAB Answer Bot el 20 de Ag. de 2021
Dear my friends!
I have a question need your helpings! I have 3 simulink blocks, and i want to convert them to verilog code, after that, i want to cosimulate them in modelsim at one time! How can i do by HDL Simulink Coder. Anyone have any experiment?
Thanks for supporting!
Best regards!
Pham Van Dung

Respuestas (1)

Tim McBrayer
Tim McBrayer el 9 de Mayo de 2013
If I understand your question properly, all you need to do is place your three blocks inside a subsystem, and generate HDL code for that subsystem. You can generate code for any number of blocks at one time, with as much Simulink hierarchy as desired, as long as all the blocks used are supported by HDL Coder. To create a library of all block supported by HDL Coder, run the command hdllib at the MATLAB command prompt.
Once you have generated HDL code for your entire design you can use HDL Verifier to cosimulate with ModelSim inside Simulink, or you can generate a HDL testbench with HDL Coder and simulate the entire design/testbench combination in ModelSim.
The demos and documentation that ship with HDL Coder are designed to help with such basic questions of tool usage.

La pregunta está cerrada.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by