CorePCIF Master Function
DMA Master Registers
There are four 32-bit registers used to control the function of the CorePCIF Master. The first register is the PCI address
register. The second register is the RAM or backend address register. These two registers provide the source/destination
addressing for all data transfers. The third register contains the number of words to be transferred, and the final control
register defines the type and status of a Master transfer. These registers are cleared on reset. They are defined in detail in
The DMA registers can be accessed from either the PCI or the backend interface. The address locations for the DMA
registers are listed in Table 1-2 . When these registers are accessible from the PCI bus, they can be memory-, I/O-, or
configuration-mapped. The DMA_REG_LOC, DMA_REG_BAR, and BACKEND parameters control access to these
registers.
The complete configuration space can be read when BAR access to these registers is enabled, but writing can be done
only to the four DMA control registers.
When the BACKEND parameter is set, the four registers and the complete PCI configuration space can be accessed via
the backend ( Table 1-2 ).
Table 1-2 · DMA Register Addresses
Register Name
PCI address
RAM address or data register
DMA transfer length
DMA control register
Address
50h
54h
58h
5Ch
Master Transfers
The CorePCIF Master function supports full DMA transfers to and from the backend interface and initiates direct PCI
transfers.
When normal DMA transfers are used, CorePCIF writes each data word to or fetches it from memory through its
backend interface. This allows data to be transferred directly from the PCI bus to or from backend memory blocks. In
some circumstances, this is inefficient, especially if a processor connected to the backend simply wants to carry out a
single-word PCI read or write. In this case, the processor writes the data word to a known location in its memory map.
It then programs the DMA controller to perform a single-word DMA transfer. The DMA controller accesses the
memory location to obtain the data value; this may require the processor to stop operating while the PCI core accesses
the memory to complete the PCI transfer.
When direct DMA transfers are enabled, the processor simply writes the PCI address and data into the core and starts
the transfer by writing to the control register, setting the DMA_BAR value to '111'. The core then fetches the data value
or writes it to the internal register during the PCI transfer. Access to the backend memory is not required to complete
the DMA transfer.
Direct DMA transfer supports only 32-bit transfers. When using 64-bit versions of the core, the 64-bit transfer mode
select bit in the DMA control register should not be set if Direct DMA mode is enabled.
Master Byte Commands
CorePCIF can either transfer multiple whole DWORDs (QWORDs for 64-bit transfers) or perform a single DWORD
or QWORD transfer with one or more byte enables active.
When multiple words are to be transferred—the DMA transfer length register is greater than four bytes (eight bytes for
64-bit)—the byte enable bits in the DMA control register should be programmed to all ones. All four or eight (64-bit)
bytes will be transferred in each data cycle.
v4.0
19
相关PDF资料
COREU1LL-AR IP MODULE COREU1LL
COREU1PHY-AR IP MODULE COREU1PHY
CORR-8BIT-XM-UT2 SITE LICENSE IP CORRELATOR XP
CP2-GSA-L CONN SHIELD LOWER TYPE A 22
CP2-HSA110-1 CONN SHROUD CPCI 2MM TYPE A 22
CP2-HSC055-4 CONN SHROUD CPCI 2MM TYPE C 11
CP2-K3567-SR-F COMPACT PCI - MISC
CP2105EK KIT EVAL FOR CP2105
相关代理商/技术参数
COREPCIF-RMFL 功能描述:IP MODULE 制造商:microsemi corporation 系列:- 零件状态:在售 类型:许可证 应用:- 版本:- 许可长度:- 许可 - 用户明细:- 操作系统:- 配套使用产品/相关产品:Microsemi 器件 媒体分发类型:- 标准包装:1
COREPCIF-UR 功能描述:HW/SW/OTHER 制造商:microsemi corporation 系列:* 零件状态:在售 标准包装:1
COREPCI-SN 制造商:ACTEL 制造商全称:Actel Corporation 功能描述:CorePCI v5.41
COREPCI-SR 制造商:ACTEL 制造商全称:Actel Corporation 功能描述:CorePCI v5.41
COREPCI-UR 制造商:ACTEL 制造商全称:Actel Corporation 功能描述:CorePCI v5.41
COREPCI-XX 制造商:ACTEL 制造商全称:Actel Corporation 功能描述:CorePCI v5.41
COREPRO LEDBULB 10.5-60W B 制造商:Philips Lumileds 功能描述:
COREPRO LEDBULB 10.5-60W E 制造商:Philips Lumileds 功能描述: