Hi,
In <project>_tb_ent.vhd
'use work.tb_pkg.all; -- test bench package'
is missing when using 'ttb_gen_gui.tcl'. I'm using the latest CVS version.
Kind regards, Alain Péteut
Hello Alain,
Thank you for taking the time to add this request.
The reason that the "use work.tb_pkg.all" statement is not included is because work is usually the default library and is searched by most simulators for missing definitions. This is like an inferred library. Or that is the way I have used it in the past and present.
The ttb_gen_gui.tcl script is provided to ease the writing of the structure that I use. It saves lots of typing if you have a DUT with many pins. By no means was the script written to provide the perfect compilable output. There are simply too many variables for a simple script. Though feel free to modify your copy to meet your needs, so that it will generate exactly what you want. Edits like adding a use clause should be easy.
With the above explanation, would you still like me to make some changes?
Sckoarn ;(
As I have not received any comments regarding this request, I will now close it with no action.