Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
15 years ago

how to design the system using SSRAM CY7C1470V33 in the sopc builder

HI

we are using the SSRAM CY7C1470V33 in our design (instead of CY7C1380C which is part of the SOPC builder). How do we go about designing the system . Please help us

regards,

Bhandari

17 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    I think this should be similar to mine. Where do you have problem with running yours?

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored 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's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored 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's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored 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's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored 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's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored 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?