Forum Discussion

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

Problem using ISSI's SRAM on Stratix IV GX

Hello everyone.

Anyone had luck using the SSRAM provided on a Stratix IV GX Dev Kit (EP4SGX230KF40C2ES)?

I think there is a huge lack of information by Altera by using this SSRAM module, on altera website, we can only find tutorials related to the QDRII+ memory.

I'm using Qsys to integrate the SSRAM to a NIOS CPU, and I've tried to use the generic tri-state controller with the closest preset available (another ISSI module), and had no luck. The system compiles, and the NIOS EDS recognizes the CPU, starts to upload the elf program, and then fails at verification ("Verify failed between addresses...").

I have double checked all my pins:

QSYS OUTPUT PIN -> CONNECTED PIN

sram_tcm_chipselect_n_out -> sram_cen

sram_tcm_byteenable_n_out[3..0] -> sram_bwn[3..0]

sram_tcm_outputenable_n_out -> sram_oen

sram_tcm_write_n_out -> sram_bwn

sram_tcm_data_out[31..0] -> fsm_d[31..0]

sram_tcm_address_out[20..0] -> fsm_a[20..0]

sram_tcm_reset_n_out -> ?

sram_tcm_begintransfer_n_out -> sram_adscn

anyone can give me a light? thank you!

15 Replies

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

    Hello comododragon,

    I am trying to find an example about SSRAM on stratixiv gx, but I just find tutorials and examples related to DDR3 and QDRii SRAM. Would you like to give me your solution you have done with SSRAM on stratixiv, please ?

    Here is my email : sakuralam1904@gmail.com

    Thank you for consideration !

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

    Hello DiemLam!

    It has been a long time since I worked with Stratix IV, but I'm attaching a project that I made that connects a NIOS to both DDR3 and SSRAM. It might not be using all the correct/optimum parameters, but it should at least work :)

    Hope it helped, cheers!

    --- Quote Start ---

    Hello comododragon,

    I am trying to find an example about SSRAM on stratixiv gx, but I just find tutorials and examples related to DDR3 and QDRii SRAM. Would you like to give me your solution you have done with SSRAM on stratixiv, please ?

    Here is my email : sakuralam1904@gmail.com

    Thank you for consideration !

    --- Quote End ---

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

    Hello Comododragon,

    Your help is very useful for me. I hope I will finish this project as soon as possible.

    Thank you very much.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hello Comododragon,

    I am afraid to bother you with my project.

    After extracting the file you gave me, I generated the qsys and built the project again. But I didn't find any software that you write on CPU Nios, thus I run an example software with "Hello word" project on nios system and I have an ELF error. Could you suggest any advice for me ?

    And another problem with SSRAM, I want to ask you about verilog model for SSRAM on Stratix iv. I tried to find on ISSI's web, but all thing I can find is just PDF find. When you executed your project with that two memory, have you ever simulated SSRAM on Modelsim or any simulating tools ?

    So sorry to bother you with my silly questions. Thanks you for your time and consideration.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Can someone tell me how to get the the memory test mentioned ...

    "running the memory test provived on NIOS EDS from a on-chip memory on the SRAM gives me the following output:"

    I may be experiencing similar problems with the Cyslone IV Development Kit.

    Thanks. Bob.