This is a general purpose VHDL TestBench.
The detailed description can be found in the dedicated D0 Note 3871.