Altera PCI Compiler User Manual
Page 67

Altera Corporation
User Guide Version 11.1
2–9
October 2011
Parameter Settings
HARDWIRE_BARn
Hexadecimal
H"FF000000"
Hardwire base address register.
n
corresponds to the base address register
number and can be from 0 to 5.
HARDWIRE_BARn
is a 32-bit hexadecimal
value that permanently sets the value stored
in the corresponding BAR. This parameter
is ignored if the corresponding
HARDWIRE_BARn_ENA
bit is not set to 1.
When the corresponding
HARDWIRE_BARn_ENA
bits are set to 1, the
function returns the value in
HARDWIRE_BARn
during a configuration
read. To detect a base address register hit,
the function compares the incoming
address to the upper bits of the
HARDWIRE_BARn
parameter. The
corresponding BARn parameter is still used
to define the programmable setting of the
individual BAR such as address space type
and number of decoded bits.
HARDWIRE_EXP_ROM
Hexadecimal
H"FF000000"
Hardwire expansion ROM BAR.
HARDWIRE_EXP_ROM
is the default
expansion ROM base address. This
parameter is ignored when
HARDWIRE_EXP_ROM_ENA
is set to 0.
When HARDWIRE_EXP_ROM_ENA is set to
1, the function returns the value in
HARDWIRE_EXP_ROM
during a
configuration read. To detect base address
hits for the expansion ROM, the functions
compare the input address to the upper bits
of HARDWIRE_EXP_ROM.
HARDWIRE_EXP_ROM_ENA
must be set to
enable expansion ROM support, and the
HARDWIRE_EXP_ROM
parameter setting
defines the number of decoded bits.
Table 2–1. PCI MegaCore Function Parameters (Part 3 of 5)
Name
Format
Default Value
Description