Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
21613 Discussions

Automatic testbench creation/generation and simulation

Altera_Forum
Honored Contributor II
1,581 Views

Hi All, 

 

I'm looking for a tool that creates and simulates a test benche (automatically) for my DUT.  

 

The input to my design are the samples and the sampling clock. The output is the processed samples and an output ready signal. I have provided the frequency information of the input sampling clock on the timing analysis settings page. Also, I have the input samples stored in a file (not yet known to QuartusII).  

 

Now I need to create a testbench to test my design. I know the standard procedure : going through the task of writing a testbench (or editing input waveforms), compiling the required libraries & testbench and then running it in Modelsim to get the results.  

 

But what I'm looking for is a tool, which can directly take the clock settings from the QuartusII project files, pop up a window and ask me for the inputs (in which case I just give the filename where the input samples are stored), run the simulation in the background (say using Modelsim) and write the output into a file (say I provide a file name in the very first pop up menu), also write the vcd file (for the PowerPlay). 

 

Basically, I don't want to go through different steps (including opening the Modelsim) since all I want is the results in my output file. 

 

I'm sure such tools would exist, but I'm not aware of them. I've used the 'Testbench' block available in the DSPBuilder toolbox which kind of does what I'm looking for, but I don't use DSPBuilder in every project. 

 

Can you people please help me? Are there any such tools that come with the Quartus 9.0 design suite?
0 Kudos
2 Replies
Altera_Forum
Honored Contributor II
581 Views

Looks like my question is trivial. 

 

Thanks list.
0 Kudos
Altera_Forum
Honored Contributor II
581 Views

i don't think Quartus has the all in one flow that you're looking for (but there is the test bench editor and NativeLink). 

 

i went to a Mathworks seminar and they were talking about a tool to integerate ModelSim and MATLAB or Simulink, maybe this would be worth a look.
0 Kudos
Reply