Digital System Design Review.

Slides:



Advertisements
Similar presentations
Abdullah Said Alkalbani University of Buraimi
Advertisements

Lecture 23: Registers and Counters (2)
Cs 1110 Ch 4-1 Combinational Logic. ° Introduction Logic circuits for digital systems may be: °2°2 combinational sequential OR A combinational circuit.
Registers and Counters
ECE 331 – Digital System Design Flip-Flops and Registers (Lecture #18) The slides included herein were taken from the materials accompanying Fundamentals.
11/16/2004EE 42 fall 2004 lecture 331 Lecture #33: Some example circuits Last lecture: –Edge triggers –Registers This lecture: –Example circuits –shift.
Chapter 7 - Part 2 1 CPEN Digital System Design Chapter 7 – Registers and Register Transfers Part 2 – Counters, Register Cells, Buses, & Serial Operations.
ENGIN112 L14: Binary Adder Subtractor October 3, 2003 ENGIN 112 Intro to Electrical and Computer Engineering Lecture 14 Binary Adders and Subtractors.
ENGIN112 L26: Shift Registers November 3, 2003 ENGIN 112 Intro to Electrical and Computer Engineering Lecture 26 Shift Registers.
C HAPTER S IX R EGISTERS AND C OUNTERS 1. A clocked sequential circuit consists of a group of flip-flops and combinational gates connected to form a feedback.
Registers and Counters
Unit 12 Registers and Counters Ku-Yaw Chang Assistant Professor, Department of Computer Science and Information Engineering Da-Yeh.
1 Sequential Circuits Registers and Counters. 2 Master Slave Flip Flops.
EE345: Introduction to Microcontrollers Register and Counters Prof. Ahmad Abu-El-Haija.
ETE Digital Electronics
Registers CPE 49 RMUTI KOTAT.
1 Registers and Counters A register consists of a group of flip-flops and gates that affect their transition. An n-bit register consists of n-bit flip-flops.
Registers and Counters
Rabie A. Ramadan Lecture 3
Using building blocks to make bigger circuits
P. 4.1 Digital Technology and Computer Fundamentals Chapter 4 Digital Components.
SEQUENTIAL CIRCUITS Component Design and Use. Register with Parallel Load  Register: Group of Flip-Flops  Ex: D Flip-Flops  Holds a Word of Data 
ECEN 248: INTRODUCTION TO DIGITAL SYSTEMS DESIGN Lecture 17 Dr. Shi Dept. of Electrical and Computer Engineering.
Digital Design Lectures 11 & 12 Shift Registers and Counters.
ENG241 Digital Design Week #8 Registers and Counters.
REGISTER A register is a group of flip-flops. Each flip- flop is capable of storing one bit of informa­ tion. An n-bit register consists of a group of.
4. Computer Maths and Logic 4.2 Boolean Logic Logic Circuits.
Abdullah Said Alkalbani University of Buraimi
ARITHMETIC MICRO OPERATIONS
1 Ethics of Computing MONT 113G, Spring 2012 Session 5 Binary Addition.
Registers and Counters
C HAPTER S IX R EGISTERS AND C OUNTERS 1. A clocked sequential circuit consists of a group of flip-flops and combinational gates connected to form a feedback.
SYEN 3330 Digital SystemsJung H. Kim 1 SYEN 3330 Digital Systems Chapter 7 – Part 2.
1 Lecture 14 Binary Adders and Subtractors. 2 Overview °Addition and subtraction of binary data is fundamental Need to determine hardware implementation.
Chap 5. Registers and Counters
ECEN 248: INTRODUCTION TO DIGITAL SYSTEMS DESIGN Dr. Shi Dept. of Electrical and Computer Engineering.
Fuw-Yi Yang1 數位系統 Digital Systems Department of Computer Science and Information Engineering, Chaoyang University of Technology 朝陽科技大學資工系 Speaker: Fuw-Yi.
CHAPTER 18 Circuits for Arithmetic Operations
Registers and Counters
EKT 221 – Counters.
Prof. Hsien-Hsin Sean Lee
EKT 221 : Digital 2 COUNTERS.
Sequential Logic Counters and Registers
SLIDES FOR CHAPTER 12 REGISTERS AND COUNTERS
DIGITAL 2 : EKT 221 RTL : Microoperations on a Single Register
Basics of digital systems
Lecture 16 Arithmetic Circuits
Reference: Moris Mano 4th Edition Chapter 4
Registers and Counters
Registers and Counters Register : A Group of Flip-Flops. N-Bit Register has N flip-flops. Each flip-flop stores 1-Bit Information. So N-Bit Register Stores.
Combinational Circuits
COE 202: Digital Logic Design Sequential Circuits Part 4
CSE Winter 2001 – Arithmetic Unit - 1
ECEN 248: INTRODUCTION TO DIGITAL SYSTEMS DESIGN
Registers and Register Transfers
FIGURE 10.1 Rectangular‐shape graphic symbols for gates
Computer Architecture and Organization: L02: Logic design Review
Number Systems and Circuits for Addition
Digital Systems Section 12 Binary Adders. Digital Systems Section 12 Binary Adders.
By: A. H. Abdul Hafez CAO, by Dr. A.H. Abdul Hafez, CE Dept. HKU
FIGURE 1: SERIAL ADDER BLOCK DIAGRAM
Switching Theory and Logic Design Chapter 5:
Digital Logic Department of CNET Chapter-6
Digital Logic Department of CNET Chapter-6
XOR Function Logic Symbol  Description  Truth Table 
CHAPTER 18 Circuits for Arithmetic Operations
Outline Registers Counters 5/11/2019.
Reference Chapter 7 Moris Mano 4th Edition
Instruction execution and ALU
Computer Architecture
Presentation transcript:

Digital System Design Review

Half Adder 1 1 +1 +1 2 10 C A B S 1 Add two binary numbers A0 , B0 -> single bit inputs S0 -> single bit sum C1 -> carry out C A B S 1 0 0 0 0 0 1 1 0 1 0 1 0 1 1 0 1 Dec Binary 1 1 +1 +1 2 10

Multiple-bit Addition Consider single-bit adder for each bit position. A3 A2 A1 A0 0 1 0 1 A 0 1 1 1 B3 B2 B1 B0 B Ai +Bi Ci Si Ci+1 0 1 0 1 0 1 1 1 A B 1 Each bit position creates a sum and carry

Full Adder Full adder made of several half adders

Full Adder A full adder can be made from Hardware repetition simplifies hardware design A full adder can be made from two half adders (plus an OR gate).

Full Adder Putting it all together Single-bit full adder Common piece of computer hardware Block Diagram

4-Bit Adder C 1 1 1 0 A 0 1 0 1 B 0 1 1 1 S 1 1 0 0

4-bit Subtractor: E = 1 +1 Add A to B’ (one’s complement) plus 1 That is, add A to two’s complement of B D = A - B

Adder- Subtractor Circuit

Register with Parallel Load Register: Group of Flip-Flops Ex: D Flip-Flops Holds a Word (Nibble) of Data Loads in Parallel on Clock Transition Asynchronous Clear (Reset)

Register with Load Control New data loaded on next positive clock edge Load Control = 0 Old data reloaded on next positive clock edge

Shift Registers Cascade chain of Flip-Flops Bits travel on Clock edges Serial in – Serial out, can also have parallel load / read

Serial Transfer Data transfer one bit at a time Data loopback for register A Time T0 T1 T2 T3 T4 Reg A 1011 1101 1110 0111 Reg B 0011 1001 1100 0110 1011

Serial Addition (D Flip-Flop)

Universal Shift Register Clear Clock Shift Right Left Load Read Control

Binary Ripple Counter