Hi Mohammed,
I am an engineer from MathWorks. Although we do not have any specific examples or papers on this topic, there are several ways you can do this, but it depends a little bit on your goal:
If you need full debugging capabilities of both ModelSim/QuestaSim and MATLAB, I would suggest the use of HDL Verifier from MathWorks. This provides a co-simulation link between ModelSim/QuestaSim and MATLAB or Simulink and does not limit your visualization or debug options.
On the other hand, if your goal is different, I would suggest you take a look at a couple of capabilities that allow you to export from MATLAB/Simulink. The above post mentions a couple of these, but just to add/re-iterate you could also:
- Generate TLM 2.0 models
- Generate Verilog and VHDL models
- Generate C/C++ that can be integrated using the DPI
If you are interested in any of these suggestions, let me know. I’d be happy to delve into one further!
Shyam Yadati
Pilot Engineer
MathWorks Inc.