0

I am using DE1 and VHDL. I want to update my mif file constantly and display it on VGA. I used one of the tutorials online to use In System memory content editor. But, once I complete the process, I see no instance is being created in spite of assigning instance id while creating a new megafunction. I looked online if any had come across such a problem, but theirs was quite different. They wanted to use smart compilation and things like this. What could be possibly wrong?

Now, my second question is, if I am able to edit via In System memory editor, is there a way I can write code to self update, so that once the value changes, it gets reflected on screen.

Thanks a lot in advance!

San
  • 151
  • 5
  • 15
  • What do you have working so far? Maybe you could post some VHDL code to help us understand your problem; the question looks a little open-ended right now. Anyway, it's important that you understand the underlying hardware in your solution. The focus should be on the memory you are using (FPGA block RAM probably), and on how to move data from this memory to the VGA display. The mif file is secondary to this process, and would be used only to initialize the RAM (if needed). – rick Oct 24 '13 at 00:52
  • Like you said, I am using ram.mif to initialize the RAM and display the same on VGA. That is working as expected. But, I wan't to move ahead and make this text change as per some algorithm say update values. ram.mif is the one I should be updating right!! So I wan't to know how to do that! – San Oct 24 '13 at 01:59
  • .mif files are ONLY for initialisation. To update the display you need to run the algorithm generating new data on the FPGA. Or send the data from another computer via some interface - USB or ethernet or whatever the DE2 board supplies. –  Oct 24 '13 at 07:32
  • Agreed! I came across this tutorial where I can change those .mif files to display whatever I want without full compilation. I thought I will write a script to update the .mif as per my algorithm. Won't this be feasible? – San Oct 24 '13 at 21:51
  • In one sense yes it is feasible, however I think it's the wrong approach because each screen update will involve completely reconfiguring the FPGA! I can't help with the details of Altera tools. –  Oct 25 '13 at 08:06
  • Whatever you say makes sense though! How do I change the text as per my algorithm then? I mean what are the possible ways to refresh screen with new values? – San Oct 25 '13 at 23:51

0 Answers0