Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
17259 Discussions

Read data contents on ROM

Altera_Forum
Honored Contributor II
2,577 Views

Hi guys. 

 

I am having problem with my project. I have used lpm_rom for my design. My lpm_rom contents data of my image. And now I dont know how to read the data on ROM. Kindly help me. Thanks
0 Kudos
9 Replies
Altera_Forum
Honored Contributor II
1,917 Views

Try check on Quartus II help, Quartus II Help v15.0 > lpm_rom Megafunction, to see if it is helpful?

0 Kudos
Altera_Forum
Honored Contributor II
1,917 Views

What exactly are you having a problem with? a rom is just a memory - you provide an address and you get a value out.

0 Kudos
Altera_Forum
Honored Contributor II
1,917 Views

Dear Tricky. 

 

I want to display contents in my lpm rom to VGA monitor. I have read some information on internet. They said I need to " to read the ROM include two counters, index_column and index_row". And now I dont know how to make two counters, index_column and index_row". Thanks for your help.
0 Kudos
Altera_Forum
Honored Contributor II
1,917 Views

Counters are in just about every basic VHDL tutorial. 

And to display it on a monitor, you'll need a controller for all the VGA timings (again, lots of counters)
0 Kudos
Altera_Forum
Honored Contributor II
1,917 Views

Do you mean VGA controller? I already have tried to display very basic tutorial display blue color on VGA monitor. I already successfully did it. But now, I'm confuse about display content in lpm rom on VGA monitor. I already did the .mif file for my image. Which part should I edit for my design? Do you have any tutorial similar with my problem?

0 Kudos
Altera_Forum
Honored Contributor II
1,917 Views

I don't know if a tutorial. It you already wrote a vga controller, then all you need to do is present the days from the rom at the correct time. So just use a row and column counter as the address.

0 Kudos
Altera_Forum
Honored Contributor II
1,917 Views

Sorry Tricky. 

 

What do you means by " present the days from the rom at the correct time"?
0 Kudos
Altera_Forum
Honored Contributor II
1,917 Views

Sorry, present the data from the rom at the correct time

0 Kudos
Altera_Forum
Honored Contributor II
1,917 Views

I dont really know what you want. You synchrose your code with the VGA controller, so that you always know what pixel is being played out on the screen. then you can fetch the correct pixel from the rom.

0 Kudos
Reply