Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)

UFM page address

m_kumar
New Contributor I
410 Views

Hi .

I'm using max10 FPGA in user flash memory in my project . It has 4 pages in one sector each page is 64kbits of size. Now how to identify what is starting and ending address of each page in memory to write or read data from flash memory.

0 Kudos
12 Replies
JohnT_Intel
Employee
402 Views

Hi,


You will need to calculate the starting address and ending address of each page based on the starting address of that sector.


m_kumar
New Contributor I
400 Views

My project  i have 3 sector id and starting address of. (max10m40 fpga)

Sector id 1 starting address =  0x0000; and ending address was 0x7fff;

each page of 64kbits what is the ending address of first page and how to calculate.

 

JohnT_Intel
Employee
398 Views

Hi,


Each address will contain 32bit data. So the end address should be 0x800.


m_kumar
New Contributor I
396 Views

so you did 65536/32 = 0x800 right?

 

JohnT_Intel
Employee
395 Views

Hi,


Yes. If you using Qsys with Nios then it will be using 8bit addressing. So you need to divide by 8 only which will be 0x2000.


m_kumar
New Contributor I
392 Views
m_kumar
New Contributor I
391 Views

This is my configuration sir.

Each address is storing 32 bit data.

 

JohnT_Intel
Employee
389 Views

The picture you are showing will be based on 8bit addressing. So I would recommend you to divide by 8.


m_kumar
New Contributor I
385 Views
JohnT_Intel
Employee
380 Views

Let me know if you have any other queries


m_kumar
New Contributor I
378 Views
m_kumar
New Contributor I
355 Views

Sir in IP one option is there i,e: Flash initialization option is there in that user created mif file or hex file options indicates what sir.

 

Reply