Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
19 years ago

VGA Output from Nios II program

Does anyone know if there is any VGA screen initializations that need to be done in a project where you want to output a picture to a VGA screen from a Nios II program through an Altera development board?

I have a VGA component in SOPC builder that I downloaded off the Altera website.

I have an Altera DE1 development board I am trying to use to put images on a VGA screen.

3 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    You can find the HAL drivers included with the core.

    There are the initialization and simple demo.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    I'm also trying to use the VGA ouput of a DE2 board. Unfortunately i can't undestand how to set corectly the color of one pixel.

    I tried to look at altera driver, but i'm there is not any documentation, and when i have a look in the vhdl file, there is not a lot of explanation.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    originally posted by brice_sw@Feb 19 2007, 02:05 PM

    i'm also trying to use the vga ouput of a de2 board. unfortunately i can't undestand how to set corectly the color of one pixel.

    i tried to look at altera driver, but i'm there is not any documentation, and when i have a look in the vhdl file, there is not a lot of explanation.

    <div align='right'><{post_snapback}> (index.php?act=findpost&pid=21714)

    --- quote end ---

    --- Quote End ---

    It&#39;s very simple http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/smile.gif Calculate an address of pixel in memory and change the value by macros IOWR