溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊(cè)×
其他方式登錄
點(diǎn)擊 登錄注冊(cè) 即表示同意《億速云用戶服務(wù)條款》

Xilinx中的Primitives和Macros該怎么理解

發(fā)布時(shí)間:2021-12-31 13:38:59 來源:億速云 閱讀:276 作者:柒染 欄目:互聯(lián)網(wǎng)科技

Xilinx中的Primitives和Macros該怎么理解,針對(duì)這個(gè)問題,這篇文章詳細(xì)介紹了相對(duì)應(yīng)的分析和解答,希望可以幫助更多想解決這個(gè)問題的小伙伴找到更簡單易行的方法。

源語(Primitives)-Xilinx庫中最簡單的設(shè)計(jì)元素。Primitives 基元是設(shè)計(jì)元素“原子”。Xilinx原語的示例包括簡單緩沖區(qū)BUF和帶有時(shí)鐘使能和清除功能的D觸發(fā)器FDCE。
宏(Macros)-Xilinx庫的設(shè)計(jì)元素“分子”??梢詮脑O(shè)計(jì)元素原語或宏創(chuàng)建宏。例如,F(xiàn)D4CE觸發(fā)器宏是4個(gè)FDCE原語的組合。

1源語分類

Xilinx的原語分為10類,包括:計(jì)算組件,IO端口組件,寄存器/鎖存器,時(shí)鐘組件,處理器組件,移位寄存器,配置和檢測(cè)組件,RAM/ROM組件,Slice/CLB組件,G-tranceiver。具體原語資源更詳盡描述請(qǐng)參考文檔UG799以及UG768。

2源語調(diào)用

1>打開PROJECT MANAGER-->Language Templates

Xilinx中的Primitives和Macros該怎么理解

2>語言模板如下圖5大部分

Xilinx中的Primitives和Macros該怎么理解

3>選擇相應(yīng)的器件類型和模塊組件。
Xilinx中的Primitives和Macros該怎么理解

4>BUFG示例
Xilinx中的Primitives和Macros該怎么理解


//    BUFG     : In order to incorporate this function into the design,
//   Verilog   : the following instance declaration needs to be placed
//  instance   : in the body of the design code.  The instance name
// declaration : (BUFG_inst) and/or the port declarations within the
//    code     : parenthesis may be changed to properly reference and
//             : connect this function to the design.  All inputs
//             : and outputs must be connected.

//  <-----Cut code below this line---->

  // BUFG: Global Clock Simple Buffer
  //       Kintex-7
  // Xilinx HDL Language Template, version 2019.1

  BUFG BUFG_inst (
     .O(O), // 1-bit output: Clock output
     .I(I)  // 1-bit input: Clock input
  );

  // End of BUFG_inst instantiation

3 BUFG

Primitive: Global Clock Simple Buffer
Xilinx中的Primitives和Macros該怎么理解
介紹:
該設(shè)計(jì)元素是一個(gè)高扇出緩沖器,可將信號(hào)連接到全局路由資源,以實(shí)現(xiàn)信號(hào)的低偏斜分布。BUFG通常用于時(shí)鐘網(wǎng)絡(luò)以及其他高扇出網(wǎng)絡(luò),如置位/復(fù)位和時(shí)鐘使能。
端口描述:

Xilinx中的Primitives和Macros該怎么理解


關(guān)于Xilinx中的Primitives和Macros該怎么理解問題的解答就分享到這里了,希望以上內(nèi)容可以對(duì)大家有一定的幫助,如果你還有很多疑惑沒有解開,可以關(guān)注億速云行業(yè)資訊頻道了解更多相關(guān)知識(shí)。

向AI問一下細(xì)節(jié)

免責(zé)聲明:本站發(fā)布的內(nèi)容(圖片、視頻和文字)以原創(chuàng)、轉(zhuǎn)載和分享為主,文章觀點(diǎn)不代表本網(wǎng)站立場,如果涉及侵權(quán)請(qǐng)聯(lián)系站長郵箱:is@yisu.com進(jìn)行舉報(bào),并提供相關(guān)證據(jù),一經(jīng)查實(shí),將立刻刪除涉嫌侵權(quán)內(nèi)容。

AI