Microsemi UG0649 Display Controller User Guide

June 9, 2024
Microsemi

Microsemi UG0649 Display Controller

Microsemi UG0649 Display Controller

Microsemi makes no warranty, representation, or guarantee regarding the information contained herein or the suitability of its products and services for any particular purpose, nor does Microsemi assume any liability whatsoever arising out of the application or use of any product or circuit. The products sold hereunder and any other products sold by Microsemi have been subject to limited testing and should not be used in conjunction with mission-critical equipment or applications. Any performance specifications are believed to be reliable but are not verified, and Buyer must conduct and complete all performance and other testing of the products, alone and together with, or installed in, any end-products. Buyer shall not rely on any data and performance specifications or parameters provided by Microsemi. It is the Buyer’s responsibility to independently determine suitability of any products and to test and verify the same. The information provided by Microsemi hereunder is provided “as is, where is” and with all faults, and the entire risk associated with such information is entirely with the Buyer. Microsemi does not grant, explicitly or implicitly, to any party any patent rights, licenses, or any other IP rights, whether with regard to such information itself or anything described by such information. Information provided in this document is proprietary to Microsemi, and Microsemi reserves the right to make any changes to the information in this document or to any products and services at any time without notice.

About Microsemi
Microsemi, a wholly owned subsidiary of Microchip Technology Inc. (Nasdaq: MCHP), offers a comprehensive portfolio of semiconductor and system solutions for aerospace & defense, communications, data center and industrial markets. Products include high-performance and radiation-hardened analog mixed-signal integrated circuits, FPGAs, SoCs and ASICs; power management products; timing and synchronization devices and precise time solutions, setting the world’s standard for time; voice processing devices; RF solutions; discrete components; enterprise storage and communication solutions, security technologies and scalable anti-tamper products; Ethernet solutions; Power- over-Ethernet ICs and midspans; as well as custom design capabilities and services. Learn more at www.microsemi.com.

Revision History

The revision history describes the changes that were implemented in the document. The changes are listed by revision, starting with the current publication.
Revision 7.0
The following is a summary of the changes in revision 7.0 of this document.

  • Updated Configuration Parameters, page 5 section.
  • Updated Resource Utilization, page 8 section.
  • Updated display controller testbench waveform. See Figure 12, page 7.

Revision 6.0
The following is a summary of the changes in revision 6.0 of this document.

  • Updated the Introduction, page 2 section.
  •  Updated the Block Diagram and Timing Diagram of Display Controller.
  • Updated tables such as Inputs and Outputs of Display Controller, Configuration Parameters, and Resource Utilization Report.
  • Updated the testbench configuration parameters and some of the figures of Testbench section.

Revision 5.0
The following is a summary of the changes in revision 5.0 of this document.

  • Updated Resource Utilization, page 8 section.

Revision 4.0
The following is a summary of the changes in revision 4.0 of this document.

  • Updated Testbench Simulation, page 6 section.

Revision 3.0
The following is a summary of the changes in revision 3.0 of this document.

  • Updated section Hardware Implementation, page 3 with ddr_rd_video_resolution input signal.
  • Updated the display control resolution to 4096 × 2160. For more information, see Inputs and Outputs, page 4.
  • Added section Testbench Simulation, page 6.

Revision 2.0
Updated Table 2, page 5 with g_DEPTH_OF_VIDEO_PIXEL_FROM_DDR signal. For more information see Configuration Parameters, page 5 (SAR 76065).

Revision 1.0
Revision 1.0 was the first publication of this document.

Introduction

The display controller generates display synchronization signals based on the display resolution. It generates the horizontal and vertical sync signals, horizontal and vertical active signals, frame end and data enable signals. The input video data is also synchronized with these sync signals. The sync signals along with video data can be fed to a DVI, HDMI, or VGA card that interfaces with the display monitor.

The following figure shows the sync signal waveforms.

Figure 1 • Sync Signal Waveforms

Microsemi UG0649 Display Controller 1

Hardware Implementation

The following figure shows the display controller block diagram.

Figure 2 • Display Controller Block Diagram

Microsemi UG0649 Display Controller 2

Display controller has following two submodules.

Signal Generator 1
It has one horizontal counter and one vertical counter. The horizontal counter starts counting as soon as the ENABLE_I signal goes high and resets to zero every time when it reaches total horizontal count (Horizontal Resolution + Horizontal Front Porch + Horizontal back porch + Horizontal Sync Width). The vertical counter starts counting after end of first horizontal line and resets to zero when it reaches total vertical count (Vertical Resolution + Vertical Front Porch + Vertical back porch + Vertical Sync Width).
The DATA_TRIGGER_O signal is generated by signal generator1 based on the horizontal and vertical counter values.

Signal Generator 2
It has also one horizontal counter and one vertical counter. The horizontal counter starts counting when EXT_SYNC_SIGNAL_I goes high and resets to zero every time when it reaches total horizontal count (Horizontal Resolution + Horizontal Front Porch + Horizontal back porch + Horizontal Sync Width). The vertical counter starts counting when the horizontal counter reaches the total horizontal count for the first time. The vertical counter resets to zero when it reaches total vertical count (Vertical Resolution + Vertical Front Porch + Vertical back porch + Vertical Sync Width). The H_SYNC_O, V_SYNC_O, H_ACTIVE_O, V_ACTIVE_O and DATA_ENABLE_O signals are generated by signal generator2 based on the horizontal and vertical counter values.

Inputs and Outputs

Ports

The following table lists the description of input and output ports. Table 1 • Inputs and Outputs of Display Controller

Signal Name Direction Width Description
RESETN_I Input 1 bit Active low asynchronous reset signal to design
SYS_CLK_I Input 1 bit System clock
ENABLE_I Input 1 bit Enables display controller
ENABLE_EXT_SYNC_I Input 1 bit Enables external syncing
EXT_SYNC_SIGNAL_I Input 1 bit External sync reference signal. It is used to

compensate the delay generated by the intermediate blocks. Its timing characteristics should match that of video resolution (set using G_VIDEO_FORMAT) selected.
H_SYNC_O| Output| 1 bit| Active horizontal sync pulse
V_SYNC_O| Output| 1 bit| Active vertical sync pulse
H_ACTIVE_O| Output| 1 bit| Horizontal active video period
V_ACTIVE_O| Output| 1 bit| Vertical active video period
DATA_TRIGGER_O| Output| 1 bit| Data trigger. It is used to trigger DDR read operation
FRAME_END_O| Output| 1 bit| Goes high for one clock after every frame end
DATA_ENABLE_O| Output| 1 bit| Data enable for HDMI
H_RES_O| Output| 16 bit| Horizontal resolution

Configuration Parameters

The following table lists the description of the generic configuration parameters used in the hardware implementation of display controller, which can vary based on the application requirements.

Microsemi UG0649 Display Controller 3

Timing Diagrams

Microsemi UG0649 Display Controller 4

Testbench Simulation

A testbench is provided to check the functionality of the display controller. The following table lists the parameters that can be configured.

Microsemi UG0649 Display Controller 5

The following steps describe how to simulate the core using the testbench.

  1. In the Libero SoC Design Flow window, expand Create Design, double-click Create SmartDesign Testbench or right-click Create SmartDesign Testbench and click Run to create a SmartDesign testbench. See the following figure.Microsemi UG0649 Display Controller 6

  2. Enter a name for the new SmartDesign testbench in the Create New SmartDesign Testbench dialog box and click OK as shown in the following figure.Microsemi UG0649 Display Controller 7
    A SmartDesign test bench is created, and a canvas appears to the right of the Design Flow pane.

  3. In the Libero SoC Catalog (View > Windows > Catalog), expand Solutions-Video and drag-and- drop the Display Controller core onto the SmartDesign testbench canvas, as shown in the following figure.Microsemi UG0649 Display Controller 8

  4. Select all the ports, right-click, and select Promote to Top Level, as shown in the following figure.Microsemi UG0649 Display Controller 9

  5. Click Generate Component from the SmartDesign toolbar, as shown in the following figureMicrosemi UG0649 Display Controller 10

  6. On Stimulus Hierarchy tab, right-click display_controller_test (display_controller_tb.vhd) testbenchMicrosemi UG0649 Display Controller 11

The ModelSim tool appears with the test bench file loaded on to it as shown in the following figure

Microsemi UG0649 Display Controller 12

If the simulation is interrupted because of the runtime limit in the DO file, use the run -all command to complete the simulation. After the simulation is completed, the test bench output image file appears in the simulation folder (View > Files > simulation). For more information about updating the testbench parameters, see Table 3, page 6.

Resource Utilization

The display controller is implemented in the SmartFusion2 and IGLOO2 system- on-chip (SoC) FPGA (M2S150T-1FC1152 package) and PolarFire FPGA (MPF300TS – 1FCG1152E Package). The following table lists the resources utilized by the FPGA when G_VIDEO_FORMAT = 1920×1080 and G_PIXELS_PER_CLK = 1.

Resource Usage
DFFs 79
4LUTs 150
LSRAM 0
MATH 0
Resource Usage
--- ---
DFFs 79
4LUTs 149
RAM1Kx18 0
RAM64x18 0
MACC 0

Microsemi Headquarters
One Enterprise, Aliso Viejo, CA 92656 USA
Within the USA: +1 800-713-4113 Outside the USA: +1 949-380-6100 Sales: +1 949-380-6136
Fax: +1 949-215-4996
Email: sales.support@microsemi.com www.microsemi.com

2019 Microsemi, a wholly owned subsidiary of Microchip Technology Inc. All rights reserved. Microsemi and the Microsemi logo are registered trademarks of Microsemi Corporation. All other trademarks and service marks are the property of their respective owners.

References

Read User Manual Online (PDF format)

Loading......

Download This Manual (PDF format)

Download this manual  >>

Related Manuals