Prohibiting Pin assignment in UCF file
Use the prohibit attribute in UCF file to prohibit the fitter from using a particular pin/pins.
Example
config PROHIBIT=P9
The syntax differs from package to package. The pin name is Pnn for PC, PQ, TQ, and similar packages, where nn is the pin number. The pin name is rc (row, column) for CS, BG, and similar packages. Examples are PROHIBIT=P24 and PROHIBIT=G2. The PROHIBIT attribute can also accept a comma-separated list of pin names.