Registers Shift Registers Accumulators Register Files Register Transfer Language. Chapter 8 Registers. SKEE2263 Digital Systems

Similar documents
EE 330 Integrated Circuit. Sequential Airbag Controller

CprE 281: Digital Logic

Chapter 3: Computer Organization Fundamentals. Oregon State University School of Electrical Engineering and Computer Science.

Enabling Shift-Left through FV Methodologies on Intel Graphics Designs

ECE 550D Fundamentals of Computer Systems and Engineering. Fall 2017

CMPEN 411 VLSI Digital Circuits Spring Lecture 20: Multiplier Design

VHDL (and verilog) allow complex hardware to be described in either single-segment style to two-segment style

Pipelined MIPS Datapath with Control Signals

RAM-Type Interface for Embedded User Flash Memory

Sequential Circuit Background. Young Won Lim 11/6/15

ICTP Latin-American Advanced Course on FPGADesign for Scientific Instrumentation. 19 November - 7 December, 2012

HYB25D256400/800AT 256-MBit Double Data Rata SDRAM

To read more. CS 6354: Tomasulo. Intel Skylake. Scheduling. How can we reorder instructions? Without changing the answer.

6.823 Computer System Architecture Prerequisite Self-Assessment Test Assigned Feb. 6, 2019 Due Feb 11, 2019

HYB25D256[400/800/160]B[T/C](L) 256-Mbit Double Data Rate SDRAM, Die Rev. B Data Sheet Jan. 2003, V1.1. Features. Description

Advanced Superscalar Architectures. Speculative and Out-of-Order Execution

HYB25D256400B[T/C](L) HYB25D256800B[T/C](L) HYB25D256160B[T/C](L)

A48P4616B. 16M X 16 Bit DDR DRAM. Document Title 16M X 16 Bit DDR DRAM. Revision History. AMIC Technology, Corp. Rev. No. History Issue Date Remark

Pipelining A B C D. Readings: Example: Doing the laundry. Ann, Brian, Cathy, & Dave. each have one load of clothes to wash, dry, and fold

128Mb DDR SDRAM. Features. Description. REV 1.1 Oct, 2006

Improving Performance: Pipelining!

CS 6354: Tomasulo. 21 September 2016

128Mb Synchronous DRAM. Features High Performance: Description. REV 1.0 May, 2001 NT5SV32M4CT NT5SV16M8CT NT5SV8M16CT

EEM 451: Industrial Control Systems

Advantage Memory Corporation reserves the right to change products and specifications without notice

Basic Electricity. Mike Koch Lead Mentor Muncie Delaware Robotics Team 1720 PhyXTGears. and Electronics. for FRC

Introduction to Digital Techniques

Lecture 14: Instruction Level Parallelism

CMU Introduction to Computer Architecture, Spring 2013 HW 3 Solutions: Microprogramming Wrap-up and Pipelining

index changing a variable s value, Chime My Block, clearing the screen. See Display block CoastBack program, 54 44

Discrete Control Logic. 1. Pneumatic circuits. - Low forces - Discrete, fixed travel distances - Rotational or reciprocating motion

SPEEDRIVE INSTRUCTIONS MANUAL

Hands-On Workshop: Hardware and Software Technical Training: MC33816 Programmable Solenoid Controller

CSCI 510: Computer Architecture Written Assignment 2 Solutions

Advantage Memory Corporation reserves the right to change products and specifications without notice

Maximiser Progressive Controller

FabComp: Hardware specication

PIPELINING: BRANCH AND MULTICYCLE INSTRUCTIONS

Electro Pneumatic WorkStation Scientech 2470

ENGN1640: Design of Computing Systems Topic 05: Pipeline Processor Design

DAT105: Computer Architecture Study Period 2, 2009 Exercise 2 Chapter 2: Instruction-Level Parallelism and Its Exploitation

Computer Architecture: Out-of-Order Execution. Prof. Onur Mutlu (editted by Seth) Carnegie Mellon University

A Predictive Delay Fault Avoidance Scheme for Coarse Grained Reconfigurable Architecture

Chapter 5 Vehicle Operation Basics

Laboratory 10 Assignment. Introduction

CS152: Computer Architecture and Engineering Introduction to Pipelining. October 22, 1997 Dave Patterson (http.cs.berkeley.

In-Place Associative Computing:

Using the HT13R90 in Simple Charger Applications

Advantage Memory Corporation reserves the right to change products and specifications without notice

Out-of-order Pipeline. Register Read. OOO execution (2-wide) OOO execution (2-wide) OOO execution (2-wide) OOO execution (2-wide)

A. Danfoss VLT Soft Starter The single speed drive. For any soft start situation MAKING MODERN LIVING POSSIBLE

Actuators are the muscles of robots.

Flow and check valves Logic valves Pneumatic counters. Brochure

Programming Languages (CS 550)

Nickel Cadmium and Nickel Hydride Battery Charging Applications Using the HT48R062

Electrical Engineering Design & Drawing II. Prepared By: Sanjeev Kumar Kalra Lect. in Electrical Engg. Guru Gobind Singh Govt. Polytechnic, Cheeka

07 GRP13_4T80E LD8_L37.doc. Page 1 of 7

SYNCHRONOUS DRAM. 128Mb: x32 SDRAM. MT48LC4M32B2-1 Meg x 32 x 4 banks

2048MB DDR2 SDRAM SO-DIMM

Dr. Daho Taghezout applied magnetics (CH 1110 Morges)

GRAND UNION CANAL UXBRIDGE WEST LONDON UB8 2GH. Accommodation schedule. Block B

The electrohydraulic brake

Parallelism I: Inside the Core

Electro Pneumatic Workbench Scientech 2470

IS42S32200C1. 512K Bits x 32 Bits x 4 Banks (64-MBIT) SYNCHRONOUS DYNAMIC RAM

Sequential logic implementation

e-smart 2009 Low cost fault injection method for security characterization

M2 Instruction Set Architecture

QUESTION BANK III YEAR / V SEM CONTROL OF ELECTRICAL MACHINES UNIT I CONTROL CIRCUIT COMPONENTS PART - A

CPW Current Programmed Winder for the 890. Application Handbook. Copyright 2005 by Parker SSD Drives, Inc.

Marwan Adas December 6, 2011

COSC 6385 Computer Architecture. - Tomasulos Algorithm

Week 11. Module 5: EE100 Course Project Making your first robot

SMD10 SMD11 SMD15 SMD30

LG Power Distribution Indicator

V58C2256(804/404/164)SH HIGH PERFORMANCE 256 Mbit DDR SDRAM 4 BANKS X 8Mbit X 8 (804) 4 BANKS X 4Mbit X 16 (164) 4 BANKS X 16Mbit X 4 (404)

Introduction to Computer Engineering EECS 203 dickrp/eecs203/

index Page numbers shown in italic indicate figures. Numbers & Symbols

IS42S32200L IS45S32200L

SDRAM AS4SD8M Mb: 8 Meg x 16 SDRAM Synchronous DRAM Memory. PIN ASSIGNMENT (Top View)

Computer Architecture 计算机体系结构. Lecture 3. Instruction-Level Parallelism I 第三讲 指令级并行 I. Chao Li, PhD. 李超博士

Using Tridium s Sedona 1.2 Components with Workbench

Test Infrastructure Design for Core-Based System-on-Chip Under Cycle-Accurate Thermal Constraints

EL In-Place Inclinometer Multiplexed Version

Matt s Stoplight Simulation Machine Architecture and Assembly Language Training Matt Born June 2001

Part 2 Functional Description

Busy Ant Maths and the Scottish Curriculum for Excellence Foundation Level - Primary 1

Xilinx Answer MIG UltraScale DDR4/DDR3 - Hardware Debug Guide

EE 6502 UNIT-II PROGRAMMING OF 8085 MICROPROCESSOR. Prepared by S.Sayeekumar, AP/RMDEEE

CHAPTER 8 A LARGE BLOCK CIPHER HAVING A KEY ON ONE SIDE OF THE PLAINTEXT MATRIX AND ITS INVERSE ON THE OHTER SIDE AS MULTIPLICANTS

Successive Approximation Time-to-Digital Converter with Vernier-level Resolution

SYMBOL LEGEND DANGER WARNING NOTE THIS INDICATES DANGER TO THE LIFE AND HEALTH OF THE USER IS APPROPRIATE PRECAUTIONS ARE NOT TAKEN

Revision History. REV. 0.1 June Revision 0.0 (May, 1999) PC133 first published.

M2004. Document ID: 3HAC Revision: - Copyright 2010 ABB. All rights reserved.

Flying Electron Inc. Bipolar Stepper Motor Driver Datasheet

M464S1724CT1 SDRAM SODIMM 16Mx64 SDRAM SODIMM based on 8Mx16,4Banks,4K Refresh,3.3V Synchronous DRAMs with SPD. Pin. Pin. Back. Front DQ53 DQ54 DQ55

Emergency lighting units EM converterled. EM converterled PRO 200 V PRO series

Anne Bracy CS 3410 Computer Science Cornell University. [K. Bala, A. Bracy, S. McKee, E. Sirer, H. Weatherspoon]

CMPEN 411 VLSI Digital Circuits Spring Lecture 22: Memery, ROM

DQ18 DQ19 VDD DQ20 NC *VREF **CKE1 VSS DQ21 DQ22 DQ23 VSS DQ24 DQ25 DQ26 DQ27 VDD DQ28 DQ29 DQ30 DQ31 VSS **CLK2 NC NC SDA SCL VDD

Transcription:

Chapter 8 Registers SKEE2263 igital Systems Mun im Zabidi {munim@utm.my} Ismahani Ismail {ismahani@fke.utm.my} Izam Kamisian {e-izam@utm.my} Faculty of Electrical Engineering, Universiti Teknologi Malaysia March 27, 28

Table of Contents Registers 2 Shift Registers 3 Accumulators 4 Register Files 5 Register Transfer Language

Basic Register 3 2 Clk 3 2 Clk Ignored [3:] [3:]

Resettable Register 3 2 CLR CLR CLR CLR Clk Clear 3 2 Clk [3:] Clear [3:] xxxx Cleared

Register with Load Enable 3 2 Load Clk 3 2 Clk [3:] Load [3:] xxxx

Basic Shift Register Input Clk 3 2

Shift Register Animation Initial condition CLK After first clock pulse After second clock pulse After third clock pulse After fourth clock pulse After fifth clock pulse CLK CLK CLK CLK CLK

Shift Register Timing iagram Clk Input 3 2

Enabled Shift Register Input Shift Clk 3 2 Clk Input Shift [3:]

Universal Shift Register 3 2 RSI S S LSI Clear Clk S S Function Hold Shift left Shift right Load new input 3 2 Can be used in either serial-to-serial, serial-to-parallel, parallel-to-serial, parallel-to-parallel, left shifting as well as right shifting. Useful in arithmetic operations to shift data left for multiplication or to shift data right for division.

Universal Shift Register Schematic 3 2 RSI LSI 3 2 3 2 3 2 3 2 S: S: S: S : Clear Clk 3 2

Universal Shift Register Timing iagram Clk RSI LSI [3:] 2 4 6 8 A C E 2 S[:] 3 3 2 2 3 [3:] 2 4 8 A 5 2 2

Accumulators Accumulator 6 + Acc Clock Accumulator: register that keeps results of arithmetic ops. Registers + Adders Accumulator-based counter. Any adder architecture may be used. Clk Acc 2 3 4 5 3E 3F Accumulator overflow

6-bit Accumulator-Based Counter 5 4 3 2 HA HA HA HA HA HA Clk 5 4 3 2

Resettable Counter + Accumulator Acc Clear Function Run Clear Clear Clock Check your understanding. This is Milestone 2.

Multi-Function Counter No. + +2-2 3 Accumulator Acc S S Function Clear Add Add 2 Subtract S S Clock

Multi-Function Counter No.2 2 3 4 Adder Accumulator 4 4 Acc S S Function Hold Add Add 2 Subtract S S Clock

Prescaler.5s s - 25 Hz x7784 Preload (25,,) 5 MHz 25-bit accumulator

Timer sec Trig Out Timer Clock 5 MHz Clock Trig Out sec

Timer - x2faf8 26 26-bit accumulator Out Preload (5,,) Trig 5 MHz Trig

Register Files vs RAM Register Files RAM Capacity Small Large Speed Fast Slow Ease of esign Easy Harder

Minimal Register File 8 2 2 atain WriteAddr WriteEn ReadAddr 4 x 8 register file ataout Four 8-bit registers 8 atain : n-bit input ataout : n-bit output WriteAddr: log 2 n-bit write address ReadAddr: log 2 n-bit read address WriteEn: write enable

Minimal Register File atain ReadAddr WriteAddr 2:4 decoder Register Ld Register Ld Register 2 Ld Register 3 Ld 4: MUX ataout WriteEn

Register File with 2 Read Ports 8 2 2 2 atain WriteAddr WriteEn ReadAddrA ReadAddrB OutA OutB 8 8 4 x 8 register file

Register File with 2 Read Ports ReadAddrA Register Register Register 2 Register 3 4: MUX OutA 4: MUX OutB ReadAddrB

Overview of RTL atapath: combination of registers and combinational circuits which manipulate data atapath design is derived from high-level algorithms RTL: high-level description of micro-operations happening in the datapath RTL allows designers to solve problems at high-level; and worry about details later

Elements of RTL Elements: Register set Operations performs on data in the registers The sequence of operations R2 Combinational logic Control circuit Load Ld R Clock RTL syntax:

RTL Instruction Set Notation Intended Operation X Y Transfer contents of reg. Y to reg. X R Clear contents of REG X all s Set all bits of reg. X X Set the LSB of X and reset all other bits X shl X -bit left-shift X shr X -bit right-shift X 3: X 3: X 3:4 4-bit end-around right-shift X M[x234] X content of memory address x234 X M[Y ] X content of memory pointed by Y X Y Z X Y OR Z (bitwise) X Y Z X Y AN Z (bitwise) X Y Z X Y XOR Z (bitwise) X Y X s complement of Y X Y X 2 s complement of Y X Y + Z X addition of Y and Z X Y Z X subtraction of Z from Y K + + Shorthand for K K + X Y, A B Parallel transfers (cond)/a B if (cond) is true, then transfer B to A S:A B when in state S, transfer B to A P:(x y)/a B when in state P, if x AN y is true, then transfer B to A

Simple atapath RTL emo ReadAddrA 4 x 8 reg file ReadAddrB WriteAddr WriteEn OutA + Inata atain OutB Mode Input Mode Mode R d R a R d R a + R b

Simple atapath RTL emo RTL ReadAddrA ReadAddrB WriteAddr Mode R R XX R R3 XX R3 R + R Mode Mode R d R a R d R a + R b

Simple atapath RTL emo uestion: What is the RTL sequence to exchange R with R (R R)? Assume R2 and R3 are available for temporary storage.