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

    hi, but i am not using CY7C1470V33. mine is IS61LV25616 which is 512KB.

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

    Notepad or any editor. It's a simple text file.

    For a 512k sram you'll need to change at least

    add_interface_port avalon_tristate_slave addr address Input 19

    (I used 16 because a simply had a 64kB device)

    You can initially mantain unchanged the other parameters. Probably this is enough for your first tests with CY7C1470V33. You can then adjust wait cycles to improve access time performance.

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

    --- Quote Start ---

    How do I edit the file so that it is compatible with SRAM 512kb on de2 board?

    --- Quote End ---

    You must change what is needed to meet your system specification.

    If bus width already matches, you mainly must only adjust wait states so that they comply with your sram speed (you must refer to sram datasheet).

    Then you possibly want to change component name or other parameters.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    I have the same quastion. What to do to connect sram on de2 controller to nios2?

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

    How do I edit the file so that it is compatible with SRAM 512kb on de2 board?

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

    You can simply write a simple tcl file which defines your component parameters.

    I attached a sample. Change the required parameters and possibly the name to match your sram and copy the file into the altera\<your version>\ip\user_components directory.

    If you change the file name, keep the _hw.tcl suffix, otherwise sopc builder will not find it.

    When you refresh the component list in sopc builder, you should find the new sram component in the sram section

    Regards

    Cris