Intel Acceleration Stack for Intel® Xeon® CPU with FPGAs Core Cache Interface (CCI-P) Reference Manual

ID 683193
Date 11/04/2019
Public
Document Table of Contents

1.3.2.1. Reading from Main Memory

The AFU sends a memory read request over CCI-P Channel 0 (C0), using pck_af2cp_sTx.c0; and receives the response over C0, using pck_cp2af_sRx.c0.

The c0_ReqMemHdr structure provides a convenient mapping from a flat bit-vector to read request fields. The AFU asserts the pck_af2cp_sTx.c0.valid signal and drives the memory read request on hdr. The req_type specifies the cache hint: (i) RDLINE_I to specify no caching and (ii) RDLINE_S for caching in shared state. The mdata field is a user-defined request ID that is returned unmodified with the response.

The c0_RspMemHdr structure provides a convenient mapping from flat bit-vector to response fields. The FIU asserts the pck_cp2af_sRx.c0.resp_valid signal and drives the read response and data on hdr and data, respectively. The resp_type is decoded to identify the response type: Memory Read or UMsg. Since the read response order is not guaranteed, you must define the mdata field to return the same value that was transmitted with the request.

For example, the AFUs may use mdata for routing the request and response internal to the AFU; or carrying information on the next triggered action.