Lattice FPGA 使用指南4 - 全局复位网络GSR的使用
Lattice FPGA 之GSR (全局復(fù)位網(wǎng)絡(luò))?
使用GSR可以節(jié)省布線資源, 并消除難于解決的setup和hold時(shí)序違例。從以下語句來看, Lattice僅有一個(gè)GSR網(wǎng)絡(luò),所以最好設(shè)計(jì)僅有一個(gè)復(fù)位,則全部邏輯都可用GSR來復(fù)位。若有多個(gè)不同復(fù)位,建議GSR用于負(fù)載最重的一個(gè)復(fù)位,從而盡量減小對(duì)布線資源的占用。
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工具自動(dòng)推斷找出適合使用GSR的復(fù)位信號(hào)。
2)在RTL中例化一個(gè)GSR:
? ?GSR u_GSR (.GSR(復(fù)位信號(hào)名));
3)在lpf約束文件中添加以下語句:?
? ?GSR_NET NET "復(fù)位信號(hào)的層次名",如
? ?GSR_NET NET "my_design/u_RST/rst_n"
4) 在spreadsheet的Global preferences標(biāo)簽下找到Global Set/Reset Net,然后指定一個(gè)希望連接到GSR的復(fù)位信號(hào)。詳細(xì)方法參見diamond工具幫忙文件:Applying Design Constraints>setting preferences > setting a global set/reset net preference, 該頁面有詳細(xì)說明。
總結(jié)
以上是生活随笔為你收集整理的Lattice FPGA 使用指南4 - 全局复位网络GSR的使用的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 无限循环小数与分数的对应关系证明
- 下一篇: 模式之消息树