1 Chapter Four Register Transfer and Micro operations.

Slides:



Advertisements
Similar presentations
Computer Architecture CS 215
Advertisements

CPEN Digital System Design
KU College of Engineering Elec 204: Digital Systems Design
Princess Sumaya University
REGISTER TRANSFER LANGUAGE (RTL)
Chapter 4 Register Transfer and Microoperations
Princess Sumaya Univ. Computer Engineering Dept. د. بســام كحـالــه Dr. Bassam Kahhaleh.
Chapter 7 Henry Hexmoor Registers and RTL
Princess Sumaya University
ARITHMETIC LOGIC SHIFT UNIT
1 Register Transfer &  -operations Computer Organization Computer Architectures Lab REGISTER TRANSFER AND MICROOPERATIONS Register Transfer Language Register.
8085 processor. Bus system in microprocessor.
Charles Kime & Thomas Kaminski © 2004 Pearson Education, Inc. Terms of Use (Hyperlinks are active in View Show mode) Terms of Use Chapter 7 – Registers.
1 Chapter 4 Combinational and Sequential Circuit.
Chapter 7. Register Transfer and Computer Operations
Cpe 252: Computer Organization1 Lo’ai Tawalbeh Lecture #4 Register Transfer and Microoperations 23/2/2006 Chapter 4:
Chapter 7 - Part 2 1 CPEN Digital System Design Chapter 7 – Registers and Register Transfers Part 2 – Counters, Register Cells, Buses, & Serial Operations.
Combinational Logic1 DIGITAL LOGIC DESIGN by Dr. Fenghui Yao Tennessee State University Department of Computer Science Nashville, TN.
Logic and Computer Design Dr. Sanjay P. Ahuja, Ph.D. FIS Distinguished Professor of CIS ( ) School of Computing, UNF.
Part 2: DESIGN CIRCUIT. LOGIC CIRCUIT DESIGN x y z F F = x + y’z x y z F Truth Table Boolean Function.
Chapter 4 Register Transfer and Microoperations
Adders, subtractors, ALUs
Computer System Configuration and Function Computer Architecture and Design Lecture 6.
Review We have introduced registers previously.
MICRO OPERATIONS Department of Computer Engineering, M.S.P.V.L. Polytechnic College, Pavoorchatram.
Digital Computer Concept and Practice Copyright ©2012 by Jaejin Lee Logic Circuits I.
Unit I Digital computer: functional units and their interconnections Mr. Mukul Varshney.
CSC321 Where We’ve Been Binary representations Boolean logic Logic gates – combinational circuits Flip-flops – sequential circuits Complex gates – modules.
Chapter 4 Register Transfer and Micro -operations
REGISTER TRANSFER AND MICROOPERATIONS
Eng. Mohammed Timraz Electronics & Communication Engineer University of Palestine Faculty of Engineering and Urban planning Software Engineering Department.
1 Microprocessor-based systems Course 2 General structure of a computer.
Computer System Architecture © Korea Univ. of Tech. & Edu. Dept. of Info. & Comm. Chap. 4 Register Transfer and Microoperations 4-1 Chap. 4 Register Transfer.
Chap 7. Register Transfers and Datapaths. 7.1 Datapaths and Operations Two types of modules of digital systems –Datapath perform data-processing operations.
REGISTER TRANSFER & MICROOPERATIONS By Sohaib. Digital System Overview  Each module is built from digital components  Registers  Decoders  Arithmetic.
Micro Operation. MICROOPERATIONS Computer system microoperations are of four types: - Register transfer microoperations - Arithmetic microoperations -
Charles Kime & Thomas Kaminski © 2008 Pearson Education, Inc. (Hyperlinks are active in View Show mode) Chapter 7 – Registers and Register Transfers Part.
ARITHMETIC MICRO OPERATIONS
Charles Kime & Thomas Kaminski © 2004 Pearson Education, Inc. Terms of Use (Hyperlinks are active in View Show mode) Terms of Use ECE/CS 352: Digital Systems.
1 Outline Bus Transfer Memory Transfer Microoperations.
1 Chapter 7 Henry Hexmoor Registers and RTL. REGISTER TRANSFER AND MICROOPERATIONS Register Transfer Language Register Transfer Bus and Memory Transfers.
Register Transfer Languages (RTL)
CSC321 Homework Due Due Tuesday after spring break Turn in –Design information State diagram State table K-map simplifications and expressions for flip-flop.
Chapter 4 Register Transfer and Microoperations Dr. Bernard Chen Ph.D. University of Central Arkansas Spring 2010.
Exam1 Review Dr. Bernard Chen Ph.D. University of Central Arkansas.
REGISTER TRANSFER & MICROOPERATIONS By Sohaib. Digital System Overview  Each module is built from digital components  Registers  Decoders  Arithmetic.
ECEG-3202: Computer Architecture and Organization, Dept of ECE, AAU 1 Register Transfer & Microoperations.
ECE 3110: Introduction to Digital Systems Chapter 5 Combinational Logic Design Practices Adders,subtractors, ALUs.
1 Register Transfer and Microoperations Acknowledgment: Most of the slides are adapted from Prof. Hyunsoo Yoon’s slides.
1 REGISTER TRANSFER & MICROOPERATIONS. 2 OUTLINES Register Transfer Language Register Transfer Bus and Memory Transfers Arithmetic Microoperations Logic.
REGISTER TRANSFER AND MICROOPERATIONS
Overview Register Transfer Language Register Transfer
REGISTER TRANSFER AND MICROOPERATIONS
Chapter 4 Register Transfer and Microoperations
Chap 7. Register Transfers and Datapaths
KU College of Engineering Elec 204: Digital Systems Design
Computer System Architecture
Overview Register Transfer Language Register Transfer
Register Transfer and Microoperations
REGISTER TRANSFER LANGUAGE AND DESIGN OF CONTROL UNIT
Computer Organization and Design
Control Unit.
Computer Organization and Design
به نام یگانه مهندس هستی معماری کامپیوتر مهدی قدیری
REGISTER TRANSFER LANGUAGE
Computer Organization and Design
By: A. H. Abdul Hafez CAO, by Dr. A.H. Abdul Hafez, CE Dept. HKU
Overview Part 1 - Registers, Microoperations and Implementations
CHAPTER-3 REGISTER TRANSFER LANGUAGE AND MICROOPERATIONS
Computer Architecture
Presentation transcript:

1 Chapter Four Register Transfer and Micro operations

2 Contents 4-1 Register Transfer Language 4-2 Register Transfer 4-3 Bus and Memory transfers 4-4 Arithmetic Micro operations 4-5 Logic Micro operations 4-6 Shift Micro operations 4-7 Arithmetic logic shift unit

3 Register Transfer Language The set of register it contains and their functions. The sequence of micro operations performed on the binary information stored in the register. The control that initiated the sequence of micro operations.

4 Figure 4-1 Block diagram of register R1 R PC(H) PC(L) Showing individual bitsRegister R Divide into two partsNumbering of bits

5 Figure 4-2 Transfer from R1 to R2 P: R2 R1 R2 Control circuit Load P n Clock R1

6 Figure 4-2 b Timing diagram Clock t t+1 load Transfer occurs here

7 Table 4-1 Basic symbols for register transfer SymbolDescriptionExamples Letters (and numerals) Parentheses ( ) Arrow Comma, Denotes a register Denotes a part of a register Denotes transfer of information Separates two micro operations MAR, R2 R2(0-7),R2(L) R2 R1 R2 R1, R1 R2

8 Figure 4-3 BUS AND MEMORY TRANSFER 4 – L I N E C O M M O N B U S x 1 M U X D 0 C 0 B 0 A 0 4 x 1 M U X x 1 M U X x 1 M U X D 1 C 1 B 1 A 1 D 2 C 2 B 2 A A 2 A 1 A 0 B 2 B 1 B 0 C 2 C 1 C 0 D 2 D 1 D 0 REGISTER CREGISTER AREGISTER BREGISTER D S 1 S0

9 Table 4-2 Function table for bus s1s1 s2s2 Register selected A B C D

10 Figure 4-4 Graphical symbol for Three-state Bus Buffers Normal input A Control input C Output Y=A if C=1 High-impedance if C=0

11 Figure 4-5 Bus line with three state-buffers Bus line for bit 0 A0 A0 B0 B0 C0 C0 D0 D0 Select Enable x 4 Decoder S0 E

12 Memory Transfer Read: DR M[AR] Write: M[AR] R1

13 Arithmetic Micro operations Register transfer micro operations transfer binary information from one register to another. Arithmetic micro operation performs arithmetic operations on numeric data stored in register. Logic micro operations perform bit manipulation operations on nonnumeric data stored in register. Shift micro operations perform shift operations on data stored register.

14 Table 4-3 Arithmetic Micro operation Symbolic designation Description R3 R1+ R2 R3 R1- R2 R2 R2 R2 + 1 R3  R1+ R2 + 1 R1 R1 + 1 R1 R1 - 1 Contents of R1 plus R2 transferred to R3 Contents of R1 minus R2 transferred to R3 Complement the contents of R2( 1’s complement) 2’s complement the contents of R2(negate) R1 plus the2’s complement of R2(subtraction) Increment the contents of R1 by one Decrement the contents of R1 by one

15 Figure – Bit binary adder FA A0A0 B0B0 C0C0 S0S0 S1S1 S2S2 S3S3 C4C4 A1A1 B1B1 B2B2 B3B3 A2A2 A3A3 C1C1 C2C2 C3C3

16 Figure – bit adder subtractor FA C0C0 C1C1 C2C2 C3C3 C4C4 S3S3 S2S2 S1S1 S0S0 A0A0 B0B0 A1A1 B1B1 B2B2 B3B3 A2A2 A3A3 M

17 Figure – Bit binary Incrementer HA CCCCSSSS S0S0 S1S1 S2S2 S3S3 C4C4 x y A 0 1 A1A1 A2A2 A3A3

18 S1 S S S0 Figure bit arithmetic circuit C in S0 S1 A0 B0 B1 B2 B3 Xo Co X1 C1 X2 C2 X3 C3 Do D1 D2 D3 Cout yo C1 y1 C2 y2 C3 y3 C4 01 S S0 S S0 4 x 1 MUX 4 x 1 MUX 4 x 1 MUX 4 x 1 MUX

19 Table 4-4 Arithmetic circuit function table Select S 1 S 0 C in InputOutput D = A + Y + C in Y Micro operation BBBB0011BBBB0011 D = A + B D = A + B + 1 D = A + B D = A + B + 1 D = A D = A + 1 D = A - 1 D = A Add Add with carry Subt. with borrow Subtract Transfer A Increment A Decrement A Transfer A

20 Table 4 – 5 Truth table for 16 Function of two variables x yF 0 F 1 F 2 F 3 F 4 F 5 F 6 F 7 F 8 F 9 F 10 F 11 F 12 F 13 F 14 F 15

21 TABLE 4-6 SIXTEEN LOGIC MICRO OPERATIONS Boolean function Micro operationsName F0 = 0F  0Clear F1 = xyF  A ^ BAnd F2 = xy’F  A ^ B F3 = xF  ATransfer A F4 = x’yF  A ^ B F5 = yF  BTransfer B F6 = x y F  A B Exclusive-or F7 = x + yF  A ٧ BOR F8 = (x + Y)’F  A V BNOR F9 = (x Y)’F  A BExclusive-NOR F10 = y’F  BComplement B F11 = x + y ‘F  A V B F12 = x’F  AComplement A F13 = x’ + yF  A v B F14 = (xy)’F  A ^ BNAND F15 = 1 F  all 1’s Set to all 1’s

22 Figure 4-10 One stage of logic circuit 4x1 MUX S1 S0OutputOperation E = A v B E = A ^ B E = A B E = A AND OR XOR COMPLEMENT E i S1 S0 A i B i

23 Figure bit combinational circuit shifter 0101 S S S S Mux 0101 Select S Output H0H0 H0H0 H1H1 H2H2 H3H3 H1H1 H2H2 H3H3 IRA1IRA1 A0A2A0A2 A1A3A1A3 A2IlA2Il Ao A1 A3 A4 Serial input (IL) Serial input (IR) Select 0 for shift right 1 for shift left

24 Figure 4-13 One stage of arithmetic logic shift unit Select DiDi EiEi shr shl A i -1 A i+1 AiAi BiBi CiCi C i +1 S0 S1 S2 S3 One stage of logic circuit One stage of arithmetic circuit F i 4 x 1 MUX

25 Operation Select S0S0 S1S1 S2S2 S3S3 C in OperationFunction xx xx xx xx xxxxxx xxxxxx F = A F = A + 1 F = A + B F = A + B +1 F = A + B F = A + B + 1 F = A -1 F = A F = A ^ B F = A v B F = A B F = A F = shr A R = shl A Transfer A Increment A Addition Add with carry Subtract with borrow Subtraction Decrement A Transfer A AND OR XOR Complement A Shift right A into F Shift left A into F Table 4-8 Function table for arithmetic logic shift unit