Forum Discussion
Altera_Forum
Honored Contributor
13 years ago --- Quote Start --- Read the Avalon Specification, and start by using Altera's existing IP. http://www.altera.com/literature/manual/mnl_avalon_spec.pdf 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. 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 --- Quote End --- Hi Dave, Thank you for your replies and guide me patiently. I really appreciate your help and i would take note what you had said. =) And sorry that i late reply because i am busy to program my image processing simulation part. I will read the materials you suggested after i done my image processing part. But i am stuck now in my image processing part. I am using FFT megafunction in my image processing but can't get the desired output. The problem that i had face is i cannot get the output of last FFT block only since it's size(eg 7 points) is not same with the previous FFT blocks size (eg 8 points),i can get the previous FFT blocks and result are correct. I had follow the instruction Dynamically changing the FFT Size in the manual,mentioned that the sink_ready will be deassert when FFT block size changed, is it FFT will block the incoming data input or temporary save it in the FFT until the sink_ready is asserted? But i try to follow the manual instruction still can't get the output of the last FFT block. Anyone face this problem before or any idea to solve it? My FFT parameters setting: cyclone 2 device 256 points 32 bit data width variable streaming with single precision floating point. Here my waveform attached with 8 and 7 points FFT for testing. I had refer to the Figure 3-8 (Dynamically Changing the FFT Size) of FFT megafunction. Thanks for your help.