When synthesizing your SPI4.2 design with XST, you might get following error:
"ERROR:NgdBuild:604 - logical block 'apl4_pl4_wrapper0/apl4_pl4_src_top0'
with type 'pl4_src_top' could not be resolved. A pin name misspelling can
cause this, a missing edif or ngc file, or the misspelling of a type name.
Symbol 'pl4_src_top' is not supported in target 'virtex2p'."
Although you are running XST synthesis, NGDBuild is running in the background when the "Read Cores" option has been turned on. The Read Cores option is ON by default when running synthesis from the Project Navigator.
Disable the "-read_cores" option as follows:
1. From Project Navigator, select Synthesize -> Properties.
2. Uncheck the "Read Cores" option under the Synthesis Options tab.
3. Re-run synthesis.
If running XST in a batch mode:
Add the following line to your XST Synthesis Script: