0
  • 聊天消息
  • 系統(tǒng)消息
  • 評論與回復(fù)
登錄后你可以
  • 下載海量資料
  • 學(xué)習(xí)在線課程
  • 觀看技術(shù)視頻
  • 寫文章/發(fā)帖/加入社區(qū)
會員中心
創(chuàng)作中心

完善資料讓更多小伙伴認(rèn)識你,還能領(lǐng)取20積分哦,立即完善>

3天內(nèi)不再提示

為什么時鐘樹上要用clock inverter(min pulse width check)?

冬至子 ? 來源:吾愛IC社區(qū) ? 作者:芯農(nóng)民 ? 2023-06-29 16:42 ? 次閱讀

Min pulse width定義

最小脈沖寬度檢查可確保時鐘信號的寬度足夠?qū)挘员悴杉秸_的數(shù)據(jù),保證設(shè)計功能。即為了獲得穩(wěn)定的輸出,需要確保時鐘信號寬度至少達(dá)到某個“最小寬度”。比如lib中就對寄存器Flipflop的CLK pin有min pulse width的check。

  • High pulse width

If you need a formal definition of the term, it is the interval between the rising edge of the signal crossing 50% of VDD and the falling edge of the signal crossing 50% of VDD.

  • Low pulse width

If talking in terms of low signals, it is the the interval between falling edge of the signal crossing 50% of VDD and the rising edge of signal crossing 50% of VDD.

以下圖為例,一個時鐘信號CLK,經(jīng)過六級普通buffer(各自的rise time和fall time是不相同的)到達(dá)一個寄存器的CK 端。我們來計算下high pulse width,low pulse width以及判斷是否存在min pulse width違例(uncertainty:80ps Reg ck pin requirement min pulse width:0.420ns)。

圖片

High pulse width = 0.5 + (0.049-0.056) + (0.034 -0.039) + (0.023-0.026) + (0.042-0.046) + (0.061 – 0.061) + (0.051-0.054) = 0.478ns

Low Pulse width = 0.5 + (0.056 – 0.049) + (0.038 – 0.034) + (0.026 – 0.023) + (0.046 – 0.042) + (0.061 – 0.061) + (0.054 – 0.051) = 0.522ns

high pulse width = 0.478-0.080 = 0.398ns (小于0.420ns)

因此, 存在min pulse width violation 。

Min pulse width檢查方式

  • Liberty文件

Liberty文件中對寄存器的CLK pin和reset pin均有一個默認(rèn)的min pulse width check值。在STA分析時工具會自動載入進(jìn)行check。如圖1所示,index_1為input transition。

圖片

圖1 lib中min_pulse_width屬性定義

  • SDC約束

除了采用lib文件中默認(rèn)的min pulse width值check外,我們還可以通過如下SDC命令來設(shè)置特殊的約束條件。

set_min_pulse_width -high 2 [get_clocks clk]

set_min_pulse_width -low 1 [get_clocks clk]

理想clock buffer/inverter的特性

  • Equal rise and fall times
  • Less delay variations with PVT and OCV
  • Clock buffer能夠驅(qū)動較長的net以及更多的fanout

普通buffer如何導(dǎo)致pulse width violation?

圖2顯示了Wp = 100nm&Wn = 100nm的Buffer電路的示意圖。β比率(PMOS的寬度與NMOS的寬度的比率)由于NMOS的遷移率高于PMOS,因此上升時間大于下降時間。這個結(jié)論是根據(jù)電流公式得出的,不懂的請移步模擬電路查閱。

圖片

圖2 Unbalanced Buffer電路原理

這里的每個buffer都需要更多的時間來充電(相比放電過程)。輸入為占空比為50%的周期為4ns的脈沖信號。當(dāng)時鐘信號通過buffer chain傳播時,脈沖寬度如下圖4所示減少相當(dāng)多。最后一個buffer的輸出具有相同的周期,但占空比發(fā)生了變化。在最壞的情況下,這種情況可能會小于設(shè)計所需的脈沖寬度(最小脈沖寬度)。

圖片

圖3 Unbalanced Buffer Chain

圖片

圖4 pulse width reduction

Balanced buffers have equal rise and fall time

為了使得buffer的上升和下降時間一致,PMOS的寬度應(yīng)該約為NMOS的兩倍(具體倍數(shù)關(guān)系取決于工藝)。Balance buffer電路結(jié)構(gòu)圖如圖5所示。圖6為一堆balanced buffer級聯(lián)的buffer chain的輸出波形。從輸出波形看到,當(dāng)我們在clock path上使用這種balanced buffer,輸出時鐘信號周期未發(fā)生變化且占空比仍然為1:1,即不會出現(xiàn)pulse width violation。

圖片

圖5 balance buffer電路結(jié)構(gòu)圖

圖片

圖6 Balanced Buffer Chain 輸出波形

unbalanced inverter有沒有min pulse width問題?

如果在時鐘路徑中使用偶數(shù)個反相器,一對反相器上升和下降時間會相互補(bǔ)償,所以脈沖寬度并不會改變。所以反相器輸出不會導(dǎo)致脈沖寬度違規(guī)。

圖7所示為一個反相器的電路結(jié)構(gòu)圖。其中Wp = 100nm,Wn = 300nm。根據(jù)P管和N管的尺寸,我們得知上升時間比下降時間小得多。

圖片

圖7 Unbalanced 反相器原理圖

圖8所示為一個十級反相器級聯(lián)的電路圖。圖9為第九級和第十級反相器輸出波形圖。從圖中可以得知,unbalance inverter同樣也不會導(dǎo)致min pulse width問題。

圖片

圖8 unbalanced inverter chain

圖片

圖9 第九級,第十級反相器輸出波形圖

所以,在做時鐘樹綜合時,我們往往選用clock inverter來長clock tree。

聲明:本文內(nèi)容及配圖由入駐作者撰寫或者入駐合作網(wǎng)站授權(quán)轉(zhuǎn)載。文章觀點(diǎn)僅代表作者本人,不代表電子發(fā)燒友網(wǎng)立場。文章及其配圖僅供工程師學(xué)習(xí)之用,如有內(nèi)容侵權(quán)或者其他違規(guī)問題,請聯(lián)系本站處理。 舉報投訴
  • 寄存器
    +關(guān)注

    關(guān)注

    31

    文章

    5275

    瀏覽量

    119680
  • SDC
    SDC
    +關(guān)注

    關(guān)注

    0

    文章

    48

    瀏覽量

    15510
  • VDD
    VDD
    +關(guān)注

    關(guān)注

    1

    文章

    311

    瀏覽量

    32950
  • NMOS管
    +關(guān)注

    關(guān)注

    2

    文章

    119

    瀏覽量

    5380
  • PMOS管
    +關(guān)注

    關(guān)注

    0

    文章

    82

    瀏覽量

    6590
收藏 人收藏

    評論

    相關(guān)推薦

    cadence16.6----------Check Bus width mismatch

    ERROR(ORCAP-2207): Check Bus width mismatch我想問下這是怎么回事,要怎么定位?
    發(fā)表于 10-30 15:38

    Check Bus width mismatch

    用cadence畫原理圖進(jìn)行drc檢查的時候出去這個error,Check Bus width mismatch,我已經(jīng)把總線都刪了,還出現(xiàn)這個問題,求問怎么辦?
    發(fā)表于 04-24 12:35

    TL494 Pulse-Width-Modulation C

    of a pulse-width-modulation control,these devices offer the systems engineer the flexibility to tailor ORDERING INFORMATIONthe powe
    發(fā)表于 12-12 00:10 ?18次下載

    LM5021,off-line pulse width mo

    The LM5021 off-line pulse width modulation (PWM) controllercontains all of the features needed
    發(fā)表于 09-29 15:01 ?16次下載

    TL598,pdf,(PULSE-WIDTH-MODULAT

    The TL598 incorporates all the functions required in the construction of pulse-width-modulated (PWM
    發(fā)表于 09-29 00:02 ?33次下載

    TL1451A,pdf(Dual Pulse-Width-M

    of two pulse-width-modulation (PWM) control circuits. Designed primarily for power-supply control, the TL1451A contains an on-chip 2.5-V
    發(fā)表于 10-05 23:01 ?32次下載

    Pulse Width Modulator circuits

    Pulse Width Modulator circuits:Couple Notes:The ic used is a CMOS type MC14093a quad 2-input NAND
    發(fā)表于 03-14 08:31 ?1782次閱讀
    <b class='flag-5'>Pulse</b> <b class='flag-5'>Width</b> Modulator circuits

    脈寬調(diào)制器工作在不同層次的頻率和功耗-Pulse-Width

    Abstract: Build a general-purpose pulse-width modulator using three op amps from a quad-op-amp
    發(fā)表于 05-03 14:33 ?622次閱讀
    脈寬調(diào)制器工作在不同層次的頻率和功耗-<b class='flag-5'>Pulse-Width</b>

    脈寬調(diào)制器工作在不同層次的頻率和功耗-Pulse-Width

    Abstract: Build a general-purpose pulse-width modulator using three op amps from a quad-op-amp
    發(fā)表于 05-06 10:51 ?881次閱讀
    脈寬調(diào)制器工作在不同層次的頻率和功耗-<b class='flag-5'>Pulse-Width</b>

    TMS320x28xx,28xxx_High-Resolution_Pulse_Width_Modulator(HRPWM)Reference_Guide

    This document describes the operation of the high-resolution extension to the pulse width modulator (HRPWM).
    發(fā)表于 01-19 17:01 ?27次下載

    Pulse Width Modulation

    Pulse Width Modulation.多種集合,符合熱愛PCB繪圖的學(xué)習(xí)者的胃口,喜歡的朋友下載來學(xué)習(xí)。
    發(fā)表于 03-21 15:14 ?0次下載

    PULSE WIDTH VHDL程序

    PULSE WIDTH VHDL程序,感興趣的小伙伴們可以瞧一瞧。
    發(fā)表于 11-11 11:55 ?0次下載

    什么是Min Period檢查?

    Period檢查? 在.lib中,觸發(fā)器、latch、Memory這些時序期間的clock input pin上會定義min_period屬性來規(guī)定它上面時鐘的最小周期(也就是最高頻率),例如: pin
    的頭像 發(fā)表于 06-17 14:16 ?1368次閱讀

    時序分析概念min pulse width介紹

    今天我們要介紹的時序分析概念是 **min pulse width** ,全稱為最小脈沖寬度檢查。這也是一種非常重要的timing arc check,經(jīng)常用在時序器件或者memory
    的頭像 發(fā)表于 07-03 14:54 ?2489次閱讀
    時序分析概念<b class='flag-5'>min</b> <b class='flag-5'>pulse</b> <b class='flag-5'>width</b>介紹

    時鐘子系統(tǒng)中clock驅(qū)動實(shí)例

    clock驅(qū)動實(shí)例 clock驅(qū)動在時鐘子系統(tǒng)中屬于provider,provider是時鐘的提供者,即具體的clock驅(qū)動。
    的頭像 發(fā)表于 09-27 14:39 ?702次閱讀
    <b class='flag-5'>時鐘</b>子系統(tǒng)中<b class='flag-5'>clock</b>驅(qū)動實(shí)例