PSL / AFU Interface Specification

A CAPI based accelerator interfaces to the POWER system through a logic unit called the Power Service Layer (PSL). The Accelerator Function Unit (AFU) contains the logic that implements the unique acceleration function.

The POWER Service Layer to Accelerator Functional Unit (PSL / AFU) interface communicates to the acceleration logic running on the FPGA. Through this interface, the PSL offers services to the AFU. The services offered are cache-line oriented and allow the AFU to make buffering versus throughput trade-offs.

The interface to the AFU is composed of six independent interfaces :

  • AFU Command Interface is the interface through which the AFU sends service requests to the PSL.
  • AFU Buffer Interface is the interface through which the PSL moves data to and from the AFU.
  • PSL Response Interface is the interface through which the PSL reports status about service requests.
  • AFU MMIO Interface is the interface through which software reads and writes can access registers within the AFU.
  • AFU Control Interface allows the PSL job management functions to control the state of the AFU.
  • AFU DMA Interface allows the AFU to send native PCIe Writes and Reads and to receive Read Completion data.

Together these interfaces allow software to control the AFU state and allow the AFU to access data in the system.

This document is a Standard Track, Work Group Specification work product owned by the Accelerator Workgroup and handled in compliance with the requirements outlined in the OpenPOWER Foundation Work Group (WG) Process document. It was created using the Master Template Guide version 1.0.0. Comments, questions, etc. can be submitted to the public mailing list for this document at aclwg-afu_psl@mailinglist.openpowerfoundation.org.

Owned by : Accelerator TWG
  • version 2 2017-07-20
    workgroup specification
  • version 1.3 2017-01-16
    Fixes to CAS Operand Alignment on Buffer Interface
  • version 1.0.1 2016-09-13
    clarification data alignment, parity, partial cacheline
  • version 1.2 2016-08-02
    updates for v2
  • version 1.1 2016-05-18
    conversion from IBM internal documentation
  • version 1.0.0 2015-10-20
    workgroup specification
  • version 0.1.0 2015-04-14
    IBM CAPI documentation conversion
  accelerator     acceleratorfunctionalunit     afu     capi1     capi2     pcie4     power8     power9     powerservicelayer     psl