Forum Discussion
Altera_Forum
Honored Contributor
14 years agoHi HJS,
Thanks for your reply and attachment. There are only two types of SOPC provided SRAM controllers which don't fit the SRAM that I use. So I have to create my own SRAM controller. Yes, I finally learnt that HDL file is not mandantory for creating own SRAM controller. I finally figured out the root cause of my problem. In Quartus II, I defined the pin direction of DATA as output which should be bidir actually. After I used right pin direction definition, the SRAM controller works well. I don't know why QuartusII doesn't report error or warning when pin direction of self-defined component is not in line with Quartus definition. I think this should be bug or at least it is something that should improve. During this period of study, I did find some bugs for SOPC, NiosII. They can be repeated. I will summarize all of these and then send to Altera. I hope these problems can be solved soon to make sure the software are stable and not so buggy. Regarding to problem of# 1, I suspect it is related to NiosII itself. I will consult to Altera for details. By the way, do you have the same problem? It seems to me that it always happen. It is not related to what components I build. Thanks again.