When the core is generated using IP catalog, a demonstration test bench is created. This is a simple VHDL test bench that exercises the core.
The demonstration test bench source code is one VHDL file: demo_tb/tb_<component_name>.vhd in the IP catalog output directory. The source code is comprehensively commented.