Register Cell Design.

Slides:



Advertisements
Similar presentations
Computer Architecture CS 215
Advertisements

CPEN Digital System Design
KU College of Engineering Elec 204: Digital Systems Design
Propagation Delay: capacitances introduce delay
REGISTER TRANSFER LANGUAGE (RTL)
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
Give qualifications of instructors: DAP
1 Register Transfer &  -operations Computer Organization Computer Architectures Lab REGISTER TRANSFER AND MICROOPERATIONS Register Transfer Language Register.
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.
CS 151 Digital Systems Design Lecture 37 Register Transfer Level
Instructor: Yuzhuang Hu The Shifter 3 clock cycles will be needed if using a bidirectional shift register with parallel load.  A clock.
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
1 COMP541 Sequencing – III (Sequencing a Computer) Montek Singh April 9, 2007.
Topics covered: CPU Architecture CSE 243: Introduction to Computer Architecture and Hardware/Software Interface.
1 EECS Components and Design Techniques for Digital Systems Lec 21 – RTL Design Optimization 11/16/2004 David Culler Electrical Engineering and Computer.
Chapter 16 Control Unit Implemntation. A Basic Computer Model.
4/10/20081 Lab 9 RT methodology introduction Register operations Data Path Control Path ASM Example TA: Jorge Crichigno.
Chapter 15 IA 64 Architecture Review Predication Predication Registers Speculation Control Data Software Pipelining Prolog, Kernel, & Epilog phases Automatic.
Henry Hexmoor1 Chapter 10- Control units We introduced the basic structure of a control unit, and translated assembly instructions into a binary representation.
CPEN Digital System Design Chapter 9 – Computer Design
Logic and Computer Design Dr. Sanjay P. Ahuja, Ph.D. FIS Distinguished Professor of CIS ( ) School of Computing, UNF.
ENGIN112 L26: Shift Registers November 3, 2003 ENGIN 112 Intro to Electrical and Computer Engineering Lecture 26 Shift Registers.
Chapter 7 – Registers and Register Transfers Part 1 – Registers, Microoperations and Implementations Logic and Computer Design Fundamentals.
Computer System Configuration and Function Computer Architecture and Design Lecture 6.
CSC321 Where We’ve Been Binary representations Boolean logic Logic gates – combinational circuits Flip-flops – sequential circuits Complex gates – modules.
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
EKT 221/4 DIGITAL ELECTRONICS II  Registers, Micro-operations and Implementations - Part3.
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.
Chapter 4 Computer Design Basics. Chapter Overview Part 1 – Datapaths  Introduction  Datapath Example  Arithmetic Logic Unit (ALU)  Shifter  Datapath.
7-6 단일 레지스터에서 Microoperation Multiplexer-Based Transfer  Register 가 서로 다른 시간에 둘 이상의 source 에서 data 를 받을 경우 If (K1=1) then (R0 ←R1) else if (K2=1) then.
REGISTER TRANSFER & MICROOPERATIONS By Sohaib. Digital System Overview  Each module is built from digital components  Registers  Decoders  Arithmetic.
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
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
Lecture 21: Registers and Counters (1)
EKT 221 : Chapter 4 Computer Design Basics
Lecture 15 Microarchitecture Level: Level 1. Microarchitecture Level The level above digital logic level. Job: to implement the ISA level above it. The.
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)
Basic Elements of Processor ALU Registers Internal data pahs External data paths Control Unit.
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.
Processor Organization and Architecture Module III.
EKT 221 : Digital 2 Computer Design Basics Date : Lecture : 2 hrs.
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.
1 REGISTER TRANSFER & MICROOPERATIONS. 2 OUTLINES Register Transfer Language Register Transfer Bus and Memory Transfers Arithmetic Microoperations Logic.
Functions of Processor Operation Addressing modes Registers i/o module interface Memory module interface Interrupts.
REGISTER TRANSFER AND MICROOPERATIONS
Overview Register Transfer Language Register Transfer
REGISTER TRANSFER AND MICROOPERATIONS
Computer Design Basics
Chap 7. Register Transfers and Datapaths
KU College of Engineering Elec 204: Digital Systems Design
DIGITAL 2 : EKT 221 RTL : Microoperations on a Single Register
Register Transfer and Microoperations
Computer Organization and Design
Control Unit.
Computer Architecture and Design Lecture 6
Chapter 1_5 register Cell Design
Overview Part 1 - Registers, Microoperations and Implementations
Overview Part 1 - Registers, Microoperations and Implementations
Computer Design Basics
CHAPTER-3 REGISTER TRANSFER LANGUAGE AND MICROOPERATIONS
Presentation transcript:

Register Cell Design

Large System architecture Large digital systems typically partitioned into: Datapath Many registers, lots of Combinational Logic Moves / processes system data Operation specified by control word (from CU) Control Unit Many states and inputs Specifies what DP does next Decisions made based on DP status information

Large System Block Diagram Control Inputs Control Unit Datapath Data Outputs Control Control Outputs Status Data Inputs

Register Transfer The movement of data stored in registers and the processing performed on the data are referred to as Register Transfer Operations Register Transfer Language (RTL) captures register transfers and it’s components of: The registers within the system The operations performed on system data The control that defines the sequence of operations

Microoperations Each register has a set of elementary operations it can do E.G. Load, Increment, Shift, etc. The combination of elementary register ops and combinational functions define simple system operations These are the Microoperations of the system Usually performed in a single clock cycle Sequence of -ops specified by control unit

Register Transfer Notation Register transfer source information may be A single source register External input data Results of combinational logic operation E.G. R0  R1 IR  M[AR] (memory read at loc AR) PC  PC + 1

Multiplexer-based Transfer You have a limited number of local data sources E.G. K1: R1  R3 K2: R1  R1 + R2 Two sources are defined; use a 2 to 1 mux Small combinational function need to translate the K1 and K2 controls to the mux select and register load control signals

Multiplexer-based Register Transfer General Circuit Pattern Dest. Reg. MUX Src 1 Src 2 EN Src n Clk select Comb. Logic Controls

Multiple Register Transfers with MUXes Systems usually have multiple destination registers, each with multiple sources Common to have multiple reg. transfers at the same time Designer has some choice of implementation Use separate multiplexer for each destination Use a shared multiplexer for all dest. Registers Perform the source selection function with three-state outputs

Dedicated Multiplexers REGB MUX Reg. A Advantage is multiple register transfers can take place at the same time. REGC REGD SELA LDA REGA MUX Reg. B REGC REGD SELB LDB REGA MUX Reg. C REGB REGD Disadvantage is lots of hardware is needed. SELC LDC REGA MUX Reg. D REGB REGC SELD LDD Clock

Shared Multiplexer Reg. A Advantage is less LDA hardware is needed. B REGA MUX REGB LDB REGC REGD Reg. C Disadvantage is only one register transfer source can be selected at a time. SEL LDC Reg. D LDD Clock

Selection via Three State Outputs Reg. A ENA LDA Now the sources can be distributed; only the three state bus needs to go from source to source Only one source can be selected at a time but much less wire is needed. Reg. B ENB LDB Reg. C ENC LDC Reg. D END LDD Clock

Register Cell design Design the input of a register’s individual cell with several inputs with different control signals Repeat it for n cells. Example: Design the register cell Ai with the following microoperations are to be performed on register A: SHL: A shl A EXOR: A A exor B ADD: A A+B

Register Cell design Assume only one of control signals SHL, EXOR and ADD is 1 at a time. If all zero ‘No Change’. Also we have a parallel adder available.Even though more complicated designs are available as in your book, direct application of combinational circuit- multiplexer comb. is the preferred method.

Note: Design the combinational logic yourselves. Register Cell design Si Ai EXOR Bi Ai-1 4x1 mux Ai D Load Select ADD EXOR SHL Comb. Logic Note: Design the combinational logic yourselves.

Register Cell design Use a register with parallel loadwith D FF’s Load= SHL+EXOR+ADD Di= EXOR(Ai exor Bi)+SHL( Ai-1)+ADD (Ai exor Bi exor Ci) Ci+1=(Ai+Bi)Ci+AiBi

Register Cell design

Register Cell design