VGA driver display and logic analyzer usage

Publisher:范隆Latest update time:2020-02-15 Source: elecfansKeywords:VGA Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

The interface block diagram of Zedboard is as follows:

VGA driver display and logic analyzer usage

The modules on the PL side include HDMI, VGA, OLED, etc. The following will introduce in detail the process of driving VGA on Zedboard. The development environment is Vivado 2016.2. Zedboard is a DAC circuit built by a weighted resistor network.

VGA driver display and logic analyzer usage

Regarding the driving principle of VGA, please see the timing diagram below:

VGA driver display and logic analyzer usage

The program simulates the generation of horizontal and vertical synchronization signals through counters. Here we mainly introduce the development process of Vivado. Create a new project in Vivado and select the development board Zedboard, as shown in the figure:

VGA driver display and logic analyzer usage

Add all the modified project codes. Here, we use the Clock Wizard to regenerate the required clocks. The method is similar to that of Quartus. The transplanted project is shown in the figure:

VGA driver display and logic analyzer usage

Then execute Run Synthesis, Run Implementa TI on and Generate Bitstream to generate a .Bit file and download it to the FPGA. Here I want to use the online logic analyzer function, so first I need to add (* mark_debug="true" *) before the signal whose waveform I want to view in the code, so that even if the signal is not connected in the project, it will not be optimized away by the compiler. As shown in the figure:

VGA driver display and logic analyzer usage

We will be looking at the VGA red, green, and blue signals in the logic analyzer. Select Set Up Debug and add the signals of interest.

VGA driver display and logic analyzer usage

VGA driver display and logic analyzer usage

Be careful not to make a mistake in the clock domain. After setting it up, we found that there is an additional debug module in the RTL view.

VGA driver display and logic analyzer usage

Then execute Open Target in Hardware Manager, connect to the target development board, Program device, and after downloading, the logic analyzer window will automatically appear.

VGA driver display and logic analyzer usage

The final display effect is as follows:

VGA driver display and logic analyzer usage

Keywords:VGA Reference address:VGA driver display and logic analyzer usage

Previous article:What is a logic analyzer? How to use a logic analyzer?
Next article:Working principle and design of handheld electric energy meter field calibrator

Latest Test Measurement Articles
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号