Lattice FPGA 使用指南4 - 全局复位网络GSR的使用
Lattice FPGA 之GSR (全局復位網絡)?
使用GSR可以節省布線資源, 并消除難于解決的setup和hold時序違例。從以下語句來看, Lattice僅有一個GSR網絡,所以最好設計僅有一個復位,則全部邏輯都可用GSR來復位。若有多個不同復位,建議GSR用于負載最重的一個復位,從而盡量減小對布線資源的占用。
There are two primary ways to take advantage of the GSR hardware resource
in your design:?
1)use the GSR to reset all components on your FPGA or
2) to use the GSR to eliminate any routing resources needed for one reset in a multiple reset design.?
If there is only one reset signal for the entire design, you would
want to use the GSR in the first way, to reset all components on the FPGA.
When using the GSR to eliminate any routing resources needed for one reset
in a multiple reset design, typically the GSR would be used for the reset with
the highest fan-out.?
使用GSR的四種方法:
1)通過diamond工具自動推斷找出適合使用GSR的復位信號。
2)在RTL中例化一個GSR:
? ?GSR u_GSR (.GSR(復位信號名));
3)在lpf約束文件中添加以下語句:?
? ?GSR_NET NET "復位信號的層次名",如
? ?GSR_NET NET "my_design/u_RST/rst_n"
4) 在spreadsheet的Global preferences標簽下找到Global Set/Reset Net,然后指定一個希望連接到GSR的復位信號。詳細方法參見diamond工具幫忙文件:Applying Design Constraints>setting preferences > setting a global set/reset net preference, 該頁面有詳細說明。
總結
以上是生活随笔為你收集整理的Lattice FPGA 使用指南4 - 全局复位网络GSR的使用的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 无限循环小数与分数的对应关系证明
- 下一篇: 模式之消息树