Device Configuration User Guide: Agilex™ 5 FPGAs and SoCs

ID 813773
Date 11/04/2024
Public
Document Table of Contents

3.1.7.1.4. Verifying the Option Bit Start and End Addresses

You can decode the start and end address that you specified for each of the SOF page when converting a .sof to .pof file from the 32-bit value of the sector offset address. If you encounter a configuration error you can verify that the generated bitstream addresses match the addresses you specified in the Quartus® Prime software.

The following table shows the bit fields of the start address.

Table 23.  Start Address Bit Content
Bit Width Description
31:11 21 Addressable start address
10:1 10 Reserved bits
0 1 Page valid bit
  • 0=Valid
  • 1=Error
Table 24.  End Address Bit Content
Bit Width Description
31:0 32 Addressable end address

To restore the addresses:

  • Start address—append 13'b0000000000000 to the addressable start address
  • End address—append 2'b11 to the addressable end address

For a .pof that has two page addresses with the values shown in the following table.

Sector Offset Value
0x000x03 0x00004000
0x040x07 0x00196E30
0x080x0B 0x001C0000
0x0C0x0F 0x00352E30

For Page 0 if you append the start address bits[31:11] with 13'b0000000000000, the result is 32'b00000000000000010000000000000000 = 0x10000.

If you append the end address 0x00196E0 with 2'b11, the result is 26'b00011001011011100011000011 = 0x65B8C3.

For Page 1 if you append the start address with 13'b0000000000000, the result is 32'b0000000000011100000000000000000000 = 0x700000.

If you append end address 0x00352E30 with 2’b11, the result is 32'b00000000110101001011100011000011 = 0xD4B8C3.

The start and end address must be correlated with the start and end address for each page printed in the .map file.