MIPI DSI to OpenLDI/FPD-Link/LVDS Interface Bridge Soft IP
User Guide
© 2016 Lattice Semiconductor Corp. All Lattice trademarks, registered trademarks, patents, and disclaimers are as listed at
. All other brand or product names are
trademarks or registered trademarks of their respective holders. The specifications and information herein are subject to change without notice.
FPGA-IPUG-02003-1.2
23
4.6.
Simulation Strategies
This section describes the simulation environment which demonstrates basic MIPI DSI to LVDS functionality.
shows a block diagram of the simulation environment.
DSI Model 0
DSI2FPDLINK
DSI Model 1
ready_o
monitor
Reference clock
(for HS_LP mode)
LVDS data
channel 1
Video data
channel 0
Testbench
LVDS data
channel 0
Video data
channel 1
Figure 4.7. Simulation Environment Block Diagram
4.7.
Simulation Environment
The simulation environment is made up of the DSI model instance. The number of DSI model instance depends on the
number of Rx channel (1 or 2). The instantiated model is connected to the MIPI DSI to OpenLDI/FPD-Link/LVDS
Interface Bridge IP instance (DUT) in the testbench. The DSI model is configured based on the DUT configurations and
testbench configurations. The testbench monitors assertion of the ready_o before sending the video data to the DUT if
miscellaneous signals are enabled. The testbench also transmits reference clock to the DUT if D-PHY clock mode is
non-continuous (HS_LP).
The video data transmitted by the DSI model can viewed in the waveform, see
tb.dsi_ch0.data0 – refers to the data bytes transmitted in Rx channel 0 D-PHY data lane 0
tb.dsi_ch0.data1 – refers to the data bytes transmitted in Rx channel 0 D-PHY data lane 1
tb.dsi_ch0.data2 – refers to the data bytes transmitted in Rx channel 0 D-PHY data lane 2
tb.dsi_ch0.data3 – refers to the data bytes transmitted in Rx channel 0 D-PHY data lane 3
tb.dsi_ch1.data0 – refers to the data bytes transmitted in Rx channel 1 D-PHY data lane 0
tb.dsi_ch1.data1 – refers to the data bytes transmitted in Rx channel 1 D-PHY data lane 1
tb.dsi_ch1.data2 – refers to the data bytes transmitted in Rx channel 1 D-PHY data lane 2
tb.dsi_ch1.data3 – refers to the data bytes transmitted in Rx channel 1 D-PHY data lane 3