[Kadlag*, TECHNOPHILIA: February, 2016] ISSN: (I2OR), Publication Impact Factor: 3.785

Similar documents
Design of VGA and Implementing On FPGA

VGA Configuration Algorithm using VHDL

Design and Implementation of an AHB VGA Peripheral

A Flexible FPGA communication

Design of VGA Controller using VHDL for LCD Display using FPGA

Lab # 9 VGA Controller

VHDL Design and Implementation of FPGA Based Logic Analyzer: Work in Progress

VGA Port. Chapter 5. Pin 5 Pin 10. Pin 1. Pin 6. Pin 11. Pin 15. DB15 VGA Connector (front view) DB15 Connector. Red (R12) Green (T12) Blue (R11)

Lab 3: VGA Bouncing Ball I

Design and Implementation of SOC VGA Controller Using Spartan-3E FPGA

AbhijeetKhandale. H R Bhagyalakshmi

FPGA Laboratory Assignment 4. Due Date: 06/11/2012

Lecture 14: Computer Peripherals

Massachusetts Institute of Technology Department of Electrical Engineering and Computer Science Introductory Digital Systems Laboratory

Implementing VGA Application on FPGA using an Innovative Algorithm with the help of NIOS-II

ECE 448 Lecture 10. VGA Display Part 1 VGA Synchronization

TSIU03: Lab 3 - VGA. Petter Källström, Mario Garrido. September 10, 2018

VGA 8-bit VGA Controller

Massachusetts Institute of Technology Department of Electrical Engineering and Computer Science Introductory Digital Systems Laboratory

VID_OVERLAY. Digital Video Overlay Module Rev Key Design Features. Block Diagram. Applications. Pin-out Description

Digilent Nexys-3 Cellular RAM Controller Reference Design Overview

AD9884A Evaluation Kit Documentation

An Efficient SOC approach to Design CRT controller on CPLD s

TV Character Generator

Bit Swapping LFSR and its Application to Fault Detection and Diagnosis Using FPGA

Testing Results for a Video Poker System on a Chip

Video Graphics Array (VGA)

Block Diagram. dw*3 pixin (RGB) pixin_vsync pixin_hsync pixin_val pixin_rdy. clk_a. clk_b. h_s, h_bp, h_fp, h_disp, h_line

GENERAL RULES FOR EE314 PROJECTS

EECS150 - Digital Design Lecture 12 - Video Interfacing. Recap and Outline

Pivoting Object Tracking System

Lab #5: Design Example: Keypad Scanner and Encoder - Part 1 (120 pts)

A CONTROL MECHANISM TO THE ANYWHERE PIXEL ROUTER

Display Technology.! Images stolen from various locations on the web... Cathode Ray Tube

Performance Evolution of 16 Bit Processor in FPGA using State Encoding Techniques

CSCB58 - Lab 4. Prelab /3 Part I (in-lab) /1 Part II (in-lab) /1 Part III (in-lab) /2 TOTAL /8

Display Technology. Cathode Ray Tube. Images stolen from various locations on the web...

LFSRs as Functional Blocks in Wireless Applications Author: Stephen Lim and Andy Miller

Design and implementation (in VHDL) of a VGA Display and Light Sensor to run on the Nexys4DDR board Report and Signoff due Week 6 (October 4)

March 13, :36 vra80334_appe Sheet number 1 Page number 893 black. appendix. Commercial Devices

Display Technology. Images stolen from various locations on the web... Cathode Ray Tube

Real-Time Digital Oscilloscope Implementation in 90nm CMOS Technology FPGA

HDL & High Level Synthesize (EEET 2035) Laboratory II Sequential Circuits with VHDL: DFF, Counter, TFF and Timer

SOC Implementation for Christmas Lighting with Pattern Display Indication RAMANDEEP SINGH 1, AKANKSHA SHARMA 2, ANKUR AGGARWAL 3, ANKIT SATIJA 4 1

Efficient Architecture for Flexible Prescaler Using Multimodulo Prescaler

L14 - Video. L14: Spring 2005 Introductory Digital Systems Laboratory

Single Channel LVDS Tx

Week 5 Dr. David Ward Hybrid Embedded Systems

VGA Controller. Leif Andersen, Daniel Blakemore, Jon Parker University of Utah December 19, VGA Controller Components

Digital Blocks Semiconductor IP

Why FPGAs? FPGA Overview. Why FPGAs?

Design & Simulation of 128x Interpolator Filter

Design of Low Power Efficient Viterbi Decoder

CHAPTER 6 DESIGN OF HIGH SPEED COUNTER USING PIPELINING

Part 1: Introduction to Computer Graphics

An FPGA Based Solution for Testing Legacy Video Displays

ECE532 Digital System Design Title: Stereoscopic Depth Detection Using Two Cameras. Final Design Report

Spartan-II Development System

Dual Slope ADC Design from Power, Speed and Area Perspectives

Installation and users Manual

FPGA Design. Part I - Hardware Components. Thomas Lenzi

NAPIER. University School of Engineering. Advanced Communication Systems Module: SE Television Broadcast Signal.

Investigation of Look-Up Table Based FPGAs Using Various IDCT Architectures

9 Programmable Logic Devices

Section 4. Display Connector

Synchronous Sequential Logic

ENGG2410: Digital Design Lab 5: Modular Designs and Hierarchy Using VHDL

Design of Fault Coverage Test Pattern Generator Using LFSR

Chapter 9 MSI Logic Circuits

A clock is a free-running signal with a cycle time. A clock may be either high or low, and alternates between the two states.

Design of BIST with Low Power Test Pattern Generator

Smart Night Light. Figure 1: The state diagram for the FSM of the ALS.

MUSIC TRANSCRIBER. Overall System Description. Alessandro Yamhure 11/04/2005

Lab Assignment 2 Simulation and Image Processing

FPGA Based Implementation of Convolutional Encoder- Viterbi Decoder Using Multiple Booting Technique

Digital Blocks Semiconductor IP

Design of a Low Power Four-Bit Binary Counter Using Enhancement Type Mosfet

Digital Logic Design: An Overview & Number Systems

Design of a Binary Number Lock (using schematic entry method) 1. Synopsis: 2. Description of the Circuit:

Design and analysis of microcontroller system using AMBA- Lite bus

About... D 3 Technology TM.

CSE140L: Components and Design Techniques for Digital Systems Lab. CPU design and PLDs. Tajana Simunic Rosing. Source: Vahid, Katz

TV Synchronism Generation with PIC Microcontroller

Block Diagram. 16/24/32 etc. pixin pixin_sof pixin_val. Supports 300 MHz+ operation on basic FPGA devices 2 Memory Read/Write Arbiter SYSTEM SIGNALS

1. Synopsis: 2. Description of the Circuit:

Computer Graphics. Raster Scan Display System, Rasterization, Refresh Rate, Video Basics and Scan Conversion

Traffic Light Controller

TEST PATTERN GENERATION USING PSEUDORANDOM BIST

Video. Prof. Stephen A. Edwards Columbia University Spring Video p. 1/2

Display Technology. Images stolen from various locations on the web... Cathode Ray Tube

[Krishna*, 4.(12): December, 2015] ISSN: (I2OR), Publication Impact Factor: 3.785

Design and Implementation of Nios II-based LCD Touch Panel Application System

Clocks. Sequential Logic. A clock is a free-running signal with a cycle time.

7inch Resistive Touch LCD User Manual

EN2911X: Reconfigurable Computing Topic 01: Programmable Logic. Prof. Sherief Reda School of Engineering, Brown University Fall 2014

VGA Pixel Buffer Stephen Just

Snapshot. Sanjay Jhaveri Mike Huhs Final Project

Video. Prof. Stephen A. Edwards Columbia University Spring Video p.

Authentic Time Hardware Co-simulation of Edge Discovery for Video Processing System

Implementation of High Speed Adder using DLATCH

Transcription:

IJESRT INTERNATIONAL JOURNAL OF ENGINEERING SCIENCES & RESEARCH TECHNOLOGY REVIEW ON FPGA BASED VGA CONTROLLER Mr. Ashish Kadlag *, Kapaliswaran Pillai, Aswin Pillai and Pratik Thube Electronics & Tele communications Engg, RMD Sinhgad School Of Engg, India ABSTRACT These days devices produced in companies must be highly robust in order to compete with the ever changing demands in products for modern day era. Field-programmable Gate arrays (FPGAs) is best suitable to achieve its basic functioning. FPGAs are efficient, cheap, and portable, according to their implementation specified in hardware description language. Hence, VHDL is best suited in order to accomplish this goal. Programming the gates and counters for FGPA blocks and developing an internal logic, VGA is used. The main purpose of the proposed work is to design and implement VGA Controller on FPGA. VGA controller is designed and VGA controller program is written using VHDL and the corresponding code is executed and implemented on FPGAs chip of Spartan-3A FPGA Development and Educational Board. KEYWORDS: Field Programmable Gate Arrays (FPGAs), Very High Speed Integrated Circuit Hardware Description Language (VHDL) and Video Graphics Array (VGA). INTRODUCTION Field-Programmable Gate Arrays (FPGAs) are digital ICs which contains logic blocks which are configurable along with configurable interconnection between these blocks. These blocks are also known as logic elements (LEs) and an organized system of reconfigurable interconnects that allowing blocks to be connected. Logic elements are be designed to perform tedious combinational functions, or simple logic functions like AND and XOR. In majority of FPGAs, LEs also include memory elements, which can be flip-flops. Standard display for video is Video Graphics Array (VGA). For displaying information it gives a simple method so that we could interface a system and a monitor. As a standard display interface, VGA has been widely used. There is much requirement for displaying the result of the process in real time due to the development of embedded system, especially the improvement in image processing with faster rates. Besides, display will be substituting paper in future. Wise words, some things are only possible to accept after witnessing them first hand and picture telling thousand words, presentation can give right data about something. Showcase is utilized when individuals present something. When individuals give presentation, there must be some gadget included to control the display. VHSIC Hardware Description Language (VHDL) is a prevalent and standard equipment portrayal language which is currently broadly utilized by professionals and researchers on computerized equipment plans. VHDL offers numerous helpful elements for advanced equipment plan, that is, VHDL is a broadly useful equipment describing language that is simple to utilize.the reason for this undertaking is to outline a VGA Controller using VHDL and execute it on FPGA. LITERATURE SURVEY The screen for a standard VGA organization contains 640x480 of picture elements called pixels. A picture is shown on the screen by turning on and off exclusively pixels. Turning on one pixel does not speak too much, but joining various pixels creates a picture. The screen constantly looks over the whole screen, quickly turning individual pixels on and off. In spite of the fact that pixels are turned on each one in turn, we get the feeling that every one of the pixels are on since the screen checks so rapidly. This is the reason old screens with moderate sweep rates gleam. [1]

Scanning Pattern of VGA Controller In the figure over the examining procedure begins from row 0, column 0 in the upper left corner of the screen and moves to one side until it achieves the last segment. At the point when the output achieves the end of a column, it remembers to the start of the following line. When it achieves the last pixel in the base right corner of the screen, it backtracks back to the upper left corner and rehashes the checking procedure. Keeping in mind the end goal to decrease glint on the screen, the whole screen must be filtered 60 times each second. This period is known as the revive rate. To decrease glimmer from obstruction from fluorescent lighting sources, revive rates higher than 60 Hz are in some cases utilized as a part of PC screens. Amid the horizontal and the vertical retraces, every one of the pixels are switched off. The VGA screen is controlled by 5 signals: red, green, blue, horizontal synchronization and vertical synchronization. The three shading signs, all in all alluded to as the RGB signal, control the shade of a pixel at a given area on the screen. They are simple signs with voltages going from 0.7 to 1.0 volt. Varying voltages one can get different intensities of colour. These three-shading signals are dealt with as digital signals, so we can simply switch everyone on or off. To control timing scan rates horizontal and vertical synchronization signals are utilized. Dissimilar to the three simple RGB signals, these two sync signs are digital signals. In other words, they deal with either logic 0 or logic 1. To control the even deflection circuit in the VGA display the horizontal synchronization sign is utilized, so that the begin and end of a line of pixels is accurately shown over the noticeable showcase region of the screen. Similarly, to control the vertical redirection circuit in the VGA screen the vertical synchronization signal is utilized, so that begin and end of a casing (of lines) is effectively shown between the top and base edges of the unmistakable presentation range of the screen. At the end of the day, horizontal synchronization signal decides the time it takes to output a line, while vertical synchronization signal decides the time it takes to filter the whole screen. By controlling these two sync signals and the three RGB signals, pictures are shaped on the screen. To acquire the 640 480 screen resolution, a clock with a 25.175 MHz frequency is utilized. A higher clock frequency is required for a higher screen resolution. For the 25.175 MHz clock, the period is as beneath: 1/25.175MHz= 0.0397 µs per clock cycle In the year 2012 a paper Z. Syed and M. Shaik presented their work on design and implementation of efficient hardware architecture for VGA controllers based on FPGA technology. The design was compatible with PLB bus and had a high potential to be used in Xilinx FPGA-based systems. It had ability to provide multiple display resolutions (upto WXGA 1280 800) and a customizable internal FIFO make the proposed architecture suitable for several FPGA devices. Furthermore, they had also offered a useful software library to enable the text mode feature. These highlight features have been validated through the manifestation of an application. The same work was carried out by F. Ying and X. Feng from University of Finance and Economics, Hangzhou, China. Their hardware architecture was implemented on Altera EPIC6Q240C8 FPGA(Field Programmable Gate Array) chip. The journal has stated its top layer model project and the timing function simulation. Detailed information was centered on the system structure, hardware design and software programming. That controller was developed using only VHDL supported in the IEEE standards, to ensure the portability with any [2]

manufacturer. The system can display different shade strip, Chinese handwriting and picture. The results show that this intend algorithm fetters useful performance with brief progress period, low resource use, small power consumption and memory usage. Because the data can be sent instantly to monitors, the design can quicken data processing, rectify system reliability in real time and protect hardware resource. In the same year, the same work was carried out by Radi, Caleb, Zainudin and Ismail from Technical University of Malaysia Malacca. In order to design and instrument VGA Controller on FPGA, Verilog HDL was used. Verilog HDL was used to describe and program the gates and counters in FPGA blocks in order to construct an internal logic circuit in FPGA. The main purpose of that work was to design and implement VGA Controller on FPGA. Hence, the outline for VGA Controller was designed and the VGA Controller program is written based on the block diagram using Verilog HDL. Also, functions need for VGA Controller are confined in the Verilog code and test bench was created to test the functions written to ensure the FPGA VGA Controller works correctly and accurately without errors. Finally, the completed program was implemented on FPGA of Altera DE2-115 Development and Educational Board. In year 2015 R. Wasu and V. Wadhankar worked on implementation of the same. They developed controller using Verilog HDL supported in the IEEE standards, to ensure the portability with any user. The system can show any picture. The results show that this intended algorithm gives excellent performance with brief progress period, small power consumption and memory usage. Similar work was carried out by S. Ajith, S. Bandarupalli and M. Borgaonkar. Using FPGA as its core, they designed an image processing solution in hardware. Their aim was to retrieve a picture from source, discover the presence of an object based on colour and compute its parameters like region and centroid, while displaying the picture on a VGA screen. Their detail outlines the implementation of the performance in two phases. First phase narrates the process of exhibiting a picture on a VGA monitor using SRAM as the video memory. The second phase depicts the implementation of a blob discovery algorithm supported on sequential joined component labelling algorithm. A rework conversion of the labelling algorithm is fulfilled, which enables the processing of an whole picture in a single pass through the picture. This work enables the processing action to be inserted in the pixel data path from the picture source to the video memory. OUTLINE OF VGA CONTROLLER A. Block Diagram Alluded to figure, the work of "clock generator" block is to down convert the recurrence of data clock. In the interim, "vga_sync" piece is utilized to produce timing and synchronization signals. The "h_count" and "v_count" demonstrate the relative positions of the outputs and basically indicate the present's area pixel while the "h_sync" sign determines the obliged time to sweep a line, and the "v_sync" sign indicates the obliged time to examine the whole screen. "vga_sync" block likewise creates the "video_on" signal which demonstrates whether to show or hide the monitor screen. Besides that, "address generator" block is utilized to produce address for the "img_data" obstruct by utilizing the "h_sync" and "v_sync" signal. "img_data" block will get the record information (q) from the MIF record as per the location created. [3]

Block diagram of VGA Controller Note that the record information are associated with the "img_index" block to use as the location. The "img_index" block will get the RGB information (q) from MIF document as indicated by the location created (record information). The RGB information comprise of 24-bits, though "q [23:16] ", "q [15:8]" and "q [7:0]" demonstrate the "R_data", "G_data" and "B_data" individually. B. Design Flow of VGA Synchronization The feature synchronization circuit produces the hsync signal, which determines the obliged time to cross (output) a line, and the vsync signal, which indicates the obliged time to navigate (filter) the whole screen. Ensuing talks depend on a 640-by-480 VGA screen with a 25-MHz pixel rate, which implies that 25M pixels are handled in a moment. Note that this determination is otherwise called the VGA mode. The screen of a CRT screen for the most part incorporates a little dark outskirt, as demonstrated at the highest point of Figure. The centre rectangle is the noticeable segment. Note that the vertical's direction hub increments descending. The top's directions left and base right corners are (0, 0) and (639,479), separately. Horizontal synchronization A detailed timing chart of one horizontal output is indicated in figure. [4]

Horizontal synchronization signal-timing diagram A time of the hsync sign contains 800 pixels and can be isolated into four regions: Display: Region where the pixels are really shown on the monitor. The distance of this region is 640 pixels. Retrace: Region in which the electron rays revert to the left margin. The video signal should be lamed (i.e., dark), and the duration of this region is 96 pixels. Right edge: Region that configures the right edge of the display region. Also called as the front porch. The video signal should be lamed, and the duration of this region is 16 pixels. Left border: Region that forms the left border of the display region. Also known as the back porch. The hsync signal can be acquired by an uncommon mod-800 counter and an interpreting circuit. The numbers are checked on the highest point of the hsync signal in Figure. We purposefully begin the checking from the earliest starting point of the display region. This permits us to utilize the counter yield as the horizontal (x-hub) coordinate. This yield constitutes the pixel-x signal. The hsync sign goes low when the counter's yield is somewhere around 656 and 751. Vertical synchronization Amid the vertical output, the electron beams move step by step from start to finish and afterward come back to the top. This compares to the time needed to revive the whole screen. The organization of the vsync sign is like that of the hsync signal, as demonstrated in Figure 5. The time unit of the development is spoken to as far as horizontal sweep lines. Vertical synchronization signal-timing diagram [5]

A time of the vsync sign is 525 lines and can be separated into four regions: Display: Region where the pixels are really shown on the monitor. The distance of this region is 480 pixels. Retrace: Region in which the electron rays revert to the top left corner. Top border: Region that forms the top edge of the display region. Also known as top porch. Bottom border: Region that forms the bottom edge of the display region. Also known as bottom porch. The vsync signal can be acquired by an uncommon mod-525 counter and an interpreting circuit. The numbers are checked on the highest point of the vsync signal in figure. We purposefully begin the checking from the earliest starting point of the display. This permits us to utilize the counter yield as the vertical (y-hub) coordinate. This yield constitutes the pixel-y signal. The vsync sign goes low when the counter's yield is somewhere around 489 and 491. C. Outline Flow of VGA Controller Most importantly, "vga_clk" is created from a input clock. At that point, "reset" is created for "vga_sync" module. The timing outline for horizontal and vertical sweep is produced too. After that, address is produced for the "img_data" module, by utilizing the "h_sync" and "v_sync" signal from "vga_sync" module. "img_data" module will get the record information (q) from the MIF document as per the location produced. Note that the record information is associated with the "img_index" module to use as the location. In this way, "img_index" module will get the RGB_data_raw (q) from MIF record as indicated by the location created (file information). Since the RGB_data_raw comprise of 24-bits, it is isolated into "q [23:16] ", "q [15:8]"and "q [7:0]", which demonstrates the "R_data", "G_data" and "B_data" separately. Next, the associations with the yield port are made and picture is shown on display screen. D. Understanding Interfacing with VGA The Spartan 3 FPGA board that we used for this project has a built-in VGA port with five active signals as, hsync, vsync, and video signals - red, green, blue. The video signal for VGA is an analog signal, and so a typical video controller uses a D-A converter. However, in the S3 FPGA, only 1 bit is used per color. So it does not require a D-A converter. There are three video color signals available, so we can have eight different colors which can be displayed on screen. For that we need to give proper binary input combinations to VGA port. Following table shows the different possible color combinations: Tables: Table 1 Three Bit VGA Combination Red(R) Green(G) Blue(B) Resulting Color 0 0 0 Black 0 0 1 Blue 0 1 0 Green 0 1 1 Cyan 1 0 0 Red 1 0 1 Magenta 1 1 0 Yellow 1 1 1 White CONCLUSION All in all, Field-Programmable Gate Array (FPGA) is better innovation to be utilized as a part of adding to a VGA Controller. By utilizing VHSIC Hardware Description Language (VHDL) on FPGA, VGA Controller could be built effortlessly without building the circuit physically; just to compose a behavioural model or couple of behavioural models in view of its rationale streams, then reproduce it with test seats, incorporate it with netlist, lastly program it onto FPGA. It is extremely powerful as this VGA controller just needs new information to change to other outline show. In this way, FPGA-based VGA controller may be a decent decision as it is anything but difficult to be composed and modest to be utilized. ACKNOWLEDGEMENTS We thank our colleagues from RMD Sinhgad School of Engineering who provided insight and expertise that greatly assisted the research, although they may not agree with all of the interpretations of this paper. [6]

We thank Mr.Ashish Kadlag for assistance with VLSI programming and for comments that greatly improved the manuscript.we would also like to show our gratitude to the Prof. Rajesh Shekokar for sharing their pearls of wisdom with us during the course of this research. We are also immensely grateful to people who we have referred for their comments on an earlier version of the manuscript, although any errors are our own and should not tarnish the reputations of these esteemed persons. REFERENCES [1] Zaheerudin Syed, Munwar Shaik, Kaktiya Institute of Technology & Science,Warangal India, FPGA Implementation of VGA Controller, in Research Gate publication,january 2012. [2] FangquinYing, Xiaoqing Feng,College of Dong Fang, Zhejang University of Finances and Economics,China, Design and Implementation of VGA Controller Using FPGA,in International Journal of Advancements in Computing Technology(IJACT) Volume4, Number17,September. 2012 [3] Radi H.R., Caleb W.W.K., M.N. Shah Zainuddin, M. Muazfar Ismail, Universiti Teknikal Malaysia Melaka, The Design and Implementation of VGA Controller on FPGA, in International Journal of Electrical & Computer Sciences IJECS-IJENS Vol:12 No:05, October, 2012. [4] Renuka Wasu, Vijay R. Wadhankar, Agnihotri College of Engineering, Wardha, India, Review Design of VGA Controller Using FPGA, in International Journal of Science and Research (IJSR), Volume 4 Issue 2, February 2015. [5] S. Ajith, S. Bandarupalli, M. Borgaonkar, Image Processing Using FPGA, ECE project report. AUTHOR BIBLIOGRAPHY Mr. Ashish Kadlag Asst.Prof. E&Tc, RMD Sinhgad School Of Engg.,Savitribai Phule Pune University, Pune Kapaliswaran Pillai B.E.E&Tc, RMD Sinhgad School Of Engg.,Savitribai Phule Pune University, Pune Aswin Pillai B.E.E&Tc, RMD Sinhgad School Of Engg.,Savitribai Phule Pune University, Pune Pratik Thube B.E.E&Tc, RMD Sinhgad School Of Engg.,Savitribai Phule Pune University, Pune [7]