Menu. Excitation Tables (Bonus Slide) EEL3701 EEL3701. Registers, RALU, Asynch, Synch

Similar documents
Design of Sequential Circuits

Unit 7 Sequential Circuits (Flip Flop, Registers)

Menu. Binary Adder EEL3701 EEL3701. Add, Subtract, Compare, ALU

Counters. We ll look at different kinds of counters and discuss how to build them

INTEGRATED CIRCUITS. For a complete data sheet, please also download:

Digital Circuits ECS 371

Introduction EE 224: INTRODUCTION TO DIGITAL CIRCUITS & COMPUTER DESIGN. Lecture 6: Sequential Logic 3 Registers & Counters 5/9/2010

CHW 261: Logic Design

CprE 281: Digital Logic

King Fahd University of Petroleum and Minerals College of Computer Science and Engineering Computer Engineering Department

Menu. 7-Segment LED. Misc. 7-Segment LED MSI Components >MUX >Adders Memory Devices >D-FF, RAM, ROM Computer/Microprocessor >GCPU

INTEGRATED CIRCUITS. For a complete data sheet, please also download:

LOGIC CIRCUITS. Basic Experiment and Design of Electronics. Ho Kyung Kim, Ph.D.

ALU A functional unit

LOGIC CIRCUITS. Basic Experiment and Design of Electronics

3. Complete the following table of equivalent values. Use binary numbers with a sign bit and 7 bits for the value

King Fahd University of Petroleum and Minerals College of Computer Science and Engineering Computer Engineering Department

COE 202: Digital Logic Design Sequential Circuits Part 4. Dr. Ahmad Almulhem ahmadsm AT kfupm Phone: Office:

PGT104 Digital Electronics. PGT104 Digital Electronics

CS221: Digital Design. Dr. A. Sahu. Indian Institute of Technology Guwahati

Synchronous 4 Bit Counters; Binary, Direct Reset

In data sheets and application notes which still contain NXP or Philips Semiconductors references, use the references to Nexperia, as shown below.

UNIT 8A Computer Circuitry: Layers of Abstraction. Boolean Logic & Truth Tables

COEN 312 DIGITAL SYSTEMS DESIGN - LECTURE NOTES Concordia University

S.Y. Diploma : Sem. III [CO/CM/IF/CD/CW] Digital Techniques

Sequential Logic. Rab Nawaz Khan Jadoon DCS. Lecturer COMSATS Lahore Pakistan. Department of Computer Science

Chapter 7. Sequential Circuits Registers, Counters, RAM

NTE74HC299 Integrated Circuit TTL High Speed CMOS, 8 Bit Universal Shift Register with 3 State Output

CMSC 313 Lecture 25 Registers Memory Organization DRAM

PAST EXAM PAPER & MEMO N3 ABOUT THE QUESTION PAPERS:

INTEGRATED CIRCUITS. For a complete data sheet, please also download:

Arithme(c logic units and memory

Chapter #7: Sequential Logic Case Studies Contemporary Logic Design

INTEGRATED CIRCUITS. For a complete data sheet, please also download:

Digital Electronics Circuits 2017


Philadelphia University Student Name: Student Number:

Experiment 9 Sequential Circuits

onlinecomponents.com

Chapter 9. Counters and Shift Registers. Counters and Shift Registers

INTEGRATED CIRCUITS. For a complete data sheet, please also download:

INTEGRATED CIRCUITS. For a complete data sheet, please also download:

ECEN 248: INTRODUCTION TO DIGITAL SYSTEMS DESIGN. Week 9 Dr. Srinivas Shakkottai Dept. of Electrical and Computer Engineering

Latches. October 13, 2003 Latches 1

Adders allow computers to add numbers 2-bit ripple-carry adder

INTEGRATED CIRCUITS. For a complete data sheet, please also download:

ECEN 248: INTRODUCTION TO DIGITAL SYSTEMS DESIGN. Week 7 Dr. Srinivas Shakkottai Dept. of Electrical and Computer Engineering

Lab 3 Revisited. Zener diodes IAP 2008 Lecture 4 1

Layout of 7400-series Chips Commonly Used in. CDA 3101: Introduction to Computer Hardware and Organization

EECS150 - Digital Design Lecture 11 - Shifters & Counters. Register Summary

Computers also need devices capable of Storing data and information Performing mathematical operations on such data

Chapter 7 Sequential Logic

Lecture 13: Sequential Circuits, FSM

Shift Register Counters

INTEGRATED CIRCUITS. For a complete data sheet, please also download:

ALU, Latches and Flip-Flops

MAHALAKSHMI ENGINEERING COLLEGE TIRUCHIRAPALLI

EECS Components and Design Techniques for Digital Systems. FSMs 9/11/2007

ELCT201: DIGITAL LOGIC DESIGN

10/12/2016. An FSM with No Inputs Moves from State to State. ECE 120: Introduction to Computing. Eventually, the States Form a Loop

Preparation of Examination Questions and Exercises: Solutions

EE 209 Spiral 1 Exam Solutions Name:

74F194 4-Bit Bidirectional Universal Shift Register

Reg. No. Question Paper Code : B.E./B.Tech. DEGREE EXAMINATION, NOVEMBER/DECEMBER Second Semester. Computer Science and Engineering

Analysis of clocked sequential networks

Chapter 5 Synchronous Sequential Logic

Chapter 6. Synchronous Sequential Circuits

Boolean Algebra and Digital Logic 2009, University of Colombo School of Computing

DE58/DC58 LOGIC DESIGN DEC 2014

課程名稱 : 數位邏輯設計 P-1/ /6/11

CHW 261: Logic Design

Stop Watch (System Controller Approach)

Lecture 10: Synchronous Sequential Circuits Design

CSE140: Components and Design Techniques for Digital Systems. Midterm Information. Instructor: Mohsen Imani. Sources: TSR, Katz, Boriello & Vahid

Q: Examine the relationship between X and the Next state. How would you describe this circuit? A: An inverter which is synched with a clock signal.

University of Florida EEL 3701 Summer 2015 Dr. Eric. M. Schwartz Department of Electrical & Computer Engineering Tuesday, 30 June 2015

MOSIS REPORT. Spring MOSIS Report 1. MOSIS Report 2. MOSIS Report 3

Digital Fundamentals

SIR C.R.REDDY COLLEGE OF ENGINEERING ELURU DIGITAL INTEGRATED CIRCUITS (DIC) LABORATORY MANUAL III / IV B.E. (ECE) : I - SEMESTER

Sequential vs. Combinational

EECS150 - Digital Design Lecture 18 - Counters

EECS150 - Digital Design Lecture 18 - Counters

ELEC Digital Logic Circuits Fall 2014 Sequential Circuits (Chapter 6) Finite State Machines (Ch. 7-10)

Review: Designing with FSM. EECS Components and Design Techniques for Digital Systems. Lec09 Counters Outline.

MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION (Autonomous) (ISO/IEC Certified)

on candidate s understanding. 7) For programming language papers, credit may be given to any other program based on equivalent concept.

MAHALAKSHMI ENGINEERING COLLEGE TIRUCHIRAPALLI

Binary addition by hand. Adding two bits

Chapter 6 Flip-Flops, and Registers

Review for Final Exam

ELCT201: DIGITAL LOGIC DESIGN

ELEN Electronique numérique

ECE/Comp Sci 352 Digital Systems Fundamentals. Charles R. Kime Section 2 Fall Logic and Computer Design Fundamentals

Digital Logic Design - Chapter 4

Digital Logic Appendix A

Sample Test Paper - I

EECS150 - Digital Design Lecture 17 - Sequential Circuits 3 (Counters)

EECS150 - Digital Design Lecture 25 Shifters and Counters. Recap

Fundamentals of Computer Systems

Basic Computer Organization and Design Part 3/3

Transcription:

Menu Registers >Storage Registers >Shift Registers More LSI Components >Arithmetic-Logic Units (ALUs) > Carry-Look-Ahead Circuitry (skip this) Asynchronous versus Synchronous Look into my... 1 Excitation Tables (Bonus Slide) Q + =D Q + =TQ' + T'Q Q + =S + R' Q Q + =J Q' + K' Q 2 1

Registers D O A Storage Register n n A collection of FFs designed See also Lam Fig to work as a unit (in parallel). CLR 5.24 (on next Commercially available models several pages), 74 273, 74 378, 74 163 Mano Fig 5.1 A register is a device that conceptually performs the functions: LOAD, READ, DO NOTHING, DISABLE n We can think of them as a bank of n D-FFs. D Q n LOAD Q Do not use this!!! A gated-clock n n n READ 3 Lam Fig 5.24 8-bit Storage Register with Master Reset (74 273) 4 2

8-bit Storage Register / Tri-State Buffer (74 373) OE LE D i Q + i L 0 - Q i L 1 0 0 L 1 1 1 H - - Z 5 8-bit Storage Register / Tri-State Buffer (74 573) OE LE D i Q + i L 0 - Q i L 1 0 0 L 1 1 1 H - - Z 6 3

Octal 3-State Noninverting Flip-Flop with Output Enable (74 574) 7 Lam Fig 5.24 6-bit Storage Register with Enable (74 378) 8 4

Lam Fig 5.24 4-bit Storage Register Using a Counter (74 163) 9 Arithmetic-Logic Units (ALU s) ALU s are at the heart of CPU s - They are the combinational circuit elements that perform common functions: A set of logical functions & a set of arithmetic functions. See Lam Fig 6.1 (on next page), Mano Section 7.7 [Example] Let a computer instruction to complement the A register be COMA. The instruction COMA must do the following 3 things: (a) Connect the output of the A register to the A input of the ALU. (b) Present the ALU with control signals: M = H, S 0 = L, S 1 = L, S 2 = L, and S 3 = L. (c) Wait an appropriate delay and connect the output of the ALU (F 3 -F 0 ) to the input of the A register to reload the A register. 10 5

Lam Fig 6.1 ALU (74 181) Active-High View 11 Lam Fig 6.1 ALU (74 181) Active-Low View 12 6

Arithmetic-Logic Units (ALU s) ALU s are at the heart of CPU s - They are the combinational circuit elements that perform common functions: A set of logical functions & a set of arithmetic functions. See Lam Fig 6.1 (on previous page), Mano Section 7.7 [Example] Let a computer instruction to complement the A register be COMA. The instruction COMA must do the following 3 things: (a) Connect the output of the A register to the A input of the ALU. (b) Present the ALU with control signals: M = H, S 0 = L, S 1 = L, S 2 = L, and S 3 = L. (c) Wait an appropriate delay and connect the output of the ALU (F 3 -F 0 ) to the input of the A register to reload the A register. 13 Register Application Application: inside computers (CPU s), the ALU (Arithmetic Logic Unit) performs, say, 4-bit addition. Command Bits S 0 S 1 S 2 e.g., To ADD, say Set S 0 S 1 S 2 to 010 4 4 3 0 3 0 R1 R2 4 4 Result Reg. 4 BIT ALU 4 3 0 C0 4 1 bit register Carry FF C out BUS 14 7

Shift Registers MSB LSB 3 0? 1? 2 There are two types & two directions of shift : > logical vs. arithmetic > left vs. right LEFT SHIFT? 2? 1 RIGHT SHIFT Shift Right Shift Left? 1? 2 Logical:?1 = lost,?2 = 0?1 = 0,?2 = lost Arithmetic:?1 = carry,?2 = 0?1 = MSB,?2 = lost or placed in a FF 15 More Shift Registers? 1 LEFT SHIFT If we let?2 =?1 on a Left Shift or?1 =?2 on a Right Shift, we get a Circular Shift or a Rotate Shift. Some computers (CPU s) use the Carry FF as an agent in their SHIFT operations. Especially in those that have Rotates, a copy of the last bit that participated in the shift is copied into the Carry 1-bit Register (i.e., the Carry FF). Conceptually, Shift Registers perform: Serial Loads, Parallel Loads, Shift Lefts, Shift Rights, Parallel Reads, Serial Reads, Clears, etc. Show Lam Fig 5.26-5.27, Mano Fig 5.3-5.4 (on next pages)? 2? 1 RIGHT SHIFT? 2 16 8

Serial-to-Parallel: Realization of 4-bit Shift Register with D-FF s Lam Fig 5.26 17 N-bit Storage Register Make an N-bit storage register using N D-FFs & N 2-input MUXs > Load determines if loading occurs on next clock edge > For each of the i-bits, use one of the below S(L) D i (H) Q i (H) 0 1 Load(H) D S Q R R(L) Q i (H) S(L) D i (H) D Load(H) S Q LD Q i (H) R R(L) Functional Block Diagram 18 9

Serial-to-Parallel & Parallel-to- Serial: Bi-directional Universal Shift Register (74 194) Lam Fig 5.27 (Can simulate this with Quartus) 19 Shifting with MUXs Make an N-bit shift register using N D-FFs & N 2-input MUXs > Shift determines if shifting occurs on next clock edge > Example: Shift left (ShL) Shift lefts elements are identical (except for bit 0), i=1,, n-1 Q i 0 D i D i D Q Q i 1 Q i-1 ShL Bit 0 is slightly different Q 0 0 Gnd 1 ShL D 0 R CLR D 0 D Q Q 0 R CLR 20 10

D i Async MR Q i t a t b t c t apd t bpd D i Async MR Q i t a t b t c Sync vs Async: Async Reset t a initiate sync load of D i t apd complete load of D i after t PD t b initiate async reset of Q i t bpd complete async reset of D i after t PD t c NO sync load of D i MR t a initiate sync load of D i t apd complete load of D i after t PD t b initiate async reset of Q i t bpd complete async reset of D i after t PD t c initiate sync load of D i t cpd complete load of D i after t PD D Q t apd t bpd t cpd 21 D i Sync MR Q i D i Sync MR Q i t a t b t apd t bpd t a t b t apd t x t c t cpd t c t cpd Sync vs Async: Sync Reset t a initiate sync load of D i t apd complete load of D i after t PD t b sync reset is applied (but ignored) t c initiate sync reset t cpd complete sync reset after t PD D Q MR t a initiate sync load of D i t apd complete load of D i after t PD t b sync reset is applied (but ignored) t x sync reset is removed (no effect) t c initiate sync load of D i t cpd complete load of D i after t PD 22 11

The End! 23 12