Error loading the desing (Matlab - TB integration)

In reply to antonio92m:

Hello,

The last thing I have tried. I though maybe there has something to do with my matlab script, so I run a simulation where I sent “X=1;” to matlab and then retrieved that value. Which I think it should not be complicated in the communication.
That works as my script, when the number of transaction grows the simulation breaks:

** Fatal: qmw_hdl2matlab fatal: Invalid variable name X

Time: 114690 ns Scope: qmw_hdl2matlab.getIntMultiDim File: qmw/qmw_sv/questa/qmw_hdl2matlab.sv Line: 141

Break at qmw/qmw_sv/questa/qmw_hdl2matlab.sv line 141

Simulation Breakpoint: Break at qmw/qmw_sv/questa/qmw_hdl2matlab.sv line 141

And the only thing I’ve done is:


   $sformat(cmd, "X = 1;");
   `uvm_info(get_name(), cmd, UVM_HIGH);
   // Call our MATLAB function with our transaction inputs
   void'(qmw_hdl2matlab::qmw_sendCmd(cmd));
   
   // Read the result from Matlab   
   qmw_hdl2matlab::getIntValue("X",predicted.d_out);

I am about to try to use the DPI instead of the QMW to see if it has something to do with the QMW.

Antonio