版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡介
1、Embedded System Architecture Design-Timing and AddersJun WANG1OutlineTimingCritical pathGlitchAdderHFAFARCACLA2Delay between input change and output changingHow to build fast circuits?Timing3 Critical (Long) Path: tpd = 2tpd_AND + tpd_OR Short Path: tcd = tcd_ANDCritical (Long) & Short Paths4When a
2、single input change causes multiple output changesGlitches5What happens when A = 0, C = 1, B falls?Glitch Example6Glitch Example (cont.)7Fixing the Glitch8Glitches dont cause problems because of synchronous design conventions (see Chapter 3)Its important to recognize a glitch: in simulations or on o
3、scilloscopeCant get rid of all glitches simultaneous transitions on multiple inputs can also cause glitchesWhy Understand Glitches?91-Bit Adders10LabsLab 2ComparatorLab 3 4-bits Mux1-Bit Adders121-Bit Adders13Chain 1-bit adders togetherCarry ripples through entire chainDisadvantage: slowRipple-Carry
4、 Adder14tripple = NtFA where tFA is the delay of a full adderIs it too LONG?Ripple-Carry Adder Delay15verilog1 bit FA ( with RTL description )module FA( input a, b, cin output cout, sum ); / HDL modeling of 1 bit / full adder functionality 。/ complete themendmodule4 bit FA ( with structural descript
5、ion )module adder( input3:0 A, B, output cout, output3:0 S ); wirec0, c1, c2; FA fa0(A0, B0, 1b0, c0, S0 ); FA fa1( . ); /complete themFA fa2( . ); FA fa3( . );endmoduleHow is behavioral description?16SchematicSchematicCritical path17Ripple-carry (RCA)(slow)Carry-lookahead (CLA)(fast)Study for your
6、homework MUST DO, as you will use it in lab session next weekCarry-lookahead adder faster for large adders but require more hardware Types of Adders 18Compute carry out (Cout) for k-bit blocks using generate and propagate signalsSome definitions:Column i produces a carry out by either generating a c
7、arry out or propagating a carry in to the carry outGenerate (Gi) and propagate (Pi) signals for each column:Column i will generate a carry out if Ai AND Bi are both 1. Gi = Ai BiColumn i will propagate a carry in to the carry out if Ai OR Bi is 1.Pi = Ai + BiThe carry out of column i (Ci) is: Ci = A
8、i Bi + (Ai + Bi )Ci-1 = Gi + Pi Ci-1Carry-Lookahead Adder19Step 1: Compute Gi and Pi for all columns Step 2: Compute G and P for k-bit blocksStep 3: Cin propagates through each k-bit propagate/generate blockCarry-Lookahead Addition20Example: 4-bit blocks (G3:0 and P3:0) : G3:0 = G3 + P3 (G2 + P2 (G1
9、 + P1G0 ) P3:0 = P3P2 P1P0C3 = G3:0 + P3:0 C-1Generally, Gi:j = Gi + Pi (Gi-1 + Pi-1 (Gi-2 + Pi-2Gj ) Pi:j = PiPi-1 Pi-2PjCi = Gi:j + Pi:j Cj-1Carry-Lookahead Adder2132-bit CLA with 4-bit Blocks22SummaryAlways/Initial () vs assignProcedural assignment vs continuous assignment wire vs regwire used only in assign, synthesized as combinational circuit (net)reg used only in always, synthesized as combinational circuit (net), in (a or b)Sequential circuit (register), in (clk) = vs =Block assignment vs No-block assig
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 建筑涂料工程皮卡租賃合同
- 藥物研發(fā)學(xué)徒技能提升計(jì)劃
- 貿(mào)易余款償還協(xié)議
- 2022年大學(xué)能源動(dòng)力專業(yè)大學(xué)物理下冊月考試卷A卷-附解析
- 結(jié)直腸狹窄內(nèi)鏡治療
- 垃圾問題與學(xué)校教育的整合與創(chuàng)新
- 2022年大學(xué)電子信息科學(xué)專業(yè)大學(xué)物理二期中考試試卷-含答案
- 2022年大學(xué)環(huán)境生態(tài)專業(yè)大學(xué)物理二期末考試試卷D卷-含答案
- 消化道疾病的護(hù)理常規(guī)
- 智能餐廳解決方案
- 【初中道法】增強(qiáng)安全意識 課件-2024-2025學(xué)年統(tǒng)編版道德與法治七年級上冊
- 【初中化學(xué)】二氧化碳的實(shí)驗(yàn)室制取課件-2024-2025學(xué)年九年級化學(xué)人教版上冊
- 學(xué)校提高《規(guī)范書寫水平、傳承漢字文化》活動(dòng)方案3篇
- 2024年湖北省公務(wù)員考試《行測》真題及答案解析
- 第4章《一元一次方程》-2024-2025學(xué)年七年級數(shù)學(xué)上冊單元測試卷(蘇科版2024新教材)
- 浙江省杭州市采荷中學(xué)2024-2025學(xué)年七年級上學(xué)期期中考試英語試題
- DB3502T 148-2024中小型水庫生產(chǎn)運(yùn)行標(biāo)準(zhǔn)化管理規(guī)程
- 公司組織機(jī)構(gòu)管理制度
- 預(yù)習(xí)-21《蟬》導(dǎo)學(xué)案
- 四年級數(shù)學(xué)上冊 第4章《運(yùn)算律》單元測評必刷卷(北師大版)
- 期中測試卷(試題)-2024-2025學(xué)年數(shù)學(xué)五年級上冊北師大版
評論
0/150
提交評論