This Answer Record provides the test benches for 7 series, Virtex-6 and Spartan-6 FPGA in attachments.
Use the following steps when you need to use those test benches.
1. Download the zip files for the family that you are targeting.
2. Unzip the files to a folder.
3. Open ModelSim and change directory to this folder.
4. Run 'do sim_<operation name>_<family name>.do'
If you are using ISIM, you can use the test benches (cfg_<family name>_<operation name>_tb.v files) only and ignore the .do files and simulation models because you have pre-compiled models in ISIM.
For older devices, e.g., Spartan-3 Generation FPGA, you can find the test benches from below link.
Refer to the Synthesis and Simulation Design Guide for more information about the Xilinx Configuration Simulation models.