IP cores/PCIe 4.0 Soft Endpoint IP Core
PCIe 4.0 Soft Endpoint IP Core
A soft PCIe endpoint for AMD UltraScale+: PCIe Gen4 x1 to x8 at up to 16 GT/s in the fabric, a drop-in replacement for PG213
- GTY / GTHx1 to x8
- PG239 PHYAMD, included
- LTSSMtraining, Gen1 to Gen4
- Data link layerACK / NAK, replay
- Transaction layerconfig space, BARs
Position in the imaging pipeline
- Sony sensorIMX530, IMX547, IMX421
- SLVS-EC RXGTH, GTY or HP I/O
- FPGA ISPBinning, ROI crop
- CXP DeviceCXP-12, 1 lane today
- Coax, CXP-12
- CXP HostAXI4-Stream out
- NVMe hostGen3 / Gen4, x1 to x4SSDM.2 NVMe drive

16 GT/s on the same pins
PCIe Gen4 x1 to x8 in the fabric of AMD UltraScale+ parts, on the PG239 PHY, where the hard block stops at Gen3.
Many UltraScale+ parts have a PCIe block that stops at Gen3, and some have none at all. This core puts a complete PCI Express 4.0 endpoint in the fabric instead: link training and equalization, the data link layer, the transaction layer and configuration space, on AMD's own PG239 PHY. It is a drop-in replacement for AMD's PG213 integrated block, with the same ports and CONFIG names, so it supports LitePCIe and the design around it stays as it is. On a KCU116, whose hard block tops out at 8 GT/s, it runs 16 GT/s x8 on the same transceivers, pins and constraints.
- Gen4 where the hard block stops at Gen3
- The PCIE4 blocks in Kintex UltraScale+ and Zynq UltraScale+ MPSoC parts top out at 8 GT/s. This core runs 16 GT/s on their GTYs, and on GTH in -2, -2L and -3 speed grades.
- A drop-in for PG213
- Same port list, same CONFIG names and values, at 512 bits for x8 and 256 bits for narrower links. Change the VLNV in your create_ip script and the instance, its connections and LitePCIe stay where they are.
- Lanes on any quad
- Your board constraints place the lanes, on any GTY or GTH quad. That covers parts with no PCIe block, and boards whose lanes land where the hard block cannot reach.
- Keeps the link up when Gen4 fails
- If a 16 GT/s attempt fails, the link drops back to 8 GT/s with user_lnk_up held high, and the host carries on at Gen3.
| At a glance | |
|---|---|
| Standard | PCI Express 4.0 Endpoint |
| Link | x1, x2, x4 or x8, 2.5 to 16.0 GT/s |
| Bandwidth | 15.75 GB/s each way at x8 |
| PHY | AMD PG239 on GTY or GTH, included |
| User side | PG213 CQ, CC, RQ and RC at 512 or 256 bits |
| Hard PCIe blocks used | None |

Video
The PCIe 4.0 Soft Endpoint at 16 GT/s
Our IMX530 camera on the Aper-Oculus sends RGB8 4096x2160 at 44.6 fps over CoaXPress CXP-12 to a KCU116. The soft endpoint, in place of the hard block, carries it into the PC through the LitePCIe driver: 1.18 GB/s over PCIe Gen4 x1 at 16 GT/s.
Inside the core
Lanes come in through the GTY or GTH transceivers and AMD's PG239 PHY, which ships with the core. Everything above the PHY is ApotheoTech logic in the fabric, and your design sees it as PG213's four AXI4-Stream interfaces.
- PG239 PHY for 1 to 8 lanes, as AMD generates it, unmodified
- Link training and the LTSSM, with Gen3 and Gen4 equalization
- 8b/10b at 2.5 and 5.0 GT/s, 128b/130b at 8.0 and 16.0 GT/s
- Data link layer: acknowledge and replay, flow control credits
- Transaction layer: TLP build and check, BAR decode, configuration, errors
- PG213 stream adapters at 512 or 256 bits, with every port registered
- Request tracking: core-managed tags and Completion Timeout, as PG213
- The PME_Turn_Off handshake and L2/L3 Ready entry, as PG213
- MSI with 1 to 32 vectors, MSI-X with the table in user logic, INTx
- Advanced Error Reporting and ERR_COR, ERR_NONFATAL and ERR_FATAL messages
Link bandwidth
Per direction, after line coding and before packet overhead. At 250 MHz the user interface moves 16 GB/s per stream at 512 bits (x8) and 8 GB/s at 256 bits (x4, x2, x1), so it never holds the link back.
| Lanes | 2.5 GT/s | 5.0 GT/s | 8.0 GT/s | 16.0 GT/s |
|---|---|---|---|---|
| x1 | 0.25 | 0.50 | 0.98 | 1.97 |
| x2 | 0.50 | 1.00 | 1.97 | 3.94 |
| x4 | 1.00 | 2.00 | 3.94 | 7.88 |
| x8 | 2.00 | 4.00 | 7.88 | 15.75 |
GB/s. 8b/10b coding at 2.5 and 5.0 GT/s, 128b/130b at 8.0 and 16.0 GT/s.
Hardware status
Where the core runs today, as of December 2026.
| Family | Transceiver | Link | Status |
|---|---|---|---|
| Kintex UltraScale+ (KCU116, XCKU5P) | GTY | 16.0 GT/s at x1, x2, x4 and x8 | Running in hardware |
| Zynq UltraScale+ MPSoC | GTH | Up to 16.0 GT/s x8 (-2, -3) | Hardware validation in progress |
| Virtex UltraScale+ | GTY | Up to 16.0 GT/s x8 | Ask us |
| Your board | GTY or GTH | x1 to x8 | Integration on request |
Compared with PG213
The core covers the endpoint features most PG213 designs use. These are the places it differs. The ports of anything it leaves out are still there, tied off, so a PG213 instance connects unchanged. The datasheet has the full comparison.
| Feature | PG213 hard block | This core |
|---|---|---|
| 16 GT/s on Kintex and Zynq UltraScale+ | No, their blocks stop at 8 GT/s | Yes, on GTY, and on GTH in -2, -2L and -3 parts |
| Parts with no PCIe block | No | Yes, on any GTY or GTH quad |
| Link width | x1 to x16 | x1 to x8 |
| User interface width | 64, 128, 256 or 512 bits | 512 bits at x8, 256 bits at x4, x2 and x1 |
| Physical functions | Up to 4, with SR-IOV | One (PF0) |
| Max payload size | 128 to 1024 bytes | 128, 256 or 512 bytes |
| MSI-X table | In the core or in user logic | In user logic |
| ASPM L0s and L1 | Yes | No |
| Root Port mode | Yes | No |
Resource utilization
Measured on the KCU116 at 16 GT/s with Vivado 2024.2, PG239 PHY included. x8 builds the 512-bit core; x4, x2 and x1 build the 256-bit core, which takes 34% fewer LUTs than the 512-bit core at x4.
| Lanes | User interface | LUTs | Registers | Block RAM (36 Kb) | Source |
|---|---|---|---|---|---|
| x8 | 512 bits | 65,479 | 54,401 | 22.5 | KCU116, Dec 2026 |
| x4 | 256 bits | 36,466 | 32,647 | 21 | KCU116, Dec 2026 |
| x2 | 256 bits | 29,967 | 26,961 | 21 | KCU116, Dec 2026 |
| x1 | 256 bits | 22,843 | 22,093 | 21 | KCU116, Dec 2026 |
No DSP slices and no UltraRAM at any width. Share of the LUTs in a KU5P: 30.2% at x8, 16.8% at x4, 13.8% at x2, 10.5% at x1. LitePCIe DMA adds about 5.2K LUTs on top (6.2K at x8). Size options take out at least 18,100 more LUTs at x8 with all three, by leaving request tracking, the x2 and x1 links and 2.5 and 5.0 GT/s packets out of the build. The datasheet has the details.
Verification
Each layer was simulated on its own, then the whole endpoint against a Root Port model, before the core went near a board. On the bench it runs in PCs with AMD and Intel processors, under Ubuntu and AlmaLinux. Next is a Jetson Orin, an ARM host.
- Training to 16 GT/s x8 with lane skew, polarity inversion and a dead lane
- Failed 16 GT/s attempts returning to 8 GT/s without the link going down
- The core with LitePCIe: enumeration, DMA and MSI, before and after a speed change
- Configuration space, BAR decode and error reporting against PCIe 4.0 models
- All four streams at full rate and under heavy back-pressure
- The included PG239 PHY checked equal to AMD's own generation of it
- In a PC with a PCIe 5.0 root port, the KCU116 enumerates at boot and trains to 16 GT/s x8
- The x1, x2, x4 and x8 builds, each tested in hardware at 16 GT/s
- In a Gen3-only slot, the same bitstream trains to 8 GT/s
Reference designs
KCU116 frame grabber
A test pattern streams through LitePCIe DMA and this core into host memory at 16 GT/s x8. The LitePCIe Linux driver, its DMA and its MSI interrupts run unchanged. Included with every license.
KCU116 + APT-C11-FMC
A CoaXPress camera into a PC: the CoaXPress Host core feeds LitePCIe, and this core carries the stream to the host. In the demo, RGB8 4096x2160 at 44.6 fps is 1.18 GB/s over PCIe Gen4 x1. A Gen3 x1 lane tops out at 0.98 GB/s.
Your board
Any UltraScale+ board with GTY or GTH lanes to a PCIe edge or connector. We do the integration on request.
Specifications
Licensing
Perpetual license, quoted on request, with one year of updates and email support. Send the device, lane width and link speed, and we will send back a utilization report for that build along with the evaluation terms.
Configurations
- Kintex or Virtex UltraScale+, GTYUp to 16 GT/s x8
- Zynq UltraScale+ MPSoC, GTH16 GT/s x8 on -2, -2L and -3 parts, 8 GT/s x8 on -1
- Other familiesQuoted as an engineering engagement
Included with every license
- Encrypted netlist for your device and link configuration, for implementation and simulation, packaged for IP Integrator
- The AMD PG239 PHY for GTY and GTH, as AMD generates it
- Core timing constraints, with no locations
- Product guide: interfaces, parameters, PG213 migration, debugging
- The KCU116 LitePCIe frame grabber example design
- One year of updates and email support
Available separately
- Integration on your board
- PG213 to soft endpoint migration
- DMA and Linux driver work, including V4L2 capture
- Complete PCIe frame grabbers with the CoaXPress Host core
Documentation
Try it on your board
Send the device, lane width, link speed and the PG213 configuration you use today. We'll come back with a utilization report for that build and the evaluation terms.