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

How to test rom output

Altera_Forum
Honored Contributor II
1,429 Views

Hi. I am trying to come up with a simple graphic game with text using DE1. i got the game going but it seems i have a problem with my character rom. I am newbie in rom and ram usage. how to test if the rom is getting the data from the mif file? i used an mif file which was working earlier in another project. any link or help on using rom and ram will be appreciated. thnx

0 Kudos
3 Replies
Altera_Forum
Honored Contributor II
712 Views

@bbgil 

 

A common problem when using the MegaWizard to generate a ROM is that the .mif or .hex file you originally added in your project-directory is overwritten by MegaWizard. 

For solutions see discussion:  

 

http://www.alteraforum.com/forum/showthread.php?t=5853 

 

Hope this helps
0 Kudos
Altera_Forum
Honored Contributor II
712 Views

sanmao, 

 

thanx for the info. great help. i corrected it and i adjust some X and Y setting for the VGA controller. text appears now. to improve it, i want to make the numbers count up everytime a player score. any ideas?  

 

i plan to design a state machine involving counters.  

 

thnx.
0 Kudos
Altera_Forum
Honored Contributor II
712 Views

@bbgil 

 

you can do this by detecting the place on the screen where you want to display the score (I assume this is the X and Y you are talking about), using your score counter register to drive the character-rom at these places.
0 Kudos
Reply