HDL coder stand alone programming with verilog code file
1 次查看(过去 30 天)
显示 更早的评论
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)
0 个评论
回答(1 个)
Tim McBrayer
2016-4-11
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 个评论
Tim McBrayer
2016-4-20
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.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 HDL Coder 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!