Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
17267 Discussions

How to test rom output

Altera_Forum
Honored Contributor II
1,555 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
838 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
838 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
838 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