HDL coder stand alone programming with verilog code file

1 Ansicht (letzte 30 Tage)
Mohammed Shameem Hussain
Mohammed Shameem Hussain am 9 Apr. 2016
Kommentiert: Tim McBrayer am 20 Apr. 2016
My objective is to use hdl coder for standalone fpga programming (rapid prototyping with matlab). But I have some code in Verilog and some in matlab Simulink. Please suggest how can I combine both and do direct flashing from matlab (standalone)

Antworten (1)

Tim McBrayer
Tim McBrayer am 11 Apr. 2016
Investigate the use of the Black Box implementation for a Simulink subsystem. This capability is specifically designed to allow importing external, non-generated HDL code into a design with code generated by HDL Coder.
  2 Kommentare
Mohammed Shameem Hussain
Mohammed Shameem Hussain am 11 Apr. 2016
but my external coe is already in vhdl/Verilog. I want to make use of MATLAB dsp and combine my already code to make a standalone from MATLAB.
Tim McBrayer
Tim McBrayer am 20 Apr. 2016
Yes, this is exactly what the BlackBox implementation is designed to do. You can model your existing code in Simulink if you wish, so that your Simulink simulation is valid. Or, you can just use a completely empty subsystem to bolt your existing code into place. I think that with HDL Verifier you can use your existing code in a Simulink simulation via cosimulation with ModelSim or Incisive. BlackBox is the default (and only) HDL implementation for the cosim blocks.

Melden Sie sich an, um zu kommentieren.

Tags

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by