Download Coherent Accelerator Processor Interface User`s Manual

Transcript
User’s Manual
Advance
Coherent Accelerator Processor Interface
5.1.4 Request for Interrupt Service
The intreq command is used to generate an interrupt request to the system. Address bits [53:63] indicate the
source of the interrupt. Only values 1 - 2043 are supported. A second interrupt request using the same source
must not be generated to the system until the first request has been serviced. The PSL generates a PSL
response DONE when the interrupt request has been presented to the upstream logic. The response
provides no indication of interrupt service. The PSL generates a PSL response FAILED, if an invalid source
number is used as defined in PSL_IVTE_LIMIT_An.
5.1.5 Parity Handling for the Command Interface
Parity inputs are provided for important fields in the command interface. The command, tag, and address are
protected by odd parity. Bad parity on any of these buses causes the PSL to return the error status for the
command. All parity signals on the command interface are valid in the same cycle as aXh_cvalid.
5.2 Accelerator Buffer Interface
Data is moved between the PSL and the accelerator through the buffer interfaces. When a command is given
to the PSL, it assumes that it can read or write data to the accelerator with the aXh_ctag contained in the
command. Data is read or written before the command is completed, and it can be read or written more than
once before the command is completed. There are two buffer interfaces present, one for reading during a
write operation and one for writing during a read operation. Each read/write moves a half of a line of data (64
bytes). Requests can arrive at any time on either interface. Each interface is synchronous, pipelined, and
non-blocking. Read requests are serviced, after a small (1 - 4 cycle) fixed delay, in a pipelined fashion in the
order that they are received, so that data can be directly sent to the PCIe write stream without PSL buffering.
Table 5-6. Accelerator Buffer Interface
Signal Name
Bits
Source
Description
haX_brvalid
1
PSL
This signal is asserted for a single cycle, when a valid read data transfer is present
on the interface. The haX_br* signals are valid during the cycle haX_brvalid is
asserted.
The buffer read interface is used for accelerator write requests, and the buffer write
interface is used for accelerator read requests.
Note: This signal can be on for multiple cycles, indicating that data is being
returned on back-to-back cycles.
haX_brtag
8
PSL
Accelerator generated ID for the accelerator write request.
haX_brtagpar
1
PSL
Odd parity for haX_brtag valid with haX_brvalid.
haX_brad
6
PSL
Half-line index of read data within the transaction.
Cache lines are 128 bytes so that only the LSB is modulated.
aXh_brlat
4
Acc
Read buffer latency. This bus is a static indicator of the access latency of the read
buffer. It must not change while there are commands that have been submitted on
the command interface that have not been acknowledged on the response interface.
It is sampled continuously. However, after a reset, the PSL assumes this is a constant and that it is static for any particular accelerator.
1
Data is ready the second cycle after haX_brvalid is asserted.
3
Data is ready the fourth cycle after haX_brvalid is asserted.
aXh_brdata
512
Acc
Read data.
Version 1.2
29 January 2015
PSL Accelerator Interface
Page 69 of 101