7-5 Microoperation An elementary operations performed on data stored in registers or in memory. Transfer Arithmetic Logic: perform bit manipulation on.

Slides:



Advertisements
Similar presentations
Register Transfer and Microoperations Part2
Advertisements

Machine cycle.
Computer Architecture CS 215
CPEN Digital System Design
KU College of Engineering Elec 204: Digital Systems Design
REGISTER TRANSFER LANGUAGE (RTL)
– © Yohai Devir 2007 Technion - IIT Tutorial #10 MIPS commands.
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
1 Register Transfer &  -operations Computer Organization Computer Architectures Lab REGISTER TRANSFER AND MICROOPERATIONS Register Transfer Language Register.
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.
Charles Kime & Thomas Kaminski © 2004 Pearson Education, Inc. Terms of Use (Hyperlinks are active in View Show mode) Terms of Use Chapter 7 – Registers.
Chapter 7. Register Transfer and Computer Operations
Chapter 2.2 Machine Language.
1 SPIRIT Silicon Prairie Initiative on Robotics in Information Technology MicroprocessorsMicrocomputers &Microcontrollers.
Chapter 7 – Registers and Register Transfers Part 1 – Registers, Microoperations and Implementations Logic and Computer Design Fundamentals.
Digital 2 : EKT 221. Today’s Outline RTL Arithmetic Operations Conditional Register Transfer RTL Logical Operations RTL Shift Operations.
MICRO OPERATIONS Department of Computer Engineering, M.S.P.V.L. Polytechnic College, Pavoorchatram.
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.
Computer Design Basics
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 LANGUAGE MICROOPERATIONS. TODAY OUTLINES Logic Microoperations Shift Microoperations.
REGISTER TRANSFER & MICROOPERATIONS By Sohaib. Digital System Overview  Each module is built from digital components  Registers  Decoders  Arithmetic.
Microprogrammed Control Unit Control Memory Sequencing Microinstructions Microprogram Example Design of Control Unit Microinstruction Format.
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.
Computer Architecture Souad MEDDEB
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.
E X C E E D I N G E X P E C T A T I O N S L3-CPU IS 4490 N-Tier Client/Server Architectures Dr. Hoganson Kennesaw State University Layer 3 - CPU CPU has.
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)
Lecture 5: Register Transfer & Micro-OpsOverview1.
Chapter 4 Register Transfer and Microoperations Dr. Bernard Chen Ph.D. University of Central Arkansas Spring 2010.
Digital Computer Concept and Practice Copyright ©2012 by Jaejin Lee Datapath.
Chapter 2 Data Manipulation © 2007 Pearson Addison-Wesley. All rights reserved.
REGISTER TRANSFER & MICROOPERATIONS By Sohaib. Digital System Overview  Each module is built from digital components  Registers  Decoders  Arithmetic.
1 REGISTER TRANSFER & MICROOPERATIONS. 2 OUTLINES Register Transfer Language Register Transfer Bus and Memory Transfers Arithmetic Microoperations Logic.
REGISTER TRANSFER AND MICROOPERATIONS
REGISTER TRANSFER AND MICROOPERATIONS
Chapter 4 Register Transfer and Microoperations
Computer Design Basics
Chap 7. Register Transfers and Datapaths
Processor Instructions set. Learning Objectives
KU College of Engineering Elec 204: Digital Systems Design
Overview Register Transfer Language Register Transfer
REGISTER TRANSFER LANGUAGE AND DESIGN OF CONTROL UNIT
Computer Organization and Design
Control Unit.
Computer Organization and Design
CS/COE0447 Computer Organization & Assembly Language
Chapter 14 Bitwise Operators Objectives
REGISTER TRANSFER LANGUAGE
Computer Architecture and Design Lecture 6
The University of Adelaide, School of Computer Science
Computer Organization and Design
Overview Part 1 - Registers, Microoperations and Implementations
Datapath.
Overview Part 1 - Registers, Microoperations and Implementations
Computer Design Basics
Reference Chapter 7 Moris Mano 4th Edition
CHAPTER-3 REGISTER TRANSFER LANGUAGE AND MICROOPERATIONS
Introduction to the ARM Instruction Set. Data Processing Instructions Move Instructions Syntax: { }{S} Rd, N.
Bit Manipulations CS212.
Presentation transcript:

7-5 Microoperation An elementary operations performed on data stored in registers or in memory. Transfer Arithmetic Logic: perform bit manipulation on data in register Bitwise AND, Bitwise OR …. Shift

Arithmetic Microoperations

The control variable X selects the operation, and the control variable K1 loads the result in to R1. Fig. 7.6 Implementation

Logic Microoperations manipulate the bits stored in a register consider each bit in register separately

Logic Microoperations Mask: allow us to deal with some specific bits R1: (data) R2: (mask) <= R1 ←R1^R2

Logic Microoperations R1: (data) R2: (mask) <= R1 ←R1ˇR2 R1: (data) R2: (mask) <= R1 ←R1 R2

Shift Microoperations shift left/shift right incoming bit/outgoing bit

7-6 Microoperation on A single Register Multiplexer-based transfer if (K1=1) then (R0 ← R1 ) else if (K2=1) then (R0 ← R2 ) K1: R0 ← R1, R0 ← R2

Multiplexer-based transfer

Generalization of Multiplexer selection for n sources

Shift Registers Serial input (SI) Serial output (SO)

Shift Register with parallel load

Shift Register with Parallel Load

Bidirectional Shift Register One stage diagram

Bidirectional Shift Register

Ripple counter Structure similar to ripple adder

Synchronous Binary Counter -Serial gating

Synchronous Binary Counter -Parallel gating Only one AND gate delay Four AND gates delay

Up-Down Binary Counter Homework #1 Prove it and draw the logic diagram S=0 up counter S=1 down counter

Binary counter with parallel load Fig It is a case of the up-down counter in the previous slide. (why? what case?)

BCD counter A divide-by-N counter (modulo-N counter) is a counter goes through a repeated sequence of N states Fig. 7-15

Another BCD counter

Modulo 6 counter

Homework #2 Problem 7-15 with modified sequence 0,3,2,1,5,4,7 Run the simulation for the designed circuit by using Quartus II Deal with the unused state as don’t care Test the circuit when the unused state occurs (on paper)