EKT 221 : Digital 2 Serial Transfers & Microoperations

Slides:



Advertisements
Similar presentations
1 Register Transfer &  -operations Computer Organization Computer Architectures Lab REGISTER TRANSFER AND MICROOPERATIONS Register Transfer Language Register.
Advertisements

8085 processor. Bus system in microprocessor.
Chapter 9 Computer Design Basics. 9-2 Datapaths Reminding A digital system (or a simple computer) contains datapath unit and control unit. Datapath: A.
Chapter 7 - Part 2 1 CPEN Digital System Design Chapter 7 – Registers and Register Transfers Part 2 – Counters, Register Cells, Buses, & Serial Operations.
ENGIN112 L26: Shift Registers November 3, 2003 ENGIN 112 Intro to Electrical and Computer Engineering Lecture 26 Shift Registers.
Chapter 5 Arithmetic Logic Functions. Page 2 This Chapter..  We will be looking at multi-valued arithmetic and logic functions  Bitwise AND, OR, EXOR,
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.
REGISTER A Register is a group of binary storage cells suitable for holding binary information. A group of flip-flops constitutes a register, since each.
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.
Rabie A. Ramadan Lecture 3
Conversion and Coding (12) 10. Conversion and Coding (12) Conversion.
EKT 221/4 DIGITAL ELECTRONICS II  Registers, Micro-operations and Implementations - Part3.
Important Components, Blocks and Methodologies. To remember 1.EXORS 2.Counters and Generalized Counters 3.State Machines (Moore, Mealy, Rabin-Scott) 4.Controllers.
Chap 7. Register Transfers and Datapaths. 7.1 Datapaths and Operations Two types of modules of digital systems –Datapath perform data-processing operations.
7-6 단일 레지스터에서 Microoperation Multiplexer-Based Transfer  Register 가 서로 다른 시간에 둘 이상의 source 에서 data 를 받을 경우 If (K1=1) then (R0 ←R1) else if (K2=1) then.
1 Registers & Counters Logic and Digital System Design - CS 303 Erkay Savaş Sabancı University.
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.
Abdullah Said Alkalbani University of Buraimi
ARITHMETIC MICRO OPERATIONS
DIGITAL 2 : EKT 221 RTL : Microoperations on a Single Register
EKT 221 : Chapter 4 Computer Design Basics
CHAPTER 6 Sequential Circuits’ Analysis CHAPTER 6 Sequential Circuits’ Analysis Sichuan University Software College.
Registers and Counters
EKT 221 : Digital 2 Serial Transfers & Microoperations Date : Lecture : 2 hr.
Register Transfer Languages (RTL)
ECEN 248: INTRODUCTION TO DIGITAL SYSTEMS DESIGN Dr. Shi Dept. of Electrical and Computer Engineering.
Topic: N-Bit parallel and Serial adder
5.3 Sequential Circuits - An Introduction to Informatics WMN Lab. Hey-Jin Lee.
REGISTER TRANSFER AND MICROOPERATIONS
SERIAL MULTIPLIER Part 1
EKT 221 : DIGITAL 2.
Combinational Circuits
CHAPTER 18 Circuits for Arithmetic Operations
Somet things you should know about digital arithmetic:
REGISTER TRANSFER LANGUAGE (RTL)
REGISTER TRANSFER AND MICROOPERATIONS
ELECTRONICS AND COMMUNICATION ENGINEERING
Computer Design Basics
Digital Decode & Correction Logic
Chap 7. Register Transfers and Datapaths
EKT 221 : Digital 2 Serial Transfers & Microoperations
Prof. Hsien-Hsin Sean Lee
DIGITAL 2 : EKT 221 RTL : Microoperations on a Single Register
Basics of digital systems
Register Transfer and Microoperations
Lecture 16 Arithmetic Circuits
Multipliers Multipliers play an important role in today’s digital signal processing and various other applications. The common multiplication method is.
Summary Half-Adder Basic rules of binary addition are performed by a half adder, which has two binary inputs (A and B) and two binary outputs (Carry out.
Digital Systems Section 14 Registers. Digital Systems Section 14 Registers.
Digital System Design Review.
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.
Computer Organization and Design
CSE Winter 2001 – Arithmetic Unit - 1
Arithmetic Circuits (Part I) Randy H
ECEN 248: INTRODUCTION TO DIGITAL SYSTEMS DESIGN
Number Systems and Circuits for Addition
Chapter 1_5 register Cell Design
By: A. H. Abdul Hafez CAO, by Dr. A.H. Abdul Hafez, CE Dept. HKU
FIGURE 1: SERIAL ADDER BLOCK DIAGRAM
Computer Design Basics
Combinational Circuits
Switching Theory and Logic Design Chapter 5:
Digital Logic Department of CNET Chapter-6
Digital Logic Department of CNET Chapter-6
ECE 352 Digital System Fundamentals
CHAPTER 18 Circuits for Arithmetic Operations
CHAPTER-3 REGISTER TRANSFER LANGUAGE AND MICROOPERATIONS
ECE 352 Digital System Fundamentals
Instruction execution and ALU
Presentation transcript:

EKT 221 : Digital 2 Serial Transfers & Microoperations Date : 4 September 2007

Serial Transfers & Microoperations Used for “narrow” transfer paths Example : Telephone or cable line Parallel – to – Serial : at source Serial – to – Parallel : at destination Serial micro-operations Example 1 : Addition Example 2 : Error – Correction for CDs Parallel  Serial Serial  Parallel Source Destination

Serial Transfers Serial mode  info is transferred / manipulated one bit at a time Serial transfer from RA to RB is done with shift registers

Serial Transfers Serial output (SO) of A connected with serial input (SI) of B SI of A receives 0’s Data from A transferred to B Initial content of B shifted out to SO of B and lost

Serial Transfers To maintain the data in A, connect SO of A to its SI

Serial Transfers Shift  determine when & how many times the registers are shifted Clock pulse (Clock) can pass to C only when Shift is HIGH (1)

Serial Transfers

Serial Micro-operations Serial addition is a low cost way to add large numbers of operands, since a “tree” of full adder cells can be made to any depth. Other operations can be performed serially as well, such as parity generation / checking or more complex error – check codes. Shifting a binary number left = multiplying by 2 E.g sl 0100  1000 Shifting a binary number right = dividing by 2 E.g sr 0100  0010

Serial Adder The circuit shown uses 2 shift registers for operands B (3:0) A full adder, and one more FF (for carry) is used to compute the sum Result stored in A register and final carry in FF

Serial Adder SI of B can receive new inputs In each clock pulse / cycle : New sum bit is transferred to A New carry transferred to FF Both registers shifted once to the right Process cont. until Shift = 0

Analyzing the circuit : Serial Adder B3 B2 B1 B0 SUM (A+B) + Cin Cout Cin T0 1 T1 T2 T3 T4 Example 1: Reg A : 1000 Reg B : 0101

Analyzing the circuit : Serial Adder B3 B2 B1 B0 SUM (A+B) + Cin Cout Cin T0 1 T1 T2 T3 T4 ANSWER : 1101, after 4 clock cycle

Analyzing the circuit : Serial Adder B3 B2 B1 B0 SUM (A+B) + Cin Cout Cin T0 1 T1 T2 T3 T4 Example 2: Reg A : 1011 Reg B : 0101

Analyzing the circuit : Serial Adder B3 B2 B1 B0 SUM (A+B) + Cin Cout Cin T0 1 T1 T2 T3 T4 1 is indicated in Cout ANSWER : 10000, after 4 clock cycle

Parallel Adder Reg A Sin Sout A0 A1 A2 A3 FA A0 B0 Cin A1 B1 A2 B2 A3 Cout S0 S1 S2 S3 Can be the input for Reg A Reg B Sin Sout B0 B1 B2 B3

Serial Vs Parallel Transfers Space Vs Time Trade-off Serial adder is a seq. cct because it includes the carry from FF. but need n clock cycle to complete the addition (Less Space, more Time) Parallel adder is a comb. cct because it needs n FA for n bit operation. Need only one clock cycle to complete the addition. (More Space, less Time) Gives the designer choice. More Space – More cost More Time – More delay (not fast)

Thank You