How to call vivado from matlab for cosimulation
Ältere Kommentare anzeigen
Hello !
I am working on cosimulation of a specific project between Matlab and ModelSim as HDL simulator. Matlab script, and simulink model communicate using from workspace blocks.
Inside Matlab script I use the following command to lunch ModelSim on batch mode:
tclcmd = { ...
'vsimulink top_tsr -t 1ns -voptargs=+acc ;', ...
'add wave top_tsr/*;', ...
};
vsim('tclstart',tclcmd,'runmode','Batch')
And the following cmd to lunch simulink cosimulation:
Sim_out = sim('TSR_CoSim');
What I want to do now is to implement the same module using cosimulation with Vivado instead of ModelSim.
I have generated the .slx model that contains vivado block.
i just need to call vivado from matlab to make it ready for Cosimulation.
Thank you
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu MATLAB Cosimulation finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!