Forum Discussion
Altera_Forum
Honored Contributor
13 years ago --- Quote Start --- I feel like a *****, but i tried to make my own tri-state version as suggested by BadOmen; but this failed. I require more help and would be greatly appreciative. It failed the same as before with the .elf failing verification upon download. Likely because i have no idea how to set up the Tri-state controller, i did alot of googling and read some doco and made an attempt anyway. I have attached a zip file with screenshots of my attempt. In summary but my problems were:
- signals?:Couldn't match my SRAM's signals to those avaliable in the Tristate controller. My SRAM has no read enable, it also has two other signals, upper and lower? I took a guess that these two mystery signals could be bridged to WE since they appear optional and a timing diagram where they were used they matched WE.
- parameters had me stumped. I used the preset on the right for the IDT SRAM as a starter. Two worse ones was that driver one since it made no sense what the preset put there. Plus i put the bytes value there, but am i meant to take some off? As in 2MB seems too round?
- timings: I couldn't match the timings. In many cases i made an educated guess or put a worse case value.
- Made simple Qsys design of nios. Onchip ram contains Nios vectors.
- Made tri-state control and connected to a tri-state bridge. note i doubt the control is correct.
- Made top level and bridge the 3 signal WE,UB, LB.
- Made simple "Hello World Nios" and pointed its memory to the SRAM controller.
- Data sheet. Note that its the 8ns model.
- QSys image.
- Tri-state control set up images.