EKT 221 : Digital 2 MUX-based Transfer

Slides:



Advertisements
Similar presentations
Computer Organization, Bus Structure
Advertisements

Part 4: combinational devices
1 A latch is a pair of cross-coupled inverters –They can be NAND or NOR gates as shown –Consider their behavior (each step is one gate delay in time) –From.
Computer Architecture CS 215
CPEN Digital System Design
KU College of Engineering Elec 204: Digital Systems Design
Digital System Design Using Verilog
Princess Sumaya University
Encoders Three-state devices Multiplexers
Control path Recall that the control path is the physical entity in a processor which: fetches instructions, fetches operands, decodes instructions, schedules.
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.
Charles Kime & Thomas Kaminski © 2004 Pearson Education, Inc. Terms of Use (Hyperlinks are active in View Show mode) Terms of Use Chapter 7 – Registers.
Register Cell Design.
ECE 331 – Digital System Design Flip-Flops and Registers (Lecture #18) The slides included herein were taken from the materials accompanying Fundamentals.
Chapter 16 Control Unit Operation No HW problems on this chapter. It is important to understand this material on the architecture of computer control units,
Chapter 7. Register Transfer and Computer Operations
Chapter 16 Control Unit Implemntation. A Basic Computer Model.
CPEN Digital System Design Chapter 9 – Computer Design
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.
Princess Sumaya Univ. Computer Engineering Dept. Review:
Chapter 4 Register Transfer and Microoperations
ETE Digital Electronics
Unit I Digital computer: functional units and their interconnections Mr. Mukul Varshney.
MICROPROCESSOR INPUT/OUTPUT
Three-state devices Multiplexers
CSC321 Where We’ve Been Binary representations Boolean logic Logic gates – combinational circuits Flip-flops – sequential circuits Complex gates – modules.
Eng. Mohammed Timraz Electronics & Communication Engineer University of Palestine Faculty of Engineering and Urban planning Software Engineering Department.
Computer Design Basics
EKT 221/4 DIGITAL ELECTRONICS II  Registers, Micro-operations and Implementations - Part3.
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.
EKT221 ELECTRONICS DIGITAL II CHAPTER 4: Computer Design Basics
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.
Charles Kime & Thomas Kaminski © 2008 Pearson Education, Inc. (Hyperlinks are active in View Show mode) Chapter 7 – Registers and Register Transfers Part.
Abdullah Said Alkalbani University of Buraimi
Computer Hardware A computer is made of internal components Central Processor Unit Internal External and external components.
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.
DIGITAL 2 : EKT 221 RTL : Microoperations on a Single Register
EKT 221 : Chapter 4 Computer Design Basics
7-8 BUS-Based Transfer A more efficient scheme for transferring data between registers is a system that shared transfer path called BUS. A block diagram.
ALU (Continued) Computer Architecture (Fall 2006).
Lecture 15 Microarchitecture Level: Level 1. Microarchitecture Level The level above digital logic level. Job: to implement the ISA level above it. The.
Dr Mohamed Menacer College of Computer Science and Engineering, Taibah University CE-321: Computer.
Register Transfer Languages (RTL)
MICROPROGRAMMED CONTROL
Group 1 chapter 3 Alex Francisco Mario Palomino Mohammed Ur-Rehman Maria Lopez.
1 COMP541 Datapaths I Montek Singh Mar 8, Topics  Over next 2/3 classes: datapaths  Basic register operations Book sections 7-2 to 7-6 and 7-8.
Chapter 3 System Buses.  Hardwired systems are inflexible  General purpose hardware can do different tasks, given correct control signals  Instead.
EKT 221 : Digital 2 Computer Design Basics Date : Lecture : 2 hrs.
1 REGISTER TRANSFER & MICROOPERATIONS. 2 OUTLINES Register Transfer Language Register Transfer Bus and Memory Transfers Arithmetic Microoperations Logic.
Class Exercise 1B.
6.
Chap 7. Register Transfers and Datapaths
EKT 221 : Digital 2 Serial Transfers & Microoperations
KU College of Engineering Elec 204: Digital Systems Design
DIGITAL 2 : EKT 221 RTL : Microoperations on a Single Register
Register Transfer and Microoperations
Lesson 4 Synchronous Design Architectures: Data Path and High-level Synthesis (part two) Sept EE37E Adv. Digital Electronics.
Chapter 1_5 register Cell Design
Overview Part 1 - Registers, Microoperations and Implementations
A register design with parallel load input
Overview Part 1 - Registers, Microoperations and Implementations
Instruction execution and ALU
ECE 352 Digital System Fundamentals
William Stallings Computer Organization and Architecture
Presentation transcript:

EKT 221 : Digital 2 MUX-based Transfer

Multiplexer-Based Transfers A dedicated multiplexer is used to select the wanted input. A simple technique using multiplexers for selection is introduced to allow multiple microoperations on a single register. From previous lecture, we saw that multiplexers and parallel load registers can be used to implement dedicated transfers from multiple sources.

Dedicated MUX – based Transfer SELECT S0 S1 S2 L0 L1 L2 LOAD Dedicated MUX – based Transfer MUX0 MUX1 MUX2 Three n-bit 2:1 MUX, each with its own SELECT signal MUX0 : S0 MUX1 : S1 MUX2 : S2 Each register has its own LOAD signal R0 : L0 R1 : L1 R2 : L2

Dedicated MUX – based Transfer Multiplexer connected to each register input produces a very flexible structure Characterize the simultaneous transfers possible with this structure

L2 : R2 ← R1 Example 1: S0, S1, S2 = (0,0,1) and L0, L1, L2 = (0,0,1) then L2 : R2 ← R1

L1: R1 ← R0, L2 : R2← R0 Example 2: S0, S1, S2 = (1,0,0) and L0, L1, L2 = (0,1,1) then L1: R1 ← R0, L2 : R2← R0

MUX and Bus – based transfer for Multiple Registers A typical digital system has many registers. Paths must be provided to transfer data from one register to another. Multiplexer dedicated to each register has problems: Excessive amount of logic High number of interconnections

MUX and Bus – based transfer for Multiple Registers Solution to the problem : Use a shared transfer paths for registers A shared transfer object is called a bus A bus is characterized by a set of common lines, with each line driven by selection logic. Bus implementation using : Multiplexers Three – state nodes and drivers In most cases, the number of bits is the length of the receiving register

Multiplexer Bus Only need a single n-bit 3:1 MUX and parallel load registers. MUX outputs are shared as a common path (bus)

Multiplexer Bus SELECT signal LOAD signal Determines the contents of single source register that will appear on the MUX outputs. 00 0 : R0 01 1 : R1 10 2 : R2 LOAD signal Determine the destination register / registers to be loaded with the bus data 1 2

Multiplexer Bus Example 1: S1, S0 = (0,0) and L0, L1, L2 = (0,0,1) then L2 : R2 R0

Multiplexer Bus Example 2: S1, S0 = (1,0) and L0, L1, L2 = (1,1,0) then L0: R0 R2, L1 : R1 R2

Multiplexer Bus Example 3: S1, S0 = (1,0) and L0, L1, L2 = (0,1,1) then L1: R1 R2, L2 : R2 R2 (no change)

Multiplexer Bus A single bus driven by a MUX lowers cost, but limits the available transfers Characterize the simultaneous transfers possible with this structure… Characterize the cost savings compared to dedicated MUX…

Multiplexer Bus 3rd transfer : cannot be done Requires 2 simultaneous sources (R0 and R1) on a single bus Cannot occur in 1 clock cycle This transfer requires at least 2 buses However, dedicated MUX can do this transfer

MUX-based vs Bus-based Any combination of transfers is possible Bus-based Simultaneous transfers from different sources in single clock cycle is impossible Reduction in hardware Limitation in simultaneous transfers

Three – State Bus The 3 – input MUX can be replaced by a 3 – state node (bus) and 3 – state buffers Cost is further reduced Signals can travel in 2 directions Use same bus to carry signals into and out of registers

Three – State Bus LOAD signal ENABLE signal L0 : R0 L1 : R1 L2 : R2 E0 : R0 E1 : R1 E2 : R2

Three – State Bus A register with n lines that serve as both inputs and outputs. 3-state buffers are enabled: The n lines are OUTPUTS. 3-state buffers are disabled: The n lines are INPUTS.

Multiplexer Bus Three – State Bus

Thank You