A register design with parallel load input

Slides:



Advertisements
Similar presentations
Processor Data Path and Control Diana Palsetia UPenn
Advertisements

Computer Organization, Bus Structure
Computer Architecture CS 215
Lecture 23: Registers and Counters (2)
Verilog Modules for Common Digital Functions
Table 7.1 Verilog Operators.
Control path Recall that the control path is the physical entity in a processor which: fetches instructions, fetches operands, decodes instructions, schedules.
Registers and Counters. Register Register is built with gates, but has memory. The only type of flip-flop required in this class – the D flip-flop – Has.
Datorteknik DigitalCircuits bild 1 Combinational circuits Changes at inputs propagate at logic speed to outputs Not clocked No internal state (memoryless)
Princess Sumaya Univ. Computer Engineering Dept. Review:
ENGIN112 L26: Shift Registers November 3, 2003 ENGIN 112 Intro to Electrical and Computer Engineering Lecture 26 Shift Registers.
Fall 2007 L16: Memory Elements LECTURE 16: Clocks Sequential circuit design The basic memory element: a latch Flip Flops.
Sequential Circuit Introduction to Counter
Unit 12 Registers and Counters Ku-Yaw Chang Assistant Professor, Department of Computer Science and Information Engineering Da-Yeh.
Princess Sumaya Univ. Computer Engineering Dept. Review:
Abdullah Said Alkalbani University of Buraimi
9/15/09 - L26 Shift RegistersCopyright Joanne DeGroat, ECE, OSU1 Shift Registers.
1 ALU ports can get input from any of the two registers ALU can perform one of the eight operations Shift unit can perform one of the four possible types.
TEAM FRONT END ECEN 4243 Digital Computer Design.
Registers 4.2 N-bit register: Stores N bits, N is the width
DIGITAL COMPONENTS. MULTIPLEXERS A multiplexer is a combinational circuit that receives binary information from one of 2 n input data lines and directs.
1 To write any register, we need register address and a write signal A 3-bit write address is decoded if write signal is present One of the eight registers.
Counters and registers Eng.Maha Alqubali. Registers Registers are groups of flip-flops, where each flip- flop is capable of storing one bit of information.
ECE Fall G. Byrd1 Register A register stores a multi-bit value. We use a collection of D-latches, all controlled by a common WE. When WE=1,
Exam-like questions.
STUDY OF PIC MICROCONTROLLERS.. Design Flow C CODE Hex File Assembly Code Compiler Assembler Chip Programming.
Overview Logistics Last lecture Today HW5 due today
REGISTER TRANSFER LANGUAGE (RTL)
Lecture 11 Registers and Counters
Combinational circuits
מבנה מחשב תרגול 3.
Computer Architecture & Operations I
Chap 7. Register Transfers and Datapaths
Sequential Logic Counters and Registers
Sequential Circuit: Counter
DIGITAL 2 : EKT 221 RTL : Microoperations on a Single Register
Basics of digital systems
Latches, Flip-Flops and Registers
Latches and Flip-flops
MIPS processor continued
A Simplified MIPS Processor in Verilog
Instructor: Alexander Stoytchev
Logic Values 0:logic 0 / false 1:logic 1 / true X:unknown logic value
4-Bit Counter Spencer Canavan.
Lecture 18 Interrupt 동국대학교 홍유표.
Logic Values 0:logic 0 / false 1:logic 1 / true X:unknown logic value
Levels in Processor Design
CS 140 Lecture 16 Professor CK Cheng 11/21/02.
FIGURE 10.1 Rectangular‐shape graphic symbols for gates
Levels in Processor Design
Instructor: Alexander Stoytchev
April 3 Fun with MUXes Implementing arbitrary logical functions
CSC 220: Computer Organization
Enhancing Data Path M 4-bit Reg X A L U
Storing Control A L U We need a memory to store control
Tri-state buffer A circuit which allows an input to go to output when desired Otherwise it behaves as if “nothing” is connected to the wire An equivalent.
COMS 361 Computer Organization
Levels in Processor Design
Instructor: Alexander Stoytchev
Logic Values 0:logic 0 / false 1:logic 1 / true X:unknown logic value
Register-Transfer Level Components in Verilog
Control Unit (single cycle implementation)
Instructor: Alexander Stoytchev
Overview Last lecture Digital hardware systems Today
Levels in Processor Design
Switching Theory and Logic Design Chapter 5:
Levels in Processor Design
Outline Registers Counters 5/11/2019.
Registers Today we’ll see some common sequential devices: counters and registers. They’re good examples of sequential analysis and design. They are also.
Processor: Datapath and Control
Presentation transcript:

A register design with parallel load input Flip-flops can be connected to act as a register At the input, a mux selects a new input or retains the old value All flip-flops get the same clock cycle LD signal = one means load new value LD signal = zero means retain old value C D Q D0 D1 D2 Clock Q3 Q2 Q1 Q0 LD MUX IN0 IN3 IN2 IN1

Multiple registers 4-Bit Register Sel In a system we can have more than one register For an operation we can select any of the registers Each register can be loaded or old value can be retained A register can be selected for output There can be more than one set of multiplexers at the output Clock 4-Bit Register IN23 IN22 IN21 IN20 Q23 Q22 Q21 Q20 LD2 IN13 IN12 IN11 IN10 Q13 Q12 Q11 Q10 LD1 MUX Sel

Connecting registers to ALU A set of registers with selection signals can produce two outputs These outputs can be connected to ALU input A 4-function ALU receives two inputs and produces one output It needs two select bits to selects function Needs LD1, and LD2 signals, M1 and M2 signal A L U 4-bit Reg M X LD1 M2 M1 LD2 OpCode

Writing result back to registers Output of ALU may have to be written in registers Registers may also get data from somewhere else like keyboard Therefore we need to select data to be written to register file This requires another multiplexer Or we can use a bus A L U 4-bit Reg M X LD1 M2 M1 LD2 OpCode enable Keyboard