89. PCIe® dual mode gen2 controller (PCIE)

Some portions are Copyright© Synopsys, Inc. All rights reserved. Used with permission.

89.1 PCIE introduction

The PCIE is a single-lane PCIe gen2 controller that can operate as root complex (RC) or endpoint (EP).

PCIe substate L1.1 is supported via the PCIE_CLKREQN pin.

The controller implements the transaction layer, data link layer, and medium access control (MAC) sublayer.

89.2 PCIE main features

PCIe controller has the following features:

The following features are not supported:

The L1.1 substate (power saving mode) has an external signal, PCIE_CLKREQN (clock request, active-low). This signal is a shared wire between the link partners, and is therefore an open-drain pad. If needed, a GPIO pull-up can be enabled

The ePTM feature coordinates timing information across multiple PCIe devices with independent local time-bases.

89.3 PCIE functional description

89.3.1 PCIE block diagram

The PCIE block diagram is shown below:

Figure 1066. PCIE controller block diagram

Figure 1066. PCIE controller block diagram. The diagram shows an AXI bus on the left with three interfaces: mstr, slv, and dbi. These interfaces connect to three modules: RADM, XADM, and CDM. These three modules are grouped together within a larger box labeled 'PCIE'. Inside the 'PCIE' box, there is a sub-box containing three sequential blocks: 'Transaction layer', 'Data link layer', and 'MAC sublayer'. To the right of this sub-box, within the 'PCIE' box, is the 'PMC' (Power Management Controller). A 'PIPE' interface connects the 'PCIE' box to the 'PMC'. An external signal 'PCIE_CLKREQN' is shown with a small square buffer symbol connecting it to the 'PMC'. The reference 'MSv54160V2' is located in the bottom right corner of the diagram area.
Figure 1066. PCIE controller block diagram. The diagram shows an AXI bus on the left with three interfaces: mstr, slv, and dbi. These interfaces connect to three modules: RADM, XADM, and CDM. These three modules are grouped together within a larger box labeled 'PCIE'. Inside the 'PCIE' box, there is a sub-box containing three sequential blocks: 'Transaction layer', 'Data link layer', and 'MAC sublayer'. To the right of this sub-box, within the 'PCIE' box, is the 'PMC' (Power Management Controller). A 'PIPE' interface connects the 'PCIE' box to the 'PMC'. An external signal 'PCIE_CLKREQN' is shown with a small square buffer symbol connecting it to the 'PMC'. The reference 'MSv54160V2' is located in the bottom right corner of the diagram area.

The core module implements a large part of the transaction layer logic, all of the data link layer logic, and the MAC portion of the physical layer, including the link training and status state machine (LTSSM). It also connects to the COMBOPHY through the PIPE.

Transmit application-dependent module (XADM) implements the application-specific functionality of the PCI Express transaction layer for packet transmission. Its functions include:

The transmit path uses a cut-through architecture. It does not implement transmit buffering/queues (other than the retry buffer).

The controller maintains an internal target completion lookup table to store certain TLP header information from the Rx request. Your application can use this information for transmitting completions later on.

Receive application-dependent module (RADM) implements application-specific functionality of the PCI Express transaction layer for packet reception. Its functions include:

The RADM maintains a receive completion lookup table (LUT) for completion tracking and completion-timeout monitoring of Tx non-posted requests. It indicates a timeout when an expected Rx completion does not arrive within the timeout period.

The configuration-dependent module (CDM) implements:

The power management controller (PMC) implements the power management features of the controller.

A local bus controller (LBC) provides a mechanism for a link partner (EP only), or for a local CPU (through the data bus interface (DBI) port) to access internal registers (in the CDM).