Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)

question about testbench

Altera_Forum
Honored Contributor II
1,153 Views

Hi all, 

 

I am trying to write a VHDL testbench. I am wondering what kind of file I should create for the testbench, VHDL script file or anything else? If it is VHDL script file, how does the simulator could distinguish the VHDL entity file between VHDL testbench file?Thanks
0 Kudos
2 Replies
Altera_Forum
Honored Contributor II
461 Views

There no such thing as a VHDL script file. a testbench is just a VHDL file. You instantiate the unit under test inside the testbench.

0 Kudos
Altera_Forum
Honored Contributor II
461 Views

You should read some things about VHDL testbenches. A good point to start would be to Google for "VHDL testbench". There is a good explanation on the Doulos website.

0 Kudos
Reply