English
Language : 

COREPCI-XX Datasheet, PDF (19/42 Pages) Actel Corporation – CorePCI v5.41
CorePCI v5.41
Table 20 • DMA Control Register (Continued)
Bit
Type
Description
28
RO
Reserved (set to '0').
31–29
RW
Maximum Burst Length
When set to '000'b, the Master controller will attempt to complete the requested transfer in a
single burst. When set to non-zero, the Master will automatically break up long bursts and limit
burst transfer lengths to 2**(n-1) where n is the decimal value of bits 31:29. Therefore, maximum
transfer lengths can be limited to 1, 2, 4, 8, 16, 32 or 64 dataphases. For example, if the maximum
burst length is set to '101'b (16 transfers), then a 1024 DWORD transfer count would be broken
up into 64 individual PCI accesses.
Master Register Access
There are three different ways that the Master registers
can be accessed. The address locations for the DMA
registers are listed in Table 21. For master functions, the
registers are only accessible from the PCI bus and can be
either I/O mapped or configuration mapped. For the I/O
mapping, the core uses Base Address Register #2 to
assign a 256-byte memory space. The registers are then
located at addresses 40h, 44h, and 48h. To map these
registers into I/O, the DMA_IN_IO customization constant
Table 21 • Address Locations for the DMA Registers
Register Name
Configuration Address
PCI Address
40h
Ram Address
44h
DMA Control Register
48h
must be set to a '1'. When this constant is set to a '0', the
registers are configuration mapped again at locations
40h, 44h, and 48h.
For Master and Target+Master functions, these registers
are accessed via the backend. A two-bit address bus,
CONTROL_ADD[1:0], is provided along with chip select,
read, and write signals.
I/O Address
40h
44h
48h
Backend Address
00b
01b
10b
Customization Options
CorePCI has a variety of options for user customization. A
special package defining a list of variables that allow the
user to optimize the core for a particular application is
included with the source design files. All of the constants
are applicable to the Target+DMA function. For
Target+Master functions, the DMA_IN_IO constant is not
required. For Target functions, the DMA_IN_IO and
DMA_CNT_EN constants are not required. For Master
functions, only the BIT64 and the MADDR_WIDTH
constants are used. Table 22 lists the variables and their
descriptions.
Configuration Register Constants
To set the read-only registers in the configuration space,
a variety of constants are defined. The constants support
the definitions of the device ID register, vendor ID
register, class code registers, revision ID register,
subsystem ID, and the subsystem vendor ID.
Other Options
In addition to the read-only configuration definitions,
CorePCI offers a variety of customization options
summarized as follows:
• 32-bit or 64-bit data size (BIT64)
• 33 or 66 MHz operation (MHZ_66)
• BAR0 address size (MADDR_WIDTH)
• Optional BAR1 definitions (BAR1_ENABLE,
BAR1_IO_MEMORY, BAR1_ADDR_WIDTH, and
BAR1_PREFETCH
• Option to have the DMA registers mapped into I/O
space (DMA_IN_IO) for Target+DMA functions
v4.0
19