Intel Stratix 10配置用户指南

ID 683762
日期 12/16/2019
Public
文档目录

3.1.10.1.5. 存储选项比特

除设计数据外,闪存还存储选项比特。您必须在两个地方指定选项比特的地址:PFL II IP和闪存器件的选项比特地址。

选项比特包含以下信息:

  • 每个页面的起始地址。
  • 闪存编程的.pof版本。对于所有页面,此值都是相同的。
  • 每个页面的Page-Valid比特。Page-Valid比特是起始地址的bit 0。PLF II IP core在成功编程页面后写入此比特。

使用Programming File Generator对话框指定选项比特的Start address。使用Programming File Generator对话框的Configuration Tab上的Add Device指定闪存器件。然后点击OPTIONSEDIT来指定选项比特的Start address。当指定PFL II IP参数时,Start address必须与What is the byte address of the option bits, in hex?指定的地址匹配。

使用参数编辑器设置PFL II IP Intel FPGA IP中的选项比特。默认情况下,PFL II IP对What operating mode will be used?参数显示Flash Programming。在此默认状态下,FPGA Configuration选项卡不可见。对General选项卡上的What operating mode will be used参数选择FPGA Configuration 或者Flash Programming and FPGA Configuration。下图显示了FPGA Configuration选项。

图 24. PFL II IP的General选项卡

FPGA Configuration 选项卡上的 What is the base address of the option bits, in hex?参数指定选项比特十六进制地址。

图 25. PFL II IP的FPGA Configuration选项卡

使用Programming File Generator对话框指定选项比特的Start address。使用Programming File Generator对话框的Configuration Tab上的Add Device指定闪存器件。然后点击OPTIONSEDIT来指定选项比特的Start address。当指定PFL II IP参数时,Start address必须与What is the byte address of the option bits, in hex?指定的地址匹配。

当您将.sofs转换成.pofs时, Intel® Quartus® Prime Programming File Generator生成.pof版本的信息。 Intel® Stratix® 10.pof版本的值为0x05。下表显示了一个使用所有8个页面的.pof的页面布局的示例。此示例在0x80上存储.pof版本。

表 12.  选项比特扇区格式(Option Bits Sector Format)
扇区偏移
0x000x03 Page 0 start address
0x040x07 Page 0 end address
0x080x0B Page 1 start address
0x0C0x0F Page 1 end address
0x100x13 Page 2 start address
0x140x17 Page 2 end address
0x180x1B Page 3 start address
0x1C0x1F Page 3 end address
0x200x23 Page 4 start address
0x240x27 Page 4 end address
0x280x2B Page 5 start address
0x2C0x2F Page 5 end address
0x300x33 Page 6 start address
0x340x37 Page 6 end address
0x380x3B Page 7 start address
0x3C0x3F Page 7 end address
0x400x7F 保留
0x80 5 .pof version
0x81-0xFF 保留
警告:
为防止PFL II IP core出现故障,请勿覆盖选项比特扇区中的任何信息。始终将选项比特存储在闪存器件中未使用的地址中。
5 .pof版本在选项比特扇区中仅占用一个字节。