Click vhdl_testbench_tutorial.pdf link to view the file.