element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Avnet Boards Forums
  • Products
  • Dev Tools
  • Avnet Boards Community
  • Avnet Boards Forums
  • More
  • Cancel
Avnet Boards Forums
Software Application Development VGA  on Zedboard
  • Forum
  • Documents
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Avnet Boards Forums requires membership for participation - click to join
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Not Answered
  • Replies 13 replies
  • Subscribers 305 subscribers
  • Views 1340 views
  • Users 0 members are here
Related

VGA  on Zedboard

Former Member
Former Member over 12 years ago

Hi all, I am a fan of the Zedboard. And fortunately I got one.

But I found it was difficulty for me to play this board.

I just want how to control the VGA under the linux attached in the Zedboard.

I saw a VGA demo on the Zedboard that can showed a Digilent logo through VGA. And I knew that this demo was implemented through the PL only.

I want to know if I can control the VGA using the C program language under the Linux porting in the Zedboard and how I can done this.

And did anyone know how the demos were implemented? Could I get the source project files about these demos?

And were there any other forums that contained the projects about Zedboard? Cause I found there was very few information about on the Internet.

I am appreciative for any information.

  • Sign in to reply
  • Cancel
  • Former Member
    0 Former Member over 12 years ago

    VGA port on Zedboard can only be controlled from the PL logic.  To control the VGA port you will need an AXI bus master controller that generate VGA scan signal from DDR memory. 
    To control the VGA display controller from Linux, a frame buffer device driver is needed to drive the display device.
    Xylon has a display controller solution for Zynq chip. 
    And here is some information about creating a simple Vedio generator on FPGA: http://www.fpga4fun.com/PongGame.html

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 12 years ago in reply to Former Member

    I think the easiest way is to create framebuffer by using AXI connections. Meaby need some line buffer.
    VGA is only 8bit so 800x600 takes about 470 kB so this can be stored to DDR. Slave AXI can take Framebuffer address and use master AXI to read framebuffer from DDR.


    Then you only need to write drivers for linux and configure to X using it or use direct memory access to that area.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 12 years ago in reply to Former Member

    Thanks for your reply!

    One more question.
    In the Technical Reference Manual, I found "Configure MIO pin 46 for the RxD signal . Write  0x0000_12E1  to the slcr.MIO_PIN_46 register".

    I just wanted to know why the 0x0000_12E1 corresponds to the RxD singal. I searched the characters "0x0000_12E1" in the TRM file, but no results returned. So these must no be any information about the mapping relationships between the IO singal and its vaules, such as the RxD singal correspondding to the "0x0000_12E1".

    So where can I find the IO signal mapping relationshios?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 12 years ago in reply to Former Member

    parallelcell,

    Would you mind posting this question as a separate thread?  It has nothing to do with your original question, and prevents the community from seeing it.

    Thanks!

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 12 years ago in reply to Former Member

    ok

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 12 years ago

    I want to implement a system to display on VGA certain images. Can you suggest me a tutorial or a place where to start?

    someone managed to make a module for VGA display or a tutorial how to accomplish this?

    thank you

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 11 years ago in reply to Former Member

    If you got something, please consider sharing it !
    Thanks,

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 11 years ago

    If you want to learn how to create VGA IP my suggestion not for you, but if you just want to connect monitor to Zed or microZed you can use DisplayLink USB Video adaptor connected to USB OTG port.

    http://blog.idv-tech.com/2014/03/10/the-easiest-way-to-add-screen-to-zedboard/

    Best regards.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • drhatch
    0 drhatch over 7 years ago

    I posted a project to github that might be useful. It implements the VGA output using pure Verilog RTL (no ARM processor is used). The project contains a dual-port block memory for the screen buffer, and the code for creating the VGA waveform.

    The data your Verilog code writes into Port A of the dual port RAM shows up on the screen.

    https://github.com/delhatch/Zedboard_Mandel

    I hope this code helps.

    Del

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • taktik02
    0 taktik02 over 7 years ago in reply to drhatch

    Hi, i'm actually working on a VGA project for Zedboard. How can I use your project to control VGA through C code in Xilinx? Thanks!

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
>
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube