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

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

Jcole
New Contributor I
594 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
508 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
560 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
518 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
532 Views
0 Kudos
FvM
Valued Contributor III
509 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
128 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