Forum Discussion

Jcole's avatar
Jcole
Icon for Occasional Contributor rankOccasional Contributor
2 years ago
Solved

Generic Serial Flash Interface addressing only generating 22 bit addressing for 24 bit flash

New to using some of the Avalon based cores. I generated a 128MB Generic Serial Flash Interface core for my EPCQ128A Flash, the addressing is only Avalon memory is section is 22 bits, but how do I sent my 24-bit address to the core to send to the flash? Am I missing a correlation between the value sent to the Avalon memory and the Flash memory?

  • 128 MBit Flash uses 24-bit-wide byte address. AVMM interface has however 22 DW addresses + 4 byte-enable lines to access the flash. A doubleword access at AVMM is translated by GSFI core to 4 consecutive internal byte accesses.

5 Replies

  • FvM's avatar
    FvM
    Icon for Super Contributor rankSuper Contributor
    In my math, 128 MB is 4 MW of 32 bit, or 2^22 * 32. Needs exactly 22 address lines.
    • Jcole's avatar
      Jcole
      Icon for Occasional Contributor rankOccasional Contributor

      Your math is correct, but I'm slightly confused. If I'm not mistaken, the difference due to the word sizes of the GSFI being 32 bit as compared to the byte addressing of the flash.

  • FvM's avatar
    FvM
    Icon for Super Contributor rankSuper Contributor

    128 MBit Flash uses 24-bit-wide byte address. AVMM interface has however 22 DW addresses + 4 byte-enable lines to access the flash. A doubleword access at AVMM is translated by GSFI core to 4 consecutive internal byte accesses.

  • I’m glad that your question has been addressed, I now transition this thread to community support. If you have a new question, feel free to open a new thread to get the support from Intel experts. Otherwise, the community users will continue to help you on this thread. Thank you.