




版權說明:本文檔由用戶提供并上傳,收益歸屬內容提供方,若內容存在侵權,請進行舉報或認領
文檔簡介
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. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯系上傳者。文件的所有權益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網頁內容里面會有圖紙預覽,若沒有圖紙預覽就沒有圖紙。
- 4. 未經權益所有人同意不得將文件中的內容挪作商業或盈利用途。
- 5. 人人文庫網僅提供信息存儲空間,僅對用戶上傳內容的表現方式做保護處理,對用戶上傳分享的文檔內容本身不做任何修改或編輯,并不能對任何下載內容負責。
- 6. 下載文件中如有侵權或不適當內容,請與我們聯系,我們立即糾正。
- 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 吉林農業大學《大數據專業英語》2023-2024學年第二學期期末試卷
- 畢節工業職業技術學院《計量統計學》2023-2024學年第二學期期末試卷
- 煙臺大學《對外漢語教學法》2023-2024學年第二學期期末試卷
- 梅河口康美職業技術學院《計算機專業英語閱讀》2023-2024學年第二學期期末試卷
- 海南省東方市民族中學2024-2025學年高三下學期第二次月考歷史試題試卷含解析
- 江蘇省泰安市長城中學2025年高三下學期3月月考(文理)語文試題含解析
- 廣東工程職業技術學院《行業創業實務》2023-2024學年第二學期期末試卷
- 大理護理職業學院《數學史與數學思想方法》2023-2024學年第二學期期末試卷
- 廣西壯族自治區百色市田東中學2025屆高三生物試題一模試卷含解析
- 1.2 《離騷(節選)》 任務式課件(共51張) 2024-2025學年統編版統編版高中語文選擇性必修下冊
- 建筑空間組合論
- 特種工作作業人員體格檢查表
- 清遠市城市樹木修剪技術指引(試行)
- 廣州國際文化中心詳細勘察報告正文-171229end
- 警察禮儀(PPT53頁)
- 《關于加強高等學校食堂管理工作的意見》解讀
- 《尚藝發型標準剪裁》PPT課件
- 中國現代文學史00537
- 110kV升壓站電氣施工工藝及方案培訓資料(共107頁)
- 年產萬噸碳酸飲料廠的工藝設計
- 流砂過濾器設計說明書
評論
0/150
提交評論