I would like to create a Simulink library that has my own Simulink blocks created from my hand-written HDL code. These blocks in the Simulink library can be reused to create a Simulink model.
I knew there may be two methods below to create blocks from my hand-written HDL code, but not sure which one can be used for creating my own Simulink library.
1. VHDL code as a Black Box subsystem using Simulink® HDL Coder™
2. Create a Block from existing HDL Code using EDA Simulator Link
What is the different between first method and second one? First one is not able to do the HDL level simulation, and second one is able to do the HDL simulation?
Which method created the block can be reused in a Simulink library?
Thank you in advance for any help.
Best Answer