modelsim with matlab
Hi,
I don't think that you can export waveform data directly to Matlab.
You can build a vhdl component in your thest bench that record the signals you want into a text file. On each event on your selected signal, you record the time value (now) ant the signal value.
Then you can use it as an input table in matlab.
For the fraction multiplier, I will do it in different step :
equation is : A/B * C/D
1) multiply A*C (if A is n bits range and C is m bits range, then the result is m+n bits range) = E
2) multiply B*D = F
3) divide E/F : you can make it by successive substraction (long time algorithm, but simple ...)
I hope this will help you
:wink: