M. Mateen Yaqoob The University of Lahore Spring 2014.

Slides:



Advertisements
Similar presentations
Lecture 23: Registers and Counters (2)
Advertisements

Chapter 4 Register Transfer and Microoperations
Princess Sumaya Univ. Computer Engineering Dept. د. بســام كحـالــه Dr. Bassam Kahhaleh.
Princess Sumaya University
M. Mateen Yaqoob The University of Lahore Spring 2014.
ARITHMETIC LOGIC SHIFT UNIT
8085 processor. Bus system in microprocessor.
ECE 331 – Digital System Design Flip-Flops and Registers (Lecture #18) The slides included herein were taken from the materials accompanying Fundamentals.
Dr Masri Ayob TK 2633: Microprocessor & Interfacing Lecture 5: Arithmetic and Logic Instructions.
1 Introduction Chapters 2 & 3: Introduced increasingly complex digital building blocks –Gates, multiplexors, decoders, basic registers, and controllers.
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.
Mantıksal Tasarım – BBM231 M. Önder Efe
Registers and Counters
Unit 12 Registers and Counters Ku-Yaw Chang Assistant Professor, Department of Computer Science and Information Engineering Da-Yeh.
Registers and Counters
Chapter 1_4 Part II Counters
Chapter 4 Register Transfer and Microoperations
Dr. Bernard Chen Ph.D. University of Central Arkansas Spring 2009
Registers and Counters
CHAPTER 12 REGISTERS AND COUNTERS
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
ADDERS Half Adders Recall that the basic rules of binary addition are as indicated below in Table 2-9. A circuit known as the half-adder carries out these.
Chapter 4 Register Transfer and Micro -operations
1 DIGITAL ELECTRONICS. 2 OVERVIEW –electronic circuits capable of carrying out logical (boolean) and arithmetic operations on information stored as binary.
Module 9.  Digital logic circuits can be categorized based on the nature of their inputs either: Combinational logic circuit It consists of logic gates.
Exam2 Review Dr. Bernard Chen Ph.D. University of Central Arkansas Spring 2009.
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.
Registers and Counters Chapter 6. Digital Circuits 2 Clocked sequential circuits a group of flip-flops and combinational gates connected to form a feedback.
Chap 5. Registers and Counters. Chap Definition of Register and Counter l a clocked sequential circuit o consist of a group of flip-flops & combinational.
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.
REGISTER TRANSFER & MICROOPERATIONS By Sohaib. Digital System Overview  Each module is built from digital components  Registers  Decoders  Arithmetic.
M. Mateen Yaqoob The University of Lahore Spring 2014.
Lec 5 Basic Computer Organization
Arithmetic Circuits. Half Adder ABSumCarry
ARITHMETIC MICRO OPERATIONS
1 Ethics of Computing MONT 113G, Spring 2012 Session 5 Binary Addition.
5-6 Memory Ref. Instruction
M. Mateen Yaqoob The University of Lahore Spring 2014
1 Outline Bus Transfer Memory Transfer Microoperations.
Digital Logic Structures: Chapter 3 COMP 2610 Dr. James Money COMP
Ch5. 기본 컴퓨터의 구조와 설계.
Chapter 4 Register Transfer and Microoperations Dr. Bernard Chen Ph.D. University of Central Arkansas Spring 2010.
COMMON BUS SYSTEM Registers The registers in the Basic Computer are connected using a bus This gives a savings in circuitry over complete connections between.
8085 processor.
Chap 5. Registers and Counters
DIGITAL COMPONENTS. MULTIPLEXERS A multiplexer is a combinational circuit that receives binary information from one of 2 n input data lines and directs.
ECEN 248: INTRODUCTION TO DIGITAL SYSTEMS DESIGN Dr. Shi Dept. of Electrical and Computer Engineering.
1 CHAPTER 12 REGISTERS AND COUNTERS This chapter in the book includes: Objectives Study Guide 12.1Registers and Register Transfers 12.2Shift Registers.
Chapter 5 Computer Organization TIT 304/TCS 303. Purpose of This Chapter In this chapter we introduce a basic computer and show how its operation can.
REGISTER TRANSFER AND MICROOPERATIONS
Basic Computer Organization and Design
REGISTER TRANSFER AND MICROOPERATIONS
Chapter 4 Register Transfer and Microoperations
Each I/O pin may be configured as either input or output.
Chap 7. Register Transfers and Datapaths
ADVANCED PROCESSOR ARCHITECTURE
Overview Instruction Codes Computer Registers Computer Instructions
BASIC COMPUTER ORGANIZATION AND DESIGN
Computer Organization and Design
By: A. H. Abdul Hafez CAO, by Dr. A.H. Abdul Hafez, CE Dept. HKU
Computer Architecture and Organization: L11: Design Control Lines
By: A. H. Abdul Hafez CAO, by Dr. A.H. Abdul Hafez, CE Dept. HKU
Computer Architecture and Organization: L07: Control Sequence
Instruction execution and ALU
Computer Architecture
Presentation transcript:

M. Mateen Yaqoob The University of Lahore Spring 2014

 The adder and logic circuit has three sets of inputs  One set of 16 inputs comes from the output of AC  Another set of 16 inputs comes from the data register DR  Third set of eight inputs comes from the input register INPR  The outputs of adder and logic circuit provide the data inputs for register  In addition, it is necessary to include logic gates for controlling LD, INR, and CLR in register and for controlling the operation of adder and logic circuit

 In order to design the logic associated with AC, it is necessary to go over register transfer statements and extract the statements that change the content of AC

 Gate configuration is derived from the control functions.  Control function for clear micro-operation is rB 11  Output of AND gate that generates this function is connected to the CLR input of register  Similarly output of gate that implements the increment micro-operation is connected to INR input of register  Other seven microoperations are generated in the adder and logic circuit and are loaded into AC at proper time  The output of gates for each control function is used for design of adder and logic circuit

 It can be subdivided into 16 stages, each stage corresponding to one bit of AC  Each stage has a JK flip-flop, two OR gates, and two AND gates  The load (LD) input is connected to the inputs of AND gates  When LD is enabled, the 16 inputs are transferred to AC (0-15)

 One stage of adder and logic circuit consists of seven AND gates, one OR gate and a full-adder (FA)  AND operation is achieved by ANDing AC(i) with corresponding bit in the data register DR(i)  One stage of adder uses a full-adder with the corresponding input and output carries  The transfer from INPR to AC is only for bits 0 through 7  The complement micro-operation is obtained by inverting bit value in AC  Shift-right operation transfers the bit from AC(i+1), and the shift-left operation transfers the bit from AC(i-1)  Complete adder and logic circuit consists 16 stages connected together