Computer and Digital System Architecture

Size: px
Start display at page:

Download "Computer and Digital System Architecture"

Transcription

1 Compter and Digital Sytem Architectre EE/CpE-517-A Brce McNair Steven Intitte of Technology - All right reerved 4-1/65

2 Week 4 ARM organization and implementation Frer Ch. 4 Steven Intitte of Technology - All right reerved 4-2/65

3 Evoltion of ARM Implementation Device Timeframe Technology Featre Acorn integer proceor nm 3 tage pipeline ARM6 ARM nm ame Newer ARM core >1995 < 300 nm 5 tage pipeline, eparate intrction/data cache Steven Intitte of Technology - All right reerved 4-3/65

4 3-tage pipeline ARM organization A[31:0] control Regiter ank: addre regiter Write port P C incrementer 2 read port regiter ank PC r15 read port intrction Addre increment r15 write port A L U A mltiply regiter arrel hifter B decode & control ALU data ot regiter data in regiter D[31:0] Steven Intitte of Technology - All right reerved 4-4/65

5 3-tage pipeline ARM organization A[31:0] control Regiter ank: addre regiter Write port P C incrementer 2 read port regiter ank PC r15 read port intrction Addre increment r15 write port A L U A mltiply regiter arrel hifter B decode & control ALU data ot regiter data in regiter D[31:0] Steven Intitte of Technology - All right reerved 4-5/65

6 3-tage pipeline ARM organization A[31:0] control addre regiter P C incrementer regiter ank PC intrction decode Barrel hifter: Shift or rotate y n-it A L U A mltiply regiter arrel hifter B & control ALU data ot regiter data in regiter D[31:0] Steven Intitte of Technology - All right reerved 4-6/65

7 3-tage pipeline ARM organization A[31:0] control addre regiter P C incrementer regiter ank PC intrction decode A L U A mltiply regiter arrel hifter B & control Arithmetic/Logic Unit (ALU): ALU data ot regiter data in regiter D[31:0] Steven Intitte of Technology - All right reerved 4-7/65

8 3-tage pipeline ARM organization A[31:0] control Addre regiter Select and hold memory addree Incrementer Imcrement addre a needed addre regiter P C regiter ank incrementer PC intrction decode A L U A mltiply regiter arrel hifter B & control ALU data ot regiter data in regiter D[31:0] Steven Intitte of Technology - All right reerved 4-8/65

9 3-tage pipeline ARM organization A[31:0] control addre regiter P C incrementer regiter ank PC intrction decode A L U A mltiply regiter arrel hifter B & control ALU Data regiter data ot regiter data in regiter D[31:0] Steven Intitte of Technology - All right reerved 4-9/65

10 3-tage pipeline ARM organization A[31:0] control Intrction decode and control logic addre regiter P C incrementer regiter ank PC intrction decode A L U A mltiply regiter arrel hifter B & control ALU data ot regiter data in regiter D[31:0] Steven Intitte of Technology - All right reerved 4-10/65

11 3-tage pipeline ARM organization A[31:0] control addre regiter Internal data e Define all poile internal data tranfer P C regiter ank incrementer PC intrction decode A L U A mltiply regiter arrel hifter B & control ALU data ot regiter data in regiter D[31:0] Steven Intitte of Technology - All right reerved 4-11/65

12 ARM ingle-cycle intrction pipeline operation 1 fetch decode execte 2 fetch decode execte 3 intrction fetch decode execte time Steven Intitte of Technology - All right reerved 4-12/65

13 ARM ingle-cycle intrction pipeline operation A[31:0] control addre regiter 1 fetch decode execte The image cannot e diplayed. Yor compter may not have enogh memory to open the image, or the image may have een corrpted. Retart yor compter, and then open the file again. If the red x till appear, yo may have to delete the image and then inert it again. P C incrementer Crrent intrction memory addre aerted regiter ank PC Intrction read from memory Intrction placed in pipeline A L U A mltiply regiter arrel hifter B intrction decode & control ALU data ot regiter data in regiter D[31:0] Steven Intitte of Technology - All right reerved 4-13/65

14 ARM ingle-cycle intrction pipeline operation A[31:0] control addre regiter 1 fetch decode execte The image cannot e diplayed. Yor compter may not have enogh memory to open the image, or the image may have een corrpted. Retart yor compter, and then open the file again. If the red x till appear, yo may have to delete the image and then inert it again. P C incrementer Intrction decoded regiter ank PC Datapath ignal prepared for intrction A L U A mltiply regiter arrel hifter B intrction decode & control ALU data ot regiter data in regiter D[31:0] Steven Intitte of Technology - All right reerved 4-14/65

15 ARM ingle-cycle intrction pipeline operation A[31:0] control addre regiter 1 fetch decode execte The image cannot e diplayed. Yor compter may not have enogh memory to open the image, or the image may have een corrpted. Retart yor compter, and then open the file again. If the red x till appear, yo may have to delete the image and then inert it again. P C incrementer Intrction exected regiter ank PC Datapath i owned y intrction Regiter are read, operand hifted, ALU procee data, relt written to regiter A L U A mltiply regiter arrel hifter B intrction decode & control ALU data ot regiter data in regiter D[31:0] Steven Intitte of Technology - All right reerved 4-15/65

16 ARM ingle-cycle intrction pipeline operation A[31:0] control 1 fetch decode execte addre regiter 2 fetch decode execte P C incrementer 3 intrction fetch decode execte time A L U A regiter ank mltiply regiter arrel hifter PC B intrction decode & control ALU data ot regiter data in regiter D[31:0] Steven Intitte of Technology - All right reerved 4-16/65

17 ARM mlti-cycle intrction pipeline operation 1 fetch ADD decode execte Single cycle ADD 2 fetch STR decode calc. addr. data xfer Mlti cycle STR 3 fetch ADD decode execte 4 fetch ADD decode execte 5 fetch ADD decode execte intrction time Steven Intitte of Technology - All right reerved 4-17/65

18 ARM mlti-cycle intrction pipeline operation 1 fetch ADD decode execte Single cycle ADD 2 fetch STR decode calc. addr. data xfer Mlti cycle STR 3 fetch ADD decode execte 4 fetch ADD decode execte 5 fetch ADD decode execte intrction time Steven Intitte of Technology - All right reerved 4-18/65

19 ARM mlti-cycle intrction pipeline operation 1 fetch ADD decode execte Single cycle ADD 2 fetch STR decode calc. addr. data xfer Mlti cycle STR 3 fetch ADD decode execte 4 fetch ADD decode execte 5 fetch ADD decode execte intrction time Steven Intitte of Technology - All right reerved 4-19/65

20 ARM mlti-cycle intrction pipeline operation 1 fetch ADD decode execte Single cycle ADD 2 fetch STR decode calc. addr. data xfer Mlti cycle STR 3 fetch ADD decode execte 4 fetch ADD decode execte 5 fetch ADD decode execte intrction time Steven Intitte of Technology - All right reerved 4-20/65

21 ARM mlti-cycle intrction pipeline operation 1 fetch ADD decode execte 2 fetch STR decode calc. addr. data xfer 3 fetch ADD decode execte 4 fetch ADD decode execte 5 fetch ADD decode execte intrction time Bottleneck: Memory acce i alway potential limitation of pipeline efficiency All intrction reqire at leat one cycle acce to datapath. Maye more Ue of datapath in any cycle prevent commitment of datapath in preceding decode Branch intrction cae pipeline to e flhed Steven Intitte of Technology - All right reerved 4-21/65

22 Time to execte a program T prog = N int CPI f clk N int = nmer of intrction CPI = average cycle per intrction f clk = clock peed of proceor Steven Intitte of Technology - All right reerved 4-22/65

23 Time to execte a program T prog = N int CPI f clk N int = nmer of intrction Write efficient code CPI = average cycle per intrction f clk = clock peed of proceor Steven Intitte of Technology - All right reerved 4-23/65

24 Time to execte a program T prog = N int CPI f clk N int = nmer of intrction CPI = average cycle per intrction f clk = clock peed of proceor Reimplement intrction that reqire more than one pipeline lot and/or redce pipeline tall caed y intrction dependencie Steven Intitte of Technology - All right reerved 4-24/65

25 Time to execte a program T prog = N int CPI f clk N int = nmer of intrction CPI = average cycle per intrction f clk = clock peed of proceor Simplify logic in each pipeline tage reqiring more pipeline tage Steven Intitte of Technology - All right reerved 4-25/65

26 Memory ottleneck in load-tore architectre Baic load-tore architectre Load data from memory Proceor intrction cycle Memory Store relt to memory Steven Intitte of Technology - All right reerved 4-26/65

27 Memory ottleneck in load-tore architectre Actal load-tore ytem tranfer Load intrction from memory Load data from memory Proceor intrction cycle Memory Store relt to memory Steven Intitte of Technology - All right reerved 4-27/65

28 Memory ottleneck in load-tore architectre Practical implementation Fetch intrction Load data Proceor intrction cycle Single memory Memory Store relt Steven Intitte of Technology - All right reerved 4-28/65

29 Memory ottleneck in load-tore architectre Improving performance Fetch intrction Load data program Intrction Memory Load data Proceor intrction cycle Data Data Memory Store relt Steven Intitte of Technology - All right reerved 4-29/65

30 Memory ottleneck in load-tore architectre Alternative way of mproving performance Fetch intrction Load data program Intrction Cache Load data Shared Memory Proceor intrction cycle Data Data Cache Store relt Steven Intitte of Technology - All right reerved 4-30/65

31 Memory ottleneck in load-tore architectre Alternative way of mproving performance Fetch intrction Load data program Intrction Cache Load data Shared Memory Proceor intrction cycle Data Data Cache Store relt When hold intrction (or data) e fetched from memory to cache? When hold data e written ack? Steven Intitte of Technology - All right reerved 4-31/65

32 5 tage pipeline Fetch Decode Execte Bffer/data Write ack Steven Intitte of Technology - All right reerved 4-32/65

33 5 tage pipeline contrated with 3-tage Regiter Fetch Decode Execte Bffer/data Write ack Memory Fetch Decode Execte Regiter Steven Intitte of Technology - All right reerved 4-33/65

34 ARM9TDMI 5-tage pipeline organization FETCH next pc +4 I-cache fetch pc + 4 DECODE pc + 8 r15 I decode regiter read intrction decode immediate field EXECUTE B, BL MOV pc SUBS pc +4 LDM/ STM mx potindex pre-index ml ALU hift reg hift forwarding path execte BUFFER/ DATA load/tore addre yte repl. D-cache ffer/ data WRITE- BACK LDR pc rot/gn ex regiter write write-ack Steven Intitte of Technology - All right reerved 4-34/65

35 Data forwarding in 5-tage pipeline Regiter Fetch Decode Execte Bffer/data Write ack Memory Fetch Decode Execte Regiter Steven Intitte of Technology - All right reerved 4-35/65

36 Data forwarding in 5-tage pipeline Regiter Fetch Decode Execte Bffer/data Write ack Memory Exection Fetch Decode Execte Regiter Steven Intitte of Technology - All right reerved 4-36/65

37 Data forwarding in 5-tage pipeline Regiter Fetch Decode Execte Bffer/data Write ack Memory Fetch Decode Execte Exection Data forwarded to eqent proceing tage to avoid pipeline tall Regiter Steven Intitte of Technology - All right reerved 4-37/65

38 Data forwarding in 5-tage pipeline LDR rn, [XYZZY] ; load rn XYZZY ADD r2, r1, rn ; r2 r1+rn rn i needed immediately, t thi cae pipeline tall Stall doen t occr in 3 tage pipeline 5 tage tall can e prevented y reordering exection Steven Intitte of Technology - All right reerved 4-38/65

39 Data proceing intrction PC Regiter Regiter Immediate Vale (8 it) Operand 1 Operand 2 Increment 4 yte Barrel hifter ALU fnction New PC Detination Regiter Condition code Steven Intitte of Technology - All right reerved 4-39/65

40 Data proceing intrction datapath activity addre reg iter addre reg iter increment increment Rd PC regiter Rn Rm Rd regiter Rn PC mlt mlt a in. a in. a intrction a intrction [7:0] data ot data in i. pipe data ot data in i. pipe (a) regiter - regiter operation () regiter - immediate operation Steven Intitte of Technology - All right reerved 4-40/65

41 Data tranfer intrction PC Bae Addre Regiter Regiter Immediate Vale (12 it) Operand 1 Operand 2 Increment 4 yte Offet ADD New PC Addre Regiter Condition code Steven Intitte of Technology - All right reerved 4-41/65

42 STR (tore regiter) datapath activity addre reg iter addre regiter increment increment regiter Rn PC Rn PC regiter Rd mlt mlt ll #0 hifter = A / A + B / A - B [11:0] = A + B / A - B data ot data in i. pipe yte? data in i. pipe (a) 1t cycle - compte addre () 2nd cycle - tore data & ato-index Steven Intitte of Technology - All right reerved 4-42/65

43 Branch intrction PC Immediate Vale (24 it) Operand 1 Operand 2 Left hift 2 it ADD New PC Condition code Steven Intitte of Technology - All right reerved 4-43/65

44 The firt two (of three) cycle of a ranch intrction addre re giter addre reg iter regiter PC increment mlt ll #2 increment R1 4 regiter PC mlt hi fter = A + B = A [23:0] data ot data in i. pipe data ot data in i. pipe (a) 1t cycle - compte ra nch targe t () 2nd cycle - ave retrn addre Steven Intitte of Technology - All right reerved 4-44/65

45 Clocking cheme D Q Edge enitive FF D Q Level enitive FF Steven Intitte of Technology - All right reerved 4-45/65

46 2-phae non-overlapping clock cheme phae 1 1 clock cycle phae 2 Steven Intitte of Technology - All right reerved 4-46/65

47 ARM datapath timing phae 1 ALU operand latched regiter read time hift time read valid hift ot valid precharge invalidate e phae 2 regiter write time ALU time ALU ot Steven Intitte of Technology - All right reerved 4-47/65

48 ARM datapath timing Minimm cycle time phae 1 ALU operand latched regiter read time hift time read valid hift ot valid precharge invalidate e phae 2 regiter write time ALU time ALU ot reg read time Shifter delay ALU proceing time (intrction dependent) Reg write Steven Intitte of Technology - All right reerved 4-48/65 f1 f2

49 The original ARM1 ripple-carry adder circit Cot A B 1-it carry delay O[N] delay m Cin C IN0 C IN1 C IN2 Accmlating delay Steven Intitte of Technology - All right reerved 4-49/65

50 The ARM2 4-it carry look-ahead cheme Cot[3] 4-it carry delay O[N/4] delay A[3:0] B[3:0] G P 4-it adder logic m[3:0] Cin[0] Steven Intitte of Technology - All right reerved 4-50/65

51 The ARM2 ALU logic for one relt it f: NB carry logic G 4 NA P ALU Steven Intitte of Technology - All right reerved 4-51/65

52 ARM2 ALU fnction code f5 f4 f3 f2 f1 f0 ALU otpt A and B A and not B A xor B A pl not B pl carry A pl B pl carry not A pl B pl carry A A or B B not B zero Steven Intitte of Technology - All right reerved 4-52/65

53 ARM6 ALU trctre Arithmetic Unit Logic Unit MUX Steven Intitte of Technology - All right reerved 4-53/65

54 The ARM6 carry-elect adder cheme a,[3:0] a,[31:28] + +, +1 c +1 mx +, +1 O[log 2 (N)] delay mx mx m[3:0] m[7:4] m[15:8] m[31:16] Steven Intitte of Technology - All right reerved 4-54/65

55 The ARM6 ALU organization A operand latch B operand latch invert A XOR gate XOR gate invert B fnction logic fnction adder C in C V logic/arithmetic relt mx zero detect relt N Z Steven Intitte of Technology - All right reerved 4-55/65

56 Barrel hifter D[0:N-1] Right/ Left Arithmetic/ Logical/ Rotate Barrel hifter n hift Q[0:N-1] Steven Intitte of Technology - All right reerved 4-56/65

57 Barrel hifter D[0:N-1] Right/ Left Arithmetic/ Logical/ Rotate Barrel hifter n hift Q[0:N-1] Steven Intitte of Technology - All right reerved 4-57/65

58 Barrel hifter D[0:N-1] Right/ Left Arithmetic/ Logical/ Rotate Barrel hifter n hift Q[0:N-1] ign Steven Intitte of Technology - All right reerved 4-58/65

59 Barrel hifter D[0:N-1] Right/ Left Arithmetic/ Logical/ Rotate Barrel hifter n hift Q[0:N-1] Steven Intitte of Technology - All right reerved 4-59/65

60 The cro-ar witch arrel hifter principle right 3 right 2 right 1 no hift D C B A in[3] in[2] in[1] in[0] left 1 left 2 left 3 ot[0] ot[1] ot[2] ot[3] Steven Intitte of Technology - All right reerved 4-60/65

61 The cro-ar witch arrel hifter principle right 3 right 2 right 1 no hift 4 it hifter: Rotate Left D C in[3] in[2] left 1 left 2 B in[1] left 3 A in[0] ot[0] ot[1] ot[2] ot[3] D A B C Steven Intitte of Technology - All right reerved 4-61/65

62 Regiter ank Mater-Slave D-FF deign reqire 4 2-inpt NAND 2-inpt NAND reqire 4 tranitor One Mater-Slave D-FF reqire 16 tranitor/it 32-it regiter reqire 512 tranitor 16 regiter reqire 8096 tranitor. Thi i too many tranitor for a tranitor proceor Steven Intitte of Technology - All right reerved 4-62/65

63 ARM2 regiter cell circit ALU A B write read A read B 7 tranitor/it deign (D-FF deign didn t inclde I/o enale, either) Steven Intitte of Technology - All right reerved 4-63/65

64 ARM coproceor interface Memory Addre cpi ARM proceor cpa cp ARM coproceor ARM coproceor Coproceor Private regiter ank (p to 16) may e >32 it Up to 16 coproceor cpi = coproceor intrction ha een detected and ARM wihe it to e exected cpa = coproceor aent cp = coproceor y Steven Intitte of Technology - All right reerved 4-64/65

65 ARM coproceor handhaking Fetch intrction No Ye Co-proc int? Ye COND? Ye Branch? No Aert cpi No Decode intrction contine cpa aerted? No cp aerted? No Coproceor take intr Execte intrction Ye Ye Trap error By wait handle complete Steven Intitte of Technology - All right reerved 4-65/65

Chapter 4 (Part I) The Processor. Baback Izadi Division of Engineering Programs

Chapter 4 (Part I) The Processor. Baback Izadi Division of Engineering Programs EGC442 Introdction to Compter Architectre Chapter 4 (Part I) The Processor Baback Izadi Division of Engineering Programs bai@engr.newpaltz.ed Introdction CPU performance factors Instrction cont Determined

More information

Modeling Digital Systems with Verilog

Modeling Digital Systems with Verilog Modeling Digital Systems with Verilog Prof. Chien-Nan Liu TEL: 03-4227151 ext:34534 Email: jimmy@ee.ncu.edu.tw 6-1 Composition of Digital Systems Most digital systems can be partitioned into two types

More information

CS/ECE 250: Computer Architecture. Basics of Logic Design: ALU, Storage, Tristate. Benjamin Lee

CS/ECE 250: Computer Architecture. Basics of Logic Design: ALU, Storage, Tristate. Benjamin Lee CS/ECE 25: Computer Architecture Basics of Logic esign: ALU, Storage, Tristate Benjamin Lee Slides based on those from Alvin Lebeck, aniel, Andrew Hilton, Amir Roth, Gershon Kedem Homework #3 ue Mar 7,

More information

Advanced Devices. Registers Counters Multiplexers Decoders Adders. CSC258 Lecture Slides Steve Engels, 2006 Slide 1 of 20

Advanced Devices. Registers Counters Multiplexers Decoders Adders. CSC258 Lecture Slides Steve Engels, 2006 Slide 1 of 20 Advanced Devices Using a combination of gates and flip-flops, we can construct more sophisticated logical devices. These devices, while more complex, are still considered fundamental to basic logic design.

More information

Review: What is it? What does it do? slti $4, $5, 6

Review: What is it? What does it do? slti $4, $5, 6 Review: What is it? What does it do? Reg Src Instrction Instrction [3-] I [25-2] I [2-6] I [5 - ] 2 Src Op Reslt em em emtoreg I [5 - ] etend slti $, $5, 6 Reg Src Instrction Instrction [3-] I [25-2] I

More information

Instruction Level Parallelism

Instruction Level Parallelism Instruction Level Parallelism Pipelining, Hazards Appendix C, HPe Outline Pipelining, Hazards Branch prediction Static and Dynamic Scheduling Speculation Compiler techniques, VLIW Limits of ILP. Pipelining

More information

CS 152 Midterm 2 May 2, 2002 Bob Brodersen

CS 152 Midterm 2 May 2, 2002 Bob Brodersen CS 152 Midterm 2 May 2, 2002 Bob Brodersen Name Solutions Show your work if you want partial credit! Try all the problems, don t get stuck on one of them. Each one is worth 10 points. 1) 2) 3) 4) 5) 6)

More information

Ausroc III Telemetry System

Ausroc III Telemetry System 1 Auroc III Telemetry Sytem Steven S. Pietrobon 6 Firt Avenue, Payneham South SA 5070, Autralia teven@world.com.au 9th Annual ASRI Conference (ASRI 99) Canberra, Autralia 3 5 December 1999 2 Introduction

More information

EECS150 - Digital Design Lecture 9 - CPU Microarchitecture. CMOS Devices

EECS150 - Digital Design Lecture 9 - CPU Microarchitecture. CMOS Devices EECS150 - Digital Design Lecture 9 - CPU Microarchitecture Feb 17, 2009 John Wawrzynek Spring 2009 EECS150 - Lec9-cpu Page 1 CMOS Devices Review: Transistor switch-level models The gate acts like a capacitor.

More information

Multiplexor (aka MUX) An example, yet VERY useful circuit!

Multiplexor (aka MUX) An example, yet VERY useful circuit! Multiplexor (aka MUX) An example, yet VERY useful circuit! A B 0 1 Y S A B Y 0 0 x 0 0 1 x 1 1 x 0 0 1 x 1 1 S=1 S=0 Y = (S)? B:A; Y=S A+SB when S = 0: output A 1: output B 56 A 32-bit MUX Use 32 1-bit

More information

Pipeline design. Mehran Rezaei

Pipeline design. Mehran Rezaei Pipeline design Mehran Rezaei Shift Left 2 pc Opcode ExtOp Cont Unit RegDst Addr Addr2 Addr npcsle Reg ALUSrc Mem 2 OVF Branch ALUCtr MemtoReg Mem Funct Extension ALUOp ALU Cont Shift Left 2 ID EXE MEM

More information

ECE 250 / CPS 250 Computer Architecture. Basics of Logic Design ALU and Storage Elements

ECE 250 / CPS 250 Computer Architecture. Basics of Logic Design ALU and Storage Elements ECE 25 / CPS 25 Computer Architecture Basics of Logic esign ALU and Storage Elements Benjamin Lee Slides based on those from Andrew Hilton (uke), Alvy Lebeck (uke) Benjamin Lee (uke), and Amir Roth (Penn)

More information

Pipelining. Improve performance by increasing instruction throughput Program execution order. Data access. Instruction. fetch. Data access.

Pipelining. Improve performance by increasing instruction throughput Program execution order. Data access. Instruction. fetch. Data access. Chapter 6 Pipelining Improve performance by increasing instrction throghpt Program eection order Time (in instrctions) lw $, ($) Instrction fetch 2 4 6 8 2 4 6 8 ALU Data access lw $2, 2($) 8 ns Instrction

More information

Introduction to Computer Engineering. CS/ECE 252, Spring 2017 Rahul Nayar Computer Sciences Department University of Wisconsin Madison

Introduction to Computer Engineering. CS/ECE 252, Spring 2017 Rahul Nayar Computer Sciences Department University of Wisconsin Madison Introduction to Computer Engineering CS/ECE 252, Spring 2017 Rahul Nayar Computer Sciences Department University of Wisconsin Madison Revision Decoder A decoder is a circuit that changes a code into a

More information

CHAPTER 4: Logic Circuits

CHAPTER 4: Logic Circuits CHAPTER 4: Logic Circuits II. Sequential Circuits Combinational circuits o The outputs depend only on the current input values o It uses only logic gates, decoders, multiplexers, ALUs Sequential circuits

More information

CHAPTER 4: Logic Circuits

CHAPTER 4: Logic Circuits CHAPTER 4: Logic Circuits II. Sequential Circuits Combinational circuits o The outputs depend only on the current input values o It uses only logic gates, decoders, multiplexers, ALUs Sequential circuits

More information

Slide Set 6. for ENCM 369 Winter 2018 Section 01. Steve Norman, PhD, PEng

Slide Set 6. for ENCM 369 Winter 2018 Section 01. Steve Norman, PhD, PEng Slide Set 6 for ENCM 369 Winter 2018 Section 01 Steve Norman, PhD, PEng Electrical & Computer Engineering Schulich School of Engineering University of Calgary February 2018 ENCM 369 Winter 2018 Section

More information

On the Rules of Low-Power Design

On the Rules of Low-Power Design On the Rules of Low-Power Design (and How to Break Them) Prof. Todd Austin Advanced Computer Architecture Lab University of Michigan austin@umich.edu Once upon a time 1 Rules of Low-Power Design P = acv

More information

Microprocessor Design

Microprocessor Design Microprocessor Design Principles and Practices With VHDL Enoch O. Hwang Brooks / Cole 2004 To my wife and children Windy, Jonathan and Michelle Contents 1. Designing a Microprocessor... 2 1.1 Overview

More information

Registers. Unit 12 Registers and Counters. Registers (D Flip-Flop based) Register Transfers (example not out of text) Accumulator Registers

Registers. Unit 12 Registers and Counters. Registers (D Flip-Flop based) Register Transfers (example not out of text) Accumulator Registers Unit 2 Registers and Counters Fundamentals of Logic esign EE2369 Prof. Eric Maconald Fall Semester 23 Registers Groups of flip-flops Can contain data format can be unsigned, 2 s complement and other more

More information

BCN1043. By Dr. Mritha Ramalingam. Faculty of Computer Systems & Software Engineering

BCN1043. By Dr. Mritha Ramalingam. Faculty of Computer Systems & Software Engineering BCN1043 By Dr. Mritha Ramalingam Faculty of Computer Systems & Software Engineering mritha@ump.edu.my http://ocw.ump.edu.my/ authors Dr. Mohd Nizam Mohmad Kahar (mnizam@ump.edu.my) Jamaludin Sallim (jamal@ump.edu.my)

More information

MODULE 3. Combinational & Sequential logic

MODULE 3. Combinational & Sequential logic MODULE 3 Combinational & Sequential logic Combinational Logic Introduction Logic circuit may be classified into two categories. Combinational logic circuits 2. Sequential logic circuits A combinational

More information

06 1 MIPS Implementation Pipelined DLX and MIPS Implementations: Hardware, notation, hazards.

06 1 MIPS Implementation Pipelined DLX and MIPS Implementations: Hardware, notation, hazards. 06 1 MIPS Implementation 06 1 Material from Chapter 3 of H&P (for DLX). Material from Chapter 6 of P&H (for MIPS). line: (In this set.) Unpipelined DLX Implementation. (Diagram only.) Pipelined DLX and

More information

CS 110 Computer Architecture. Finite State Machines, Functional Units. Instructor: Sören Schwertfeger.

CS 110 Computer Architecture. Finite State Machines, Functional Units. Instructor: Sören Schwertfeger. CS 110 Computer Architecture Finite State Machines, Functional Units Instructor: Sören Schwertfeger http://shtech.org/courses/ca/ School of Information Science and Technology SIST ShanghaiTech University

More information

Contents Slide Set 6. Introduction to Chapter 7 of the textbook. Outline of Slide Set 6. An outline of the first part of Chapter 7

Contents Slide Set 6. Introduction to Chapter 7 of the textbook. Outline of Slide Set 6. An outline of the first part of Chapter 7 CM 69 W4 Section Slide Set 6 slide 2/9 Contents Slide Set 6 for CM 69 Winter 24 Lecture Section Steve Norman, PhD, PEng Electrical & Computer Engineering Schulich School of Engineering University of Calgary

More information

Read-only memory (ROM) Digital logic: ALUs Sequential logic circuits. Don't cares. Bus

Read-only memory (ROM) Digital logic: ALUs Sequential logic circuits. Don't cares. Bus Digital logic: ALUs Sequential logic circuits CS207, Fall 2004 October 11, 13, and 15, 2004 1 Read-only memory (ROM) A form of memory Contents fixed when circuit is created n input lines for 2 n addressable

More information

Objectives. Combinational logics Sequential logics Finite state machine Arithmetic circuits Datapath

Objectives. Combinational logics Sequential logics Finite state machine Arithmetic circuits Datapath Objectives Combinational logics Sequential logics Finite state machine Arithmetic circuits Datapath In the previous chapters we have studied how to develop a specification from a given application, and

More information

Sequential Logic Design CS 64: Computer Organization and Design Logic Lecture #14

Sequential Logic Design CS 64: Computer Organization and Design Logic Lecture #14 Sequential Logic Design CS 64: Computer Organization and Design Logic Lecture #14 Ziad Matni Dept. of Computer Science, UCSB Administrative Only 2.5 weeks left!!!!!!!! OMG!!!!! Th. 5/24 Sequential Logic

More information

CHAPTER 6 ASYNCHRONOUS QUASI DELAY INSENSITIVE TEMPLATES (QDI) BASED VITERBI DECODER

CHAPTER 6 ASYNCHRONOUS QUASI DELAY INSENSITIVE TEMPLATES (QDI) BASED VITERBI DECODER 80 CHAPTER 6 ASYNCHRONOUS QUASI DELAY INSENSITIVE TEMPLATES (QDI) BASED VITERBI DECODER 6.1 INTRODUCTION Asynchronous designs are increasingly used to counter the disadvantages of synchronous designs.

More information

ELEN Electronique numérique

ELEN Electronique numérique ELEN0040 - Electronique numérique Patricia ROUSSEAUX Année académique 2014-2015 CHAPITRE 6 Registers and Counters ELEN0040 6-277 Design of a modulo-8 binary counter using JK Flip-flops 3 bits are required

More information

1. Convert the decimal number to binary, octal, and hexadecimal.

1. Convert the decimal number to binary, octal, and hexadecimal. 1. Convert the decimal number 435.64 to binary, octal, and hexadecimal. 2. Part A. Convert the circuit below into NAND gates. Insert or remove inverters as necessary. Part B. What is the propagation delay

More information

PIPELINING: BRANCH AND MULTICYCLE INSTRUCTIONS

PIPELINING: BRANCH AND MULTICYCLE INSTRUCTIONS PIPELINING: BRANCH AND MULTICYCLE INSTRUCTIONS Mahdi Nazm Bojnordi Assistant Professor School of Computing University of Utah CS/ECE 6810: Computer Architecture Overview Announcement Homework 1 submission

More information

EEC 118 Lecture #9: Sequential Logic. Rajeevan Amirtharajah University of California, Davis Jeff Parkhurst Intel Corporation

EEC 118 Lecture #9: Sequential Logic. Rajeevan Amirtharajah University of California, Davis Jeff Parkhurst Intel Corporation EEC 118 Lecture #9: Sequential Logic Rajeevan Amirtharajah University of California, Davis Jeff Parkhurst Intel Corporation Outline Review: Static CMOS Logic Finish Static CMOS transient analysis Sequential

More information

Experiment 8 Introduction to Latches and Flip-Flops and registers

Experiment 8 Introduction to Latches and Flip-Flops and registers Experiment 8 Introduction to Latches and Flip-Flops and registers Introduction: The logic circuits that have been used until now were combinational logic circuits since the output of the device depends

More information

problem maximum score 1 28pts 2 10pts 3 10pts 4 15pts 5 14pts 6 12pts 7 11pts total 100pts

problem maximum score 1 28pts 2 10pts 3 10pts 4 15pts 5 14pts 6 12pts 7 11pts total 100pts University of California at Berkeley College of Engineering Department of Electrical Engineering and Computer Sciences EECS150 J. Wawrzynek Spring 2002 4/5/02 Midterm Exam II Name: Solutions ID number:

More information

More Digital Circuits

More Digital Circuits More Digital Circuits 1 Signals and Waveforms: Showing Time & Grouping 2 Signals and Waveforms: Circuit Delay 2 3 4 5 3 10 0 1 5 13 4 6 3 Sample Debugging Waveform 4 Type of Circuits Synchronous Digital

More information

Logic Devices for Interfacing, The 8085 MPU Lecture 4

Logic Devices for Interfacing, The 8085 MPU Lecture 4 Logic Devices for Interfacing, The 8085 MPU Lecture 4 1 Logic Devices for Interfacing Tri-State devices Buffer Bidirectional Buffer Decoder Encoder D Flip Flop :Latch and Clocked 2 Tri-state Logic Outputs

More information

Counters

Counters Counters A counter is the most versatile and useful subsystems in the digital system. A counter driven by a clock can be used to count the number of clock cycles. Since clock pulses occur at known intervals,

More information

VLSI Design: 3) Explain the various MOSFET Capacitances & their significance. 4) Draw a CMOS Inverter. Explain its transfer characteristics

VLSI Design: 3) Explain the various MOSFET Capacitances & their significance. 4) Draw a CMOS Inverter. Explain its transfer characteristics 1) Explain why & how a MOSFET works VLSI Design: 2) Draw Vds-Ids curve for a MOSFET. Now, show how this curve changes (a) with increasing Vgs (b) with increasing transistor width (c) considering Channel

More information

COMP2611: Computer Organization. Introduction to Digital Logic

COMP2611: Computer Organization. Introduction to Digital Logic 1 COMP2611: Computer Organization Sequential Logic Time 2 Till now, we have essentially ignored the issue of time. We assume digital circuits: Perform their computations instantaneously Stateless: once

More information

Midterm Exam 15 points total. March 28, 2011

Midterm Exam 15 points total. March 28, 2011 Midterm Exam 15 points total March 28, 2011 Part I Analytical Problems 1. (1.5 points) A. Convert to decimal, compare, and arrange in ascending order the following numbers encoded using various binary

More information

Logic Design II (17.342) Spring Lecture Outline

Logic Design II (17.342) Spring Lecture Outline Logic Design II (17.342) Spring 2012 Lecture Outline Class # 03 February 09, 2012 Dohn Bowden 1 Today s Lecture Registers and Counters Chapter 12 2 Course Admin 3 Administrative Admin for tonight Syllabus

More information

Register Transfer Level (RTL) Design Cont.

Register Transfer Level (RTL) Design Cont. CSE4: Components and Design Techniques for Digital Systems Register Transfer Level (RTL) Design Cont. Tajana Simunic Rosing Where we are now What we are covering today: RTL design examples, RTL critical

More information

MODU LE DAY. Class-A, B, AB and C amplifiers - basic concepts, power, efficiency Basic concepts of Feedback and Oscillation. Day 1

MODU LE DAY. Class-A, B, AB and C amplifiers - basic concepts, power, efficiency Basic concepts of Feedback and Oscillation. Day 1 DAY MODU LE TOPIC QUESTIONS Day 1 Day 2 Day 3 Day 4 I Class-A, B, AB and C amplifiers - basic concepts, power, efficiency Basic concepts of Feedback and Oscillation Phase Shift Wein Bridge oscillators.

More information

6.3 Sequential Circuits (plus a few Combinational)

6.3 Sequential Circuits (plus a few Combinational) 6.3 Sequential Circuits (plus a few Combinational) Logic Gates: Fundamental Building Blocks Introduction to Computer Science Robert Sedgewick and Kevin Wayne Copyright 2005 http://www.cs.princeton.edu/introcs

More information

CSE140L: Components and Design Techniques for Digital Systems Lab. CPU design and PLDs. Tajana Simunic Rosing. Source: Vahid, Katz

CSE140L: Components and Design Techniques for Digital Systems Lab. CPU design and PLDs. Tajana Simunic Rosing. Source: Vahid, Katz CSE140L: Components and Design Techniques for Digital Systems Lab CPU design and PLDs Tajana Simunic Rosing Source: Vahid, Katz 1 Lab #3 due Lab #4 CPU design Today: CPU design - lab overview PLDs Updates

More information

Lab #12: 4-Bit Arithmetic Logic Unit (ALU)

Lab #12: 4-Bit Arithmetic Logic Unit (ALU) Lab #12: 4-Bit Arithmetic Logic Unit (ALU) ECE/COE 0501 Date of Experiment: 4/3/2017 Report Written: 4/5/2017 Submission Date: 4/10/2017 Nicholas Haver nicholas.haver@pitt.edu 1 H a v e r PURPOSE The purpose

More information

CPE300: Digital System Architecture and Design

CPE300: Digital System Architecture and Design CPE300: Digital System Architecture and Design Fall 2011 MW 17:30-18:45 CBC C316 1-Bus Architecture and Datapath 10262011 http://www.egr.unlv.edu/~b1morris/cpe300/ 2 Outline 1-Bus Microarchitecture and

More information

Flip Flop. S-R Flip Flop. Sequential Circuits. Block diagram. Prepared by:- Anwar Bari

Flip Flop. S-R Flip Flop. Sequential Circuits. Block diagram. Prepared by:- Anwar Bari Sequential Circuits The combinational circuit does not use any memory. Hence the previous state of input does not have any effect on the present state of the circuit. But sequential circuit has memory

More information

Chapter 3 Unit Combinational

Chapter 3 Unit Combinational EE 200: Digital Logic Circuit Design Dr Radwan E Abdel-Aal, COE Logic and Computer Design Fundamentals Chapter 3 Unit Combinational 5 Registers Logic and Design Counters Part Implementation Technology

More information

CSE115: Digital Design Lecture 23: Latches & Flip-Flops

CSE115: Digital Design Lecture 23: Latches & Flip-Flops Faculty of Engineering CSE115: Digital Design Lecture 23: Latches & Flip-Flops Sections 7.1-7.2 Suggested Reading A Generic Digital Processor Building Blocks for Digital Architectures INPUT - OUTPUT Interconnect:

More information

WINTER 15 EXAMINATION Model Answer

WINTER 15 EXAMINATION Model Answer Important Instructions to examiners: 1) The answers should be examined by key words and not as word-to-word as given in the model answer scheme. 2) The model answer and the answer written by candidate

More information

An Adaptive Technique for Reducing Leakage and Dynamic Power in Register Files and Reorder Buffers

An Adaptive Technique for Reducing Leakage and Dynamic Power in Register Files and Reorder Buffers An Adaptive Technique for Reducing Leakage and Dynamic Power in Register Files and Reorder Buffers Shadi T. Khasawneh and Kanad Ghose Department of Computer Science State University of New York, Binghamton,

More information

Digital Design and Computer Architecture

Digital Design and Computer Architecture Digital Design and Computer Architecture Lab 0: Multicycle ARM Processor (Part ) Introduction In this lab and the next, you will design and build your own multicycle ARM processor. You will be much more

More information

Asynchronous (Ripple) Counters

Asynchronous (Ripple) Counters Circuits for counting events are frequently used in computers and other digital systems. Since a counter circuit must remember its past states, it has to possess memory. The chapter about flip-flops introduced

More information

Spiral Content Mapping. Spiral 2 1. Learning Outcomes DATAPATH COMPONENTS. Datapath Components: Counters Adders Design Example: Crosswalk Controller

Spiral Content Mapping. Spiral 2 1. Learning Outcomes DATAPATH COMPONENTS. Datapath Components: Counters Adders Design Example: Crosswalk Controller -. -. piral Content Mapping piral Theory Combinational Design equential Design ystem Level Design Implementation and Tools Project piral Performance metrics (latency vs. throughput) Boolean Algebra Canonical

More information

Lecture 2: Digi Logic & Bus

Lecture 2: Digi Logic & Bus Lecture 2 http://www.du.edu/~etuttle/electron/elect36.htm Flip-Flop (kiikku) Sequential Circuits, Bus Online Ch 20.1-3 [Sta10] Ch 3 [Sta10] Circuits with memory What moves on Bus? Flip-Flop S-R Latch PCI-bus

More information

Tutorial Outline. Design Levels

Tutorial Outline. Design Levels Tutorial Outline 8:3-8:45 8:45-9:5 9:5-9:3 9:3-1:3 1:3-1:5 1:5-12:15 12:15-1:3 1:3-2:3 2:3-3:3 3:3-3:5 3:5-4:3 4:3-4:45 Introduction and motivation Sources of power in CMOS designs Power analysis tools

More information

AN ABSTRACT OF THE THESIS OF

AN ABSTRACT OF THE THESIS OF AN ABSTRACT OF THE THESIS OF Licheng Zhang for the degree of Master of Science in Electrical and Computer Engineering presented on June 7, 1989. Title: The Design of A Reduced Instruction Set Computer

More information

Long and Fast Up/Down Counters Pushpinder Kaur CHOUHAN 6 th Jan, 2003

Long and Fast Up/Down Counters Pushpinder Kaur CHOUHAN 6 th Jan, 2003 1 Introduction Long and Fast Up/Down Counters Pushpinder Kaur CHOUHAN 6 th Jan, 2003 Circuits for counting both forward and backward events are frequently used in computers and other digital systems. Digital

More information

Registers and Counters

Registers and Counters Registers and Counters A register is a group of flip-flops which share a common clock An n-bit register consists of a group of n flip-flops capable of storing n bits of binary information May have combinational

More information

MC9211 Computer Organization

MC9211 Computer Organization MC9211 Computer Organization Unit 2 : Combinational and Sequential Circuits Lesson2 : Sequential Circuits (KSB) (MCA) (2009-12/ODD) (2009-10/1 A&B) Coverage Lesson2 Outlines the formal procedures for the

More information

Introduction to Digital Logic Missouri S&T University CPE 2210 Exam 3 Logistics

Introduction to Digital Logic Missouri S&T University CPE 2210 Exam 3 Logistics Introduction to Digital Logic Missouri S&T University CPE 2210 Exam 3 Logistics Egemen K. Çetinkaya Egemen K. Çetinkaya Department of Electrical & Computer Engineering Missouri University of Science and

More information

DYNAMIC INSTRUCTION SCHEDULING WITH TOMASULO

DYNAMIC INSTRUCTION SCHEDULING WITH TOMASULO DYNAMIC INSTRUCTION SCHEDULING WITH TOMASULO Slides by: Pedro Tomás Additional reading: Computer Architecture: A Quantitative Approach, 5th edition, Chapter 3, John L. Hennessy and David A. Patterson,

More information

ECE 263 Digital Systems, Fall 2015

ECE 263 Digital Systems, Fall 2015 ECE 263 Digital Systems, Fall 2015 REVIEW: FINALS MEMORY ROM, PROM, EPROM, EEPROM, FLASH RAM, DRAM, SRAM Design of a memory cell 1. Draw circuits and write 2 differences and 2 similarities between DRAM

More information

Outline. EECS150 - Digital Design Lecture 27 - Asynchronous Sequential Circuits. Cross-coupled NOR gates. Asynchronous State Transition Diagram

Outline. EECS150 - Digital Design Lecture 27 - Asynchronous Sequential Circuits. Cross-coupled NOR gates. Asynchronous State Transition Diagram EECS150 - Digital Design Lecture 27 - Asynchronous Sequential Circuits Nov 26, 2002 John Wawrzynek Outline SR Latches and other storage elements Synchronizers Figures from Digital Design, John F. Wakerly

More information

Logic Design ( Part 3) Sequential Logic (Chapter 3)

Logic Design ( Part 3) Sequential Logic (Chapter 3) o Far: Combinational Logic Logic esign ( Part ) equential Logic (Chapter ) Based on slides McGraw-Hill Additional material 24/25/26 Lewis/Martin Additional material 28 oth Additional material 2 Taylor

More information

Instruction Level Parallelism Part III

Instruction Level Parallelism Part III Course on: Advanced Computer Architectures Instruction Level Parallelism Part III Prof. Cristina Silvano Politecnico di Milano email: cristina.silvano@polimi.it 1 Outline of Part III Dynamic Scheduling

More information

Logic Design. Flip Flops, Registers and Counters

Logic Design. Flip Flops, Registers and Counters Logic Design Flip Flops, Registers and Counters Introduction Combinational circuits: value of each output depends only on the values of inputs Sequential Circuits: values of outputs depend on inputs and

More information

Outline. 1 Reiteration. 2 Dynamic scheduling - Tomasulo. 3 Superscalar, VLIW. 4 Speculation. 5 ILP limitations. 6 What we have done so far.

Outline. 1 Reiteration. 2 Dynamic scheduling - Tomasulo. 3 Superscalar, VLIW. 4 Speculation. 5 ILP limitations. 6 What we have done so far. Outline 1 Reiteration Lecture 5: EIT090 Computer Architecture 2 Dynamic scheduling - Tomasulo Anders Ardö 3 Superscalar, VLIW EIT Electrical and Information Technology, Lund University Sept. 30, 2009 4

More information

ECE 555 DESIGN PROJECT Introduction and Phase 1

ECE 555 DESIGN PROJECT Introduction and Phase 1 March 15, 1998 ECE 555 DESIGN PROJECT Introduction and Phase 1 Charles R. Kime Dept. of Electrical and Computer Engineering University of Wisconsin Madison Phase I Due Wednesday, March 24; One Week Grace

More information

Instruction Level Parallelism Part III

Instruction Level Parallelism Part III Course on: Advanced Computer Architectures Instruction Level Parallelism Part III Prof. Cristina Silvano Politecnico di Milano email: cristina.silvano@polimi.it 1 Outline of Part III Tomasulo Dynamic Scheduling

More information

Chapter 6. sequential logic design. This is the beginning of the second part of this course, sequential logic.

Chapter 6. sequential logic design. This is the beginning of the second part of this course, sequential logic. Chapter 6. sequential logic design This is the beginning of the second part of this course, sequential logic. equential logic equential circuits simple circuits with feedback latches edge-triggered flip-flops

More information

CS/EE 6710 Digital VLSI Design CAD Assignment #3 Due Thursday September 21 st, 5:00pm

CS/EE 6710 Digital VLSI Design CAD Assignment #3 Due Thursday September 21 st, 5:00pm CS/EE 6710 Digital VLSI Design CAD Assignment #3 Due Thursday September 21 st, 5:00pm Overview: In this assignment you will design a register cell. This cell should be a single-bit edge-triggered D-type

More information

Sequential Circuits. Sequential Logic. Circuits with Feedback. Simplest Circuits with Feedback. Memory with Cross-coupled Gates.

Sequential Circuits. Sequential Logic. Circuits with Feedback. Simplest Circuits with Feedback. Memory with Cross-coupled Gates. equential Logic equential Circuits equential Circuits imple circuits with feedback Latches Edge-triggered flip-flops Timing Methodologies Cascading flip-flops for proper operation Clock skew Basic egisters

More information

IS1500 (not part of IS1200) Logic Design Lab (LD-Lab)

IS1500 (not part of IS1200) Logic Design Lab (LD-Lab) Introduction IS1500 (not part of IS1200) Logic Design Lab (LD-Lab) 2017-10-26 The purpose of this lab is to give a hands-on experience of using gates and digital building blocks. These build blocks are

More information

YEDITEPE UNIVERSITY DEPARTMENT OF COMPUTER ENGINEERING. EXPERIMENT VIII: FLIP-FLOPS, COUNTERS 2014 Fall

YEDITEPE UNIVERSITY DEPARTMENT OF COMPUTER ENGINEERING. EXPERIMENT VIII: FLIP-FLOPS, COUNTERS 2014 Fall YEDITEPE UNIVERSITY DEPARTMENT OF COMPUTER ENGINEERING EXPERIMENT VIII: FLIP-FLOPS, COUNTERS 2014 Fall Objective: - Dealing with the operation of simple sequential devices. Learning invalid condition in

More information

EECS150 - Digital Design Lecture 3 Synchronous Digital Systems Review. Announcements

EECS150 - Digital Design Lecture 3 Synchronous Digital Systems Review. Announcements EECS150 - Digital Design Lecture 3 Synchronous Digital Systems Review September 1, 2011 Elad Alon Electrical Engineering and Computer Sciences University of California, Berkeley http://www-inst.eecs.berkeley.edu/~cs150

More information

The basic logic gates are the inverter (or NOT gate), the AND gate, the OR gate and the exclusive-or gate (XOR). If you put an inverter in front of

The basic logic gates are the inverter (or NOT gate), the AND gate, the OR gate and the exclusive-or gate (XOR). If you put an inverter in front of 1 The basic logic gates are the inverter (or NOT gate), the AND gate, the OR gate and the exclusive-or gate (XOR). If you put an inverter in front of the AND gate, you get the NAND gate etc. 2 One of the

More information

EEC 581 Computer Architecture. Instruction Level Parallelism (3.4 & 3.5 Dynamic Scheduling)

EEC 581 Computer Architecture. Instruction Level Parallelism (3.4 & 3.5 Dynamic Scheduling) 1 EEC 581 Computer Architecture Instruction Level Parallelism (3.4 & 3.5 Dynamic Scheduling) Chansu Yu Electrical and Computer Engineering Cleveland State University Overview of Chap. 3 (again) Pipelined

More information

CS61C : Machine Structures

CS61C : Machine Structures inst.eecs.berkeley.edu/~cs61c CS61C : Machine Structures Lecture 24 State Circuits : Circuits that Remember Senior Lecturer SOE Dan Garcia www.cs.berkeley.edu/~ddgarcia Bio NAND gate Researchers at Imperial

More information

Sequential logic. Circuits with feedback. How to control feedback? Sequential circuits. Timing methodologies. Basic registers

Sequential logic. Circuits with feedback. How to control feedback? Sequential circuits. Timing methodologies. Basic registers equential logic equential circuits simple circuits with feedback latches edge-triggered flip-flops Timing methodologies cascading flip-flops for proper operation clock skew Basic registers shift registers

More information

Lecture 16: Instruction Level Parallelism -- Dynamic Scheduling (OOO) via Tomasulo s Approach

Lecture 16: Instruction Level Parallelism -- Dynamic Scheduling (OOO) via Tomasulo s Approach Lecture 16: Instruction Level Parallelism -- Dynamic Scheduling (OOO) via Tomasulo s Approach CSE 564 Computer Architecture Summer 2017 Department of Computer Science and Engineering Yonghong Yan yan@oakland.edu

More information

ALGORITHMS IN HW EECS150 ALGORITHMS IN HW. COMBINATIONAL vs. SEQUENTIAL. Sequential Circuits ALGORITHMS IN HW

ALGORITHMS IN HW EECS150 ALGORITHMS IN HW. COMBINATIONAL vs. SEQUENTIAL. Sequential Circuits ALGORITHMS IN HW LGOITHM HW EEC150 ection 2 Introduction to equential Logic Fall 2001 pproach #2: Combinational divide & conquer a[0] a[1] a[1022] a[1023] MX MX MX 512 + 256 + K+ 1 = 1023 blocks Each MX block has: 64 s;

More information

Using minterms, m-notation / decimal notation Sum = Cout = Using maxterms, M-notation Sum = Cout =

Using minterms, m-notation / decimal notation Sum = Cout = Using maxterms, M-notation Sum = Cout = 1 Review of Digital Logic Design Fundamentals Logic circuits: 1. Combinational Logic: No memory, present output depends only on the present input 2. Sequential Logic: Has memory, present output depends

More information

CS 261 Fall Mike Lam, Professor. Sequential Circuits

CS 261 Fall Mike Lam, Professor. Sequential Circuits CS 261 Fall 2018 Mike Lam, Professor Sequential Circuits Circuits Circuits are formed by linking gates (or other circuits) together Inputs and outputs Link output of one gate to input of another Some circuits

More information

Logic and Computer Design Fundamentals. Chapter 7. Registers and Counters

Logic and Computer Design Fundamentals. Chapter 7. Registers and Counters Logic and Computer Design Fundamentals Chapter 7 Registers and Counters Registers Register a collection of binary storage elements In theory, a register is sequential logic which can be defined by a state

More information

Chapter Contents. Appendix A: Digital Logic. Some Definitions

Chapter Contents. Appendix A: Digital Logic. Some Definitions A- Appendix A - Digital Logic A-2 Appendix A - Digital Logic Chapter Contents Principles of Computer Architecture Miles Murdocca and Vincent Heuring Appendix A: Digital Logic A. Introduction A.2 Combinational

More information

Hardware Design I Chap. 5 Memory elements

Hardware Design I Chap. 5 Memory elements Hardware Design I Chap. 5 Memory elements E-mail: shimada@is.naist.jp Why memory is required? To hold data which will be processed with designed hardware (for storage) Main memory, cache, register, and

More information

CSE 352 Laboratory Assignment 3

CSE 352 Laboratory Assignment 3 CSE 352 Laboratory Assignment 3 Introduction to Registers The objective of this lab is to introduce you to edge-trigged D-type flip-flops as well as linear feedback shift registers. Chapter 3 of the Harris&Harris

More information

Sequential logic circuits

Sequential logic circuits Computer Mathematics Week 10 Sequential logic circuits College of Information Science and Engineering Ritsumeikan University last week combinational digital circuits signals and busses logic gates and,

More information

Chapter 2. Digital Circuits

Chapter 2. Digital Circuits Chapter 2. Digital Circuits Logic gates Flip-flops FF registers IC registers Data bus Encoders/Decoders Multiplexers Troubleshooting digital circuits Most contents of this chapter were covered in 88-217

More information

! Two inverters form a static memory cell " Will hold value as long as it has power applied

! Two inverters form a static memory cell  Will hold value as long as it has power applied equential Logic! equential Circuits " imple circuits with feedback " Latches " Edge-triggered flip-flops! Timing Methodologies " Cascading flip-flops for proper operation " Clock skew! Basic egisters "

More information

Digital System Clocking: High-Performance and Low-Power Aspects

Digital System Clocking: High-Performance and Low-Power Aspects igital ystem Clocking: High-Performance and Low-Power Aspects Vojin G. Oklobdzija, Vladimir M. tojanovic, ejan M. Markovic, Nikola M. Nedovic Chapter 8: tate-of-the-art Clocked torage Elements in CMO Technology

More information

DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING

DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING DRONACHARYA GROUP OF INSTITUTIONS, GREATER NOIDA Affiliated to Mahamaya Technical University, Noida Approved by AICTE DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING Lab Manual for Computer Organization Lab

More information

Sequential Logic. Sequential Circuits. ! Timing Methodologies " Cascading flip-flops for proper operation " Clock skew

Sequential Logic. Sequential Circuits. ! Timing Methodologies  Cascading flip-flops for proper operation  Clock skew equential Logic! equential Circuits " imple circuits with feedback " Latches " Edge-triggered flip-flops! Timing Methodologies " Cascading flip-flops for proper operation " Clock skew! Basic egisters "

More information

ALONG with the progressive device scaling, semiconductor

ALONG with the progressive device scaling, semiconductor IEEE TRANSACTIONS ON CIRCUITS AND SYSTEMS II: EXPRESS BRIEFS, VOL. 57, NO. 4, APRIL 2010 285 LUT Optimization for Memory-Based Computation Pramod Kumar Meher, Senior Member, IEEE Abstract Recently, we

More information

Switching Circuits & Logic Design, Fall Final Examination (1/13/2012, 3:30pm~5:20pm)

Switching Circuits & Logic Design, Fall Final Examination (1/13/2012, 3:30pm~5:20pm) Switching Circuits & Logic Design, Fall 2011 Final Examination (1/13/2012, 3:30pm~5:20pm) Problem 1: (15 points) Consider a new FF with three inputs, S, R, and T. No more than one of these inputs can be

More information

Sequential Logic. Introduction to Computer Yung-Yu Chuang

Sequential Logic. Introduction to Computer Yung-Yu Chuang Sequential Logic Introduction to Computer Yung-Yu Chuang with slides by Sedgewick & Wayne (introcs.cs.princeton.edu), Nisan & Schocken (www.nand2tetris.org) and Harris & Harris (DDCA) Review of Combinational

More information

An FPGA Implementation of Shift Register Using Pulsed Latches

An FPGA Implementation of Shift Register Using Pulsed Latches An FPGA Implementation of Shift Register Using Pulsed Latches Shiny Panimalar.S, T.Nisha Priscilla, Associate Professor, Department of ECE, MAMCET, Tiruchirappalli, India PG Scholar, Department of ECE,

More information