HDL Simulation in Modelsim from Matlab

3 views (last 30 days)
Luffy
Luffy on 8 Oct 2015
Edited: Luffy on 9 Oct 2015
Unlike the many examples & videos listed in my case,i have the entire tcl script in a .do file and it is very long (350 lines).So it may not be feasible to use 'tclstart' in vsim.
I have generated the test cases from matlab.Now i want to invoke modelsim & pass the .do file which has the tcl script. I'm thinking of using this command in tclstart 'do C:/Users/Desktop/Matlab_latest/eupsic/iklsfv8.do'.
I'm doing this:
tclstart = 'do C:/Users/Desktop/Matlab_latest/eupsic/iklsfv8.do';
vsim(tclstart,'tclstart');
This opens modelsim but says unable to read macro file. And my simulation in modelsim would take atleast 2-3 hrs.After that how can i return control back to Matlab ?

Answers (0)

Categories

Find more on Simulation, Tuning, and Visualization in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!