FPGA Intellectual Property
PCI Express*, Networking and Connectivity, Memory Interfaces, DSP IP, and Video IP
6381 Discussions

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

Jcole
New Contributor I
976 Views

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? 

0 Kudos
1 Solution
FvM
Valued Contributor III
890 Views

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. 

View solution in original post

5 Replies
FvM
Valued Contributor III
942 Views
In my math, 128 MB is 4 MW of 32 bit, or 2^22 * 32. Needs exactly 22 address lines.
Jcole
New Contributor I
900 Views

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. 

0 Kudos
Farabi
Employee
914 Views
0 Kudos
FvM
Valued Contributor III
891 Views

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. 

NurAiman_M_Intel
Employee
510 Views

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.


0 Kudos
Reply