Altera PCI Compiler User Manual

Page 355

Advertising
background image

Altera Corporation

User Guide Version 11.1

A–9

October 2011

PCI Compiler

Manually delete all the existing PCI assignments from your QSF,
then use the PCI constraint file as shown in

“PCI Constraint Files” on

page A–1

.

Update the pin list in the PCI constraint file. The PCI constraint file
has a mapping of default PCI pin names to user PCI pin names. Edit
the get_user_pin name procedure in the PCI constraint file to
match the default PCI pin names to your PCI pin names, then use the
PCI constraint file as shown in

“PCI Constraint Files” on page A–1

.

In both of the above methods the PCI constraint files use the default PCI
pin names to make new PCI pin assignments in your project. You must
manually edit your QSF to change the default PCI pin names to your
project-specific pin names.

To edit the PCI constraint file, follow these steps:

1.

Open the PCI constraint file in a text editor of your choice. Make
sure that any automatic line-wrapping functionality is disabled.

2.

Go to the get_user_pin_name procedure. This procedure maps
the default PCI pin names to user PCI pin names. The first few lines
of the procedure are shown below.

proc get_user_pin_name { internal_pin_name } {

#---------------- Do NOT change ------------------------------- ---- Change -----

array set map_user_pin_name_to_internal_pin_name { ad

ad

}

3.

Edit the pin names under the "Change" header in the file to match
the PCI pin names used in your Quartus II project. In the example
line below, the name ad is changed to pci_ad:

#---------------- Do NOT change ------------------------------- ---- Change -----

array set map_user_pin_name_to_internal_pin_name { ad

pci_ad

}

Advertising