Forum Discussion
17 Replies
- Altera_Forum
Honored Contributor
hmm... different from mine
- Altera_Forum
Honored Contributor
I think this should be similar to mine. Where do you have problem with running yours?
- Altera_Forum
Honored Contributor
--- Quote Start --- You can simply write a simple TCL file, which defines the component parameters. --- Quote End --- Yes i have the TCL file for SRAM for de2 board. when i send my code to board using programmer, weird is, suppose all light on board should be off, but one of the light on 7-seg-dis is on. do you know why? pls see attachment. - Altera_Forum
Honored Contributor
Sorry for another dumb question from a newbie, but do I have to drive the custom SRAM through an Avalon-MM tristate buffer? I really wish there was a really simple example design for this kind of stuff as my search of the literature always gets to some dead-end docs that don't tell me how to use SRAM.
- Altera_Forum
Honored Contributor
To answer my own question, experimentation shows that defining an SRAM in a _hw.tcl file and connecting it via an Avalon-MM tristate buffer seems to work!
- Altera_Forum
Honored Contributor
This component doesn't work with QSys. Apparently anything using an Avalon MM tri-state buffer needs an upgrade.
It ask you to perform the upgrade, which i do and it doesn't change anything. Any ideas? - Altera_Forum
Honored Contributor
--- Quote Start --- This component doesn't work with QSys. Apparently anything using an Avalon MM tri-state buffer needs an upgrade. It ask you to perform the upgrade, which i do and it doesn't change anything. --- Quote End --- QSys has a few extra features compared to SOPC. Check if the upgraded component defines all the required interfaces and if all ports are correctly connected. Also check the base address: I can't remember right now if your SRAM component must be assigned to an absolute address or offset from TS bridge. For more help you must specify what your problem exactly is: can't build Qsys? SRAM doesn't work at all? you can access SRAM, but you get data errors?