Neil wrote:
> I've written a hdl design, and simulate it now. But I can't find the
> way to write a hdl testbench to test the design.
Step one is to install a vhdl simulator
and run some tutorial examples.
A testbench is a text file.
It includes a null entity and
architecture processes
to wiggle and watch the design instance.
Besides the UUT instance, I normally
use a clock/reset generation process
and a main process to wiggle and watch.
Here's an example
http://tinyurl.com/cv43m
-- Mike Treseler