This script generates a testbench template for VHDL'87 entities that you can cut and paste into a text file. It declares and instantiates your entity as a component and declares and connects signals. It also provides some formatting to align things. Please compile the file with your entity first as the parser in this script is not that sophisticated when errors are detected.