當(dāng)前位置:首頁(yè) > 公眾號(hào)精選 > 全棧芯片工程師
[導(dǎo)讀]隨著工藝節(jié)點(diǎn)下降到65nm以后,傳統(tǒng)的NLDMmodel不再精確,Synopsys提出了基于電流源模型的CompositeCurrentSource(CCS),集timing/power/noise于一體,精確度更高,與SPICE的誤差可以達(dá)到±2%。什么是TimingModel...

隨著工藝節(jié)點(diǎn)下降到65nm以后,傳統(tǒng)的NLDM model不再精確,Synopsys提出了基于電流源模型的Composite Current Source(CCS),集timing/power/noise于一體,精確度更高,與SPICE的誤差可以達(dá)到±2%。


什么是Timing Model



數(shù)字芯片設(shè)計(jì),除了礦機(jī)的全定制設(shè)計(jì)外,絕大部分都是基于STD Cell的半定制設(shè)計(jì),那么STD Cell的模型就極為重要,尤其半定制,需要把一個(gè)std cell看成block box,只考慮其input/output pin。其input pin對(duì)外部是receiver,output pin對(duì)外部是driver。因此,對(duì)receiver/driver建立精確模型十分重要。


Timing model包含driver model、net model、receiver model三個(gè)部分,Driver model和receiver models通常通過(guò)電路仿真工具K庫(kù)的, 而net model要么是根據(jù)wire-load、manhattan、star topology評(píng)估的,要么是從版圖根據(jù)metal、via、contact等的寄生參數(shù)來(lái)提取的。



什么是NLDM?



即(Non-Linear Delay Model)非線性延遲模型。


先看看看老外的描述:https://www.paripath.com/blog/characterization-blog/comparing-nldm-and-ccs-delay-models


NLDM Driver Model

NLDM driver model characterizes input-to-output delay and output transition times with sensitivity to input transition time, output load and side input states. These characteristics are obtained using a circuit simulator with appropriate stimulus to cause output transition. Input stimulus along with input/output measurement/capture points are shown in the picture below.



As seen in the picture, characterization software like guna measure and captures 3 points on sides of active input and active output. These three points are called delay and transition time thresholds. Difference between input delay threshold and output delay threshold is modeled as cell delay and difference between lower and upper transition times on output port is modeled as output transition time. These two parameters - delay and transition times are used to synthesize NLDM driver model shown in the picture below:




NLDM Receiver Model

NLDM receiver model is simply a single capacitor for the entire transition with no sensitivity.

Shortcomings of NLDM model

NLDM only captures 3 output points, which is not sufficient to reflect non-linearities of circuits at lower geometries (65nm and below) in synthesized driver model during static timing analysis. Classical case of this insufficiency is when driver resistance is order of magnitude less than the impedance of net it is driving (Rd << Znet). Driver model requires more granularity in driver model. CCS timing model eliminate need for this synthesis and hence is able to achieve higher accuracy than NLDM.


Other significant shortcoming of NLDM is in the receiver model. NLDM receiver model fails capture miller effect. This effects dominates delay calculation of STA for very small impedance nets.


也就是說(shuō),NLDM模型有如下缺點(diǎn)

  • 僅通過(guò)3個(gè)輸出點(diǎn)來(lái)評(píng)估延時(shí),線性度不夠精確;

  • NLDM的driver model是個(gè)內(nèi)阻恒定的電壓源,即輸出電壓是時(shí)間的線性函數(shù)V(t),當(dāng)65nm節(jié)點(diǎn)以下時(shí),驅(qū)動(dòng)線網(wǎng)的電阻將大得可觀,模型會(huì)失真。

  • NLDM的receiver model是單一的input cap,不能捕獲Miller效應(yīng),對(duì)于很小的阻抗網(wǎng)絡(luò),Miller效應(yīng)決定了延遲。


NLDM用input transition、output capacitance這兩參數(shù)來(lái)查表、插值計(jì)算得到Cell delay延時(shí)及Output transition。


查找表timing部分共四個(gè)輸出,前兩個(gè)分別表示輸出上升沿和輸出下降沿的delay值,后兩個(gè)分別表示輸出上升沿和輸出下降沿的transition time。輸出的transition time則是下一級(jí)器件的input transition time。



看看NLDM查表、插值計(jì)算過(guò)程:


將input transition和output capacitance這兩個(gè)參數(shù)代入到std cell庫(kù)中的delay lookup table,查找X 和Y左右兩側(cè)的坐標(biāo),將這四個(gè)坐標(biāo)點(diǎn)代入二元擬合公式Z=A B*X C*Y D*X*Y,就可以得到四個(gè)二元二次方程,由這四個(gè)方程可以解出 ABCD 四個(gè)系數(shù)的值,這樣就得到了一個(gè)具體的擬合公式,然后再將input transition和output capacitance代入擬合公式就可以計(jì)算出這個(gè)cell的delay值了。




什么是CCS?



即(Composite Current Source)復(fù)合電流源模型。


同樣,先看看老外的描述:

CCS Driver Model

CCS driver model is characterized by capturing current waveform flowing into the load capacitor of the cell. CCS driver model also has sensitivity to input transition time, output load and side input states. CCS driver model is essentially a current source with infinite driver resistance, hence it provides better accuracy in cases where net impedance is very very high. Note, CCS timing model does not require synthesis of driver model, captured current waveform is driver model itself.


CCS Receiver Model

CCS receiver model is characterized much like NLDM receiver model with additional granularity to reflect sensitivities like miller capacitance, state of side inputs, input transition times and output load. To accurately reflect effect of miller capacitance on input capacitance and net-delay, it is divided into two parts - C1 and C2. For STA delay calculation, C1 is used in net delay calculation before receiver waveform hits delay threshold point and C2 is used in net delay calculation after receiver waveform hits delay threshold point.



也就是說(shuō),


CCS driver model是一個(gè)非線性復(fù)合電流源,電流隨電壓和時(shí)間而變化I(t,V),即一個(gè)具有無(wú)限驅(qū)動(dòng)阻抗的電流源。


CCS receiver model為了更準(zhǔn)確反映米勒電容,將輸入電容分為C1和C2兩個(gè)部分。C1用于接收波形到達(dá)延遲閾值前的net delay計(jì)算,C2用于接收波形到達(dá)延遲閾值后的net delay計(jì)算。


比如input pin的transition范圍是30%到70%,那么(30%,50%)這段時(shí)間的cap值為C1,(50%,70%)這段時(shí)間的cap值為C2。


除了CCS模型,還有ECSM等模型,不再贅述。CCS、ECSM模型的數(shù)據(jù)量都大于NLDM。


典型的CCS庫(kù)大約比NLDM大8-10倍。


為了提供準(zhǔn)確的電流矢量模型,CCS會(huì)存儲(chǔ)波形,且每個(gè)波形存儲(chǔ)10個(gè)電流值和10個(gè)時(shí)間值,共20個(gè)數(shù)字。


CCS對(duì)于每個(gè)輸入轉(zhuǎn)換和輸出負(fù)載有20個(gè)數(shù)字,NLDM對(duì)于每個(gè)輸入轉(zhuǎn)換和輸出負(fù)載存儲(chǔ)2個(gè)數(shù)字。因此,與NLDM模型相比,CCS模型大小將增加10倍。


CCS lib/db里,可以同時(shí)含timing/power/noise信息。CCS lib里會(huì)看到有ccsn_first_stage/ccsn_last_stage group,分別是最前/后級(jí)管子受noise的影響。


參考文獻(xiàn):

《compare of CCS ?and ?NLDM》;https://www.paripath.com/blog/characterization-blog/comparing-nldm-and-ccs-delay-models,作者:paripath Inc.


STA概念:一文了解NLDM與CCS;

https://blog.csdn.net/graymount/article/details/106010388?utm_medium=distribute.pc_aggpage_search_result.none-task-blog-2~aggregatepage~first_rank_ecpm_v1~rank_aggregation-1-106010388.pc_agg_rank_aggregation
本站聲明: 本文章由作者或相關(guān)機(jī)構(gòu)授權(quán)發(fā)布,目的在于傳遞更多信息,并不代表本站贊同其觀點(diǎn),本站亦不保證或承諾內(nèi)容真實(shí)性等。需要轉(zhuǎn)載請(qǐng)聯(lián)系該專欄作者,如若文章內(nèi)容侵犯您的權(quán)益,請(qǐng)及時(shí)聯(lián)系本站刪除。
換一批
延伸閱讀

9月2日消息,不造車的華為或?qū)⒋呱龈蟮莫?dú)角獸公司,隨著阿維塔和賽力斯的入局,華為引望愈發(fā)顯得引人矚目。

關(guān)鍵字: 阿維塔 塞力斯 華為

倫敦2024年8月29日 /美通社/ -- 英國(guó)汽車技術(shù)公司SODA.Auto推出其旗艦產(chǎn)品SODA V,這是全球首款涵蓋汽車工程師從創(chuàng)意到認(rèn)證的所有需求的工具,可用于創(chuàng)建軟件定義汽車。 SODA V工具的開(kāi)發(fā)耗時(shí)1.5...

關(guān)鍵字: 汽車 人工智能 智能驅(qū)動(dòng) BSP

北京2024年8月28日 /美通社/ -- 越來(lái)越多用戶希望企業(yè)業(yè)務(wù)能7×24不間斷運(yùn)行,同時(shí)企業(yè)卻面臨越來(lái)越多業(yè)務(wù)中斷的風(fēng)險(xiǎn),如企業(yè)系統(tǒng)復(fù)雜性的增加,頻繁的功能更新和發(fā)布等。如何確保業(yè)務(wù)連續(xù)性,提升韌性,成...

關(guān)鍵字: 亞馬遜 解密 控制平面 BSP

8月30日消息,據(jù)媒體報(bào)道,騰訊和網(wǎng)易近期正在縮減他們對(duì)日本游戲市場(chǎng)的投資。

關(guān)鍵字: 騰訊 編碼器 CPU

8月28日消息,今天上午,2024中國(guó)國(guó)際大數(shù)據(jù)產(chǎn)業(yè)博覽會(huì)開(kāi)幕式在貴陽(yáng)舉行,華為董事、質(zhì)量流程IT總裁陶景文發(fā)表了演講。

關(guān)鍵字: 華為 12nm EDA 半導(dǎo)體

8月28日消息,在2024中國(guó)國(guó)際大數(shù)據(jù)產(chǎn)業(yè)博覽會(huì)上,華為常務(wù)董事、華為云CEO張平安發(fā)表演講稱,數(shù)字世界的話語(yǔ)權(quán)最終是由生態(tài)的繁榮決定的。

關(guān)鍵字: 華為 12nm 手機(jī) 衛(wèi)星通信

要點(diǎn): 有效應(yīng)對(duì)環(huán)境變化,經(jīng)營(yíng)業(yè)績(jī)穩(wěn)中有升 落實(shí)提質(zhì)增效舉措,毛利潤(rùn)率延續(xù)升勢(shì) 戰(zhàn)略布局成效顯著,戰(zhàn)新業(yè)務(wù)引領(lǐng)增長(zhǎng) 以科技創(chuàng)新為引領(lǐng),提升企業(yè)核心競(jìng)爭(zhēng)力 堅(jiān)持高質(zhì)量發(fā)展策略,塑強(qiáng)核心競(jìng)爭(zhēng)優(yōu)勢(shì)...

關(guān)鍵字: 通信 BSP 電信運(yùn)營(yíng)商 數(shù)字經(jīng)濟(jì)

北京2024年8月27日 /美通社/ -- 8月21日,由中央廣播電視總臺(tái)與中國(guó)電影電視技術(shù)學(xué)會(huì)聯(lián)合牽頭組建的NVI技術(shù)創(chuàng)新聯(lián)盟在BIRTV2024超高清全產(chǎn)業(yè)鏈發(fā)展研討會(huì)上宣布正式成立。 活動(dòng)現(xiàn)場(chǎng) NVI技術(shù)創(chuàng)新聯(lián)...

關(guān)鍵字: VI 傳輸協(xié)議 音頻 BSP

北京2024年8月27日 /美通社/ -- 在8月23日舉辦的2024年長(zhǎng)三角生態(tài)綠色一體化發(fā)展示范區(qū)聯(lián)合招商會(huì)上,軟通動(dòng)力信息技術(shù)(集團(tuán))股份有限公司(以下簡(jiǎn)稱"軟通動(dòng)力")與長(zhǎng)三角投資(上海)有限...

關(guān)鍵字: BSP 信息技術(shù)
關(guān)閉