Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
15 years ago

Testing Verilog design with Matlab

Hi!

I have done a design using Quartus II and I need to test it by using Matlab. Is there any way to link Quartus with Matlab??

Thank you.

Joan

3 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    I think you can use a "Black box" simulink block from Altera's DSPbuilder to encapsulate your VHDL/verilog code, then make your matlab code communicate with the HDL via simulink.

    I did this once with Xilinx tools and worked great. Altera offers similar functionality.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    the Mathworks does offer some solutions for integrating ModelSim into MATLAB/Simulink.

    you can also make a test bench which reads and writes text files that you can generate and analyze in MATLAB.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    thank you very much!! I will try those things. First I have to install Matlab 7, because I have 6.0.