Attached an example of DE-2 try to go through it and implement for d2-115.
Also look into example below for d2-115 without on chip ram which can be modified.
thank you AnandRs, I have looked into your document and example, but I would like something with nios 2 because I am using onchip memory that I Intialized with an image in .hex but It is not read properly from nios2 before getting displayed in the vga monitor. thanks in advance
thanks Anand, I have tried to increase the size but still the same problem.
could plz have quick look on it attached.
maybe I am using too much of component because I used an example from university program. I am just looking for reading the image desert.hex from the onchip memory then display in vga.
I have done the 2 steps of your last post but nothing changed.
attached you can find the project, I hope you can show me how to fix it.
and just remember, all I need is to read the image (here desert.hex) from the onchip memory
then display it on VGA.
the part I am stuck in is reading correctly the image from the memory as different values seem to pop up.
not yet. in the project Ithat I sent you they use an SDRAM, I do not get that message but the data read are nor correct. but if I remove the sdram and use just the on chip memory or even with the sdram and I point in the on chip memory in the link script I get that message again.
the best option for me is to use just the on chip memory, but if it is mandatory I can look into using the sdram.
hope it is clear for you now
I have used onchip ram in your project, Please check attached.
Create your own eclipse project and check.
Note : Not tested
Let me know if this has helped resolve the issue you are facing or if you need any further assistance.
Thank you very much AnandRS for your last post, It definetely helped me a great deal.
I have tested your code and It worked fine but with some minor issues:
1. I changed another .hex image (maube mine was not good),
2.It works exclusively with DE2-115-Computer_time_limited.sof (and not with DE2-115-Computer.sof ),
Neverthless I can manage now.
another problem if you do not mind is in the qualirt of the displayed image in VGA which is bad,
I am using :
read RGB image from memory then putting them into img1,img2,img3 respectively .
thanks in advance AnandRS ;
- Check hardware connection and monitor.
- Check timing constrain.
- Check how image is read from memory.
- Check IP configuration.
- Use signal-tap for debugging.
The code looks good.
We are diverting from actual question Please open new case for new question, which will help other user during forum search.
Thank you for contacting the Support team. We have resolved primary issue and closed your ticket.