The Test Bench pane lets you set options that determine characteristics of generated test bench code.
The Generate Test Bench button initiates test bench
generation for the system selected in the Generate HDL for menu
on the parent HDL Code Generation pane. Make sure that the system selected is the
DUT. Testbench generation is disabled if you select the entire model. See also