This article is part of a three-part series on PCIe PERST#.


In this second part of the PERST# deep dive, we delve deep into the propagation of PERST# from the edge of the AIC all the way to SoC. We also try to draw a detailed picture of how PERST# affects each component of the AIC.

PERST#: Board-Level Connection Routing

For an AIC (or a board-to-board embedded link), PERST# has to physically traverse the card edge connector, board traces, potential voltage domains, and any role-selection logic before it reaches the SoC pin. Key elements are:

PERST# signal flow on an endpoint add-in card, from the gold fingers through level translation and pin mux to the SoC
Figure 1: PERST# signal flow path on an EP AIC

PERST#: On-SoC Connection Routing

Inside the SoC, PERST# (or its internal GPIO-muxed equivalent) has to be distributed from the pad, through pinmux and pad-strength configuration, into the correct reset domains feeding the PHY and controller, all while respecting the SoC’s broader power-domain and reset-domain architecture.

Block diagram of PCIe EP data, control and PERST# routing inside an SoC: PHY, PIPE, endpoint controller, NoC, GPIO controller and reset fanout tree
Figure 2: Typical routing of PCIe EP data/control paths and PERST# in an SoC

PERST# and the EP Controller

Inside the digital controller — the LTSSM, Data Link Layer, Transaction Layer, and configuration space block — PERST# is typically wired as (or synchronized into) the controller’s primary asynchronous reset. Architecturally this reset needs to be:

The important nuance for a core architect: PERST# is usually not fed raw into every flop in the design. It’s brought in as a chip-level asynchronous reset, synchronized locally per clock domain (core clock, AUX clock, PIPE PCLK domain), because a modern controller has several clock domains that are not all active or valid at the same time PERST# transitions.

PERST# and the PHY Instance

The PHY (SerDes) is arguably more sensitive to PERST# sequencing than the digital core, because it contains analog blocks — PLLs, bias generators, receiver termination and CDR — that have real settling-time and reference-stability requirements. When PERST# is asserted:

This is why PERST# deassertion is never the moment link training begins — it’s the moment PHY initialization is permitted to begin. There’s a whole sequence (PLL lock, calibration, PIPE interface handshake) that must complete before the LTSSM is even allowed to leave Detect.Quiet for Detect.Active.

PERST# and the PIPE Interface

The PIPE (PHY Interface for PCI Express) specification defines the standardized digital boundary between the MAC/controller and the SerDes PHY, and it explicitly includes reset semantics in that boundary. PERST# (or a chip-level derivative of it, as depicted in the diagram) is generally wired to the PHY’s reset input as defined in PIPE, and its effect on the PIPE interface signals includes:

PERST# and the AXI/APB

On an SoC, the PCIe controller is a NoC-attached peripheral, typically exposing:

PERST#’s relationship to these interfaces is an important design decision, not an automatic consequence:

This split is one of the more subtle but important pieces of SoC-level PCIe integration: PERST# is not a single flat reset net, but one fans out into at least two or three distinct reset domains (PHY analog reset, MAC/LTSSM core reset, and AXI datapath reset).

In the next part of this series, we will discuss several issues on a production AIC which all were traced back to PERST# and some of the methods to solve/eliminate such problems.

Closing Thought

What makes PERST# worth an entire article series is that it’s simultaneously the simplest signal in the PCIe stack — one wire, one polarity, one job — and the signal most deeply entangled with everything outside the protocol: power sequencing, clock architecture, board electrical design, and firmware boot flow. The LTSSM gets all the attention in protocol discussions, but the LTSSM doesn’t even get to start until PERST#, REFCLK, and power have all agreed the system is ready — which is exactly why so many “protocol” bring-up bugs turn out, on inspection, to be PERST# sequencing bugs in disguise.


Fighting a PCIe bring-up, link-training or PCI-SIG compliance issue? Bluehatsoft helps teams bring up PCIe endpoints and pass compliance. Get in touch with us or email us at contact(at-the-rate)bluehatsoft(dot)com.