Forum Discussion
Altera_Forum
Honored Contributor
13 years ago --- Quote Start --- But how to implementing the Avalon-MM slave and master? --- Quote End --- Read the Avalon Specification, and start by using Altera's existing IP. http://www.altera.com/literature/manual/mnl_avalon_spec.pdf --- Quote Start --- Can you please post any link for guide me to do this? --- Quote End --- There should be an example with the DE2 installation. Browse through the examples on the University Program web site: http://www.altera.com/education/univ/unv-index.html Click on the links below "Educational Materials". Altera also has some design examples: http://www.altera.com/support/examples/nios2/exm-avalon-mm.html http://www.altera.com/support/examples/nios2/exm-avalon-memory-slave.html Use Modelsim to simulate these examples. --- Quote Start --- And i did read some post on this forum it is using NIOS II. is it have to control it by using C code? My supervisor was request me to implement this project using vhdl... My project is about image processing that load data from SRAM, process it and then write it onto SRAM, then use control panel to display the image vector on VGA monitor. I am using quartus 2 version 9.0 and DE2 board with cyclone 2 device. And sorry that i ask so many because i am just a beginner of vhdl and quartus 2... --- Quote End --- Its ok that you ask questions, and thank-you for telling us that you are a student. Members of this forum are more than happy to help students, but in general we prefer to see that the student has attempted to figure out the problem themselves. You've started out the right way by indicating what you have been asked to do. The first thing you need to do is to get each component working. For example, how do you display an image on VGA? The DE2 board comes with an example that outputs an image on VGA. Look at that code, understand how they did it. Was it with software alone? Was it with hardware alone? Was it a combination of the two? Is the VGA interface they created for that design appropriate for your design. You need to systematically create each component and test it. You can use VHDL only, or NIOS II + VHDL. That aspect does not really matter. What your supervisor will want to see is that you had a specification to meet, and you met it. While designing your system, you should discuss what you are doing with your supervisor to confirm that your solution meets with his/her approval. Cheers, Dave