Forum Discussion

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

How to test rom output

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

3 Replies

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

    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.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    @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.