Reply To: Riviera / MATLAB Cosim with OSVVM Scripting
Why OSVVM™? › Forums › OSVVM › Riviera / MATLAB Cosim with OSVVM Scripting › Reply To: Riviera / MATLAB Cosim with OSVVM Scripting
Hey,
I totally agree. This is part of what was so confusing to me. I could see that when using $aldec and running the test the variable would be properly expanded as you show, however, a bit further into the run, when attempting to load the aldec_matlab_cosim.dll the path would still show an unexpanded variable $ALDEC in the path.
I actually wasn’t aware of the “::” prefix and I just gave it a shot but ran into the same issue. Without the “global aldec” line included in the vendor script tcl $ALDEC will fail to expand when the tool attempts to load the library further into simulation.
—
I would be happy to help detail the CoSim process with MATLAB. As I build out this current work I will document useful info and some considerations in my free time for a blog post.
Thanks,
Brad