Forum Discussion

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

Data from mif file

Hi all.

I have confusing about using mif file in my project. I have created mif file which is information about image. The first question is how to arrange the data since my data in matrix? I have certain information which is state about arranged it to array? Second question is how do I call this data to be display on VGA monitor? Here is my design for my project. Kindly help me please. Thanks in advance.

1 Reply

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

    a .mif file specifes the data to be initialised to a memory (.mif = memory initialisation file). If the data is a matrix you should already know how you are arranging the data in the memory (probably using the msbs for the row address and lsbs for column)?

    If you need this data displayed, you need some way of reading the data from the memory. Usually, the job is done with simple row/column counters that synchronise to your VGA controller.