MIPI D-PHY IP User Guide: Agilex™ 3 and Agilex™ 5 FPGAs

ID 817561
Date 6/30/2025
Public
Document Table of Contents

4.1.1. Simulation Design Example with External Loopback Enabled Block Diagram

The MIPI D-PHY IP supports a loopback-enabled option. In the example below, a single D-PHY IP has both the matching TX and RX links instantiated within the same IP. The D-PHY IP checks for the RX-TX pairing for loopback and passes that information to the TG_BFM block for enabling the loopbacks among the different links.
Figure 15. External Loopback Simulation TestbenchThe figure shows the major blocks in the simulation design example with external loopback..

As described in the previous section, the synthesis design example contains a traffic generator and an instance of the D-PHY IP.

The TG_BFM model, which includes the following functions:

  • Clock source for PLL reference clock.
  • AXI-Lite interface instantiation which contains read/write tasks and can be used as an AXI-Lite BFM.
  • Loopback MUXing for looping back TX links to RX links on the same D-PHY IP.