VHDL-TestbenchGen Use this script to generate a VHDL testbench template from your .vhd file. How to use: Run this script with Python 2.7 — python tb_gen.py my_file.vhd and you'll get a new file called my_file_tb.vhd.