MIPI CSI-2 Intel® FPGA IP Design Example User Guide

ID 813931
Date 10/07/2024
Public

2.5. Simulation

The MIPI CSI-2 IP design example simulation demonstrates the correct way to drive data onto the AXI4-Stream of the CSI-2 TX and demonstrates correctly receiving data from the AXI4-Stream of the CSI-2 RX.

The simulation is designed to run either in video mode which has the AXI4-Stream complying with the Intel Video Streaming Protocol, or in passthrough mode that uses the MIPI CSI-2 protocol to define how the data is presented on the AXI4-Stream

Both full and fast simulation can run when you select Video for Video Interface Mode, which has the AXI4-Stream complying with the Intel Video Streaming Protocol. Fast simulations also support Passthrough for Video Interface Mode, which passes data in the MIPI CSI-2 byte stream form on the AXI-Stream interfaces.

The simulation generates the correct signals and data on the AXI4-Stream input of the CSI-2 TX. This then passes through the CSI-2 TX and out of the PPI of the CSI-2 TX.

When you select Fast simulation, the PPI then loops back into the PPI of the CSI-2 RX. The data passes through the CSI-2 RX and then out of the AXI4-Stream. The simulation then checks the signals and data on the AXI4-Stream of the CSI-2 RX to make sure they match what is expected. You can view the AXI4-Stream video interfaces operating while simulating rapidly..

When you select Full simulation, the TX PPI connects to the D-PHY TX. The D-PHY signals produced loop back into the D-PHY RX, with the RX PPI signals connected to CSI-2 RX. This simulation shows the full system datapath including external IOs, which is the external MIPI D-PHY signalling in a hardware system.