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

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