Forum Discussion

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

Cyclone III + SRAM

Dear all

I have designed a custom board using EP3C16 and 2 IS61WV25616BLL srams.

Now I want to test if they are working correctly, are they soldered properly...how I can perform the test?

Thanks in advance for your advice.

6 Replies

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

    Hi,

    if you have access to such tools, I think it's possible to use a boundary scan.

    Otherwise, I suggest that you implement a small design that performs a read/write test to the SRAMs.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    a correct and fast test for short circuits or non existing connections to external memory devices is the walking 1's & 0's test performed with adr and data bus.

    this test is easily coded in C and Nios-II s could do that
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    You can directly compile the memory test example in the IDE. It will do the walking 1's & 0's and other simple tests on the way.

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

    Dear all

    I'm new in fpga designs.

    can you direct me to a tutorial on performing the test.

    thanks in advance.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Guys did you mean the memory test from nios II IDE?

    I have only these srams on board and no other memory except M25P16 is available.

    But when I compile the memory tester it said program size is about 53KB and I cannot instantiate more than 32K internal ram. So is there any way around?

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

    Try to compile with -O2 (or use the 'Release' build instead of the 'Debug' build) and use the reduced C drivers. It should fit after that.