Xilinx FPGA 配置之BOOTSTS寄存器

BOOTSTS ( boot status) 引导历史状态寄存器
以下是UG570 对该寄存器的描述
Boot history status register, It can only be reset by POR(Power-On Reset), asserting PROGRAM_B, or issuing a JPROGRAM instruction. At EOS or an error condition, status (_0) is shifted to status (_1), and status (_0) is updated with the current status。
The default power-up state for all fields in the BOOTSTS register is 0, indicating no error, fallback, or valid configuration detected. After configuration, a 1 in any bit indicates an error case, fallback, or completed configuration has been detected.

大概意思是说引导历史状态寄存器(BOOTSTS),只有在以下三种情况下会复位,包括上电复位(POR),PROGRAM_B信号有效(被拉低),以及发出JPROGRAM指令。 言外之意就是Fallback以及 internal PROGRAM (IPROG) command都不会复位BOOTSTS 寄存器。
在配置启动结束(End Of configuration Startup),或者配置时发生了错误,状态寄存器后缀为_0的值会给后缀为_1的状态寄存器,同时状态寄存器后缀为_0的会保持当前状态。
复位后BOOTSTS的值为0,只有配置后,BOOTSTS的值才会变化。

BOOTSTS寄存器地址为10110。BOOTSTS寄存器各bit的定义如下

在这里插入图片描述在这里插入图片描述
以下是BOOTSTS寄存器在不同配置情况下的值:
在这里插入图片描述在这里插入图片描述在这里插入图片描述
关于如何读取BOOTSTS的值

第一种方法是通过代码调用ICAP/ICAPE2/ICAPE3访问

第二种方法是通过JTAG在VIVADO界面查看
在这里插入图片描述

参考文档
UG570
XAPP1257

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章