Altera PCI Compiler User Manual

Page 69

Advertising
background image

Altera Corporation

User Guide Version 11.1

2–11

October 2011

Parameter Settings

Table 2–2

shows the bit definition for ENABLE_BITS.

INTERRUPT_PIN_REG

Hexadecimal

H"01"

Interrupt pin register. This parameter
indicates the value of the interrupt pin
register in the configuration space address
location 3DH. This parameter can be set to
two possible values: H"00" to indicate that
no interrupt support is needed, or H"01" to
implement intan. When the parameter is
set to H"00", intan will be stuck at V

CC

and the l_irqn local interrupt request input
pin will not be required.

PCI_66MHZ_CAPABLE

String

"YES"

PCI 66-MHz capable. When set to "YES",
this parameter sets bit 5 of the status
register to enable 66-MHz operation.

Notes to

Table 2–1

:

(1)

These parameters affect master functionality, therefore, they only affect the pci_mt64 and pci_mt32 MegaCore
functions.

(2)

The BAR0 through BAR5 parameters control the options of the corresponding BAR instantiated in the PCI
MegaCore function. Use BAR0 through BAR5 for I/O and 32-bit memory space. If you use a 64-bit BAR in
pci_mt64

or pci_t64, it must be implemented on either BAR0 and BAR1 or BAR1 and BAR2. Consequently, the

remaining BARs can still be used for I/O and 32-bit memory space.

Table 2–1. PCI MegaCore Function Parameters (Part 5 of 5)

Name

Format

Default Value

Description

Table 2–2. Bit Definition of the ENABLE_BITS Parameter (Part 1 of 5)

Bit

Number

Bit Name

Default

Value

Definition

5..0

HARDWIRE_BARn_ENA

B"000000"

Hardwire BAR enable. This bit indicates that the
user wants to use a default base address at
power-up.

n corresponds to the BAR number and

can be from 0 to 5.

6

HARDWIRE_EXP_ROM_ENA

0

Hardwire expansion ROM BAR enable. This bit
indicates that the user wants to use a default
expansion ROM base address at power-up.

7

EXP_ROM_ENA

0

Expansion ROM enable. This bit enables the
capability for the expansion ROM base address
register. If this bit is set to 1, the function uses the
value stored in EXP_ROM_BAR to set the size and
number of bits decoded in the expansion ROM
BAR. Otherwise, the expansion ROM BAR is read
only and the function returns H"0000000" when
the expansion ROM BAR is read.

Advertising