Arithmetic Logic Unit Design for the Simple RISC Computer Group: E=MJ 2.

Slides:



Advertisements
Similar presentations
Chapter 2: Data Manipulation
Advertisements

6-1 Chapter 6 - Datapath and Control Department of Information Technology, Radford University ITEC 352 Computer Organization Principles of Computer Architecture.
Chapter 9 Computer Design Basics. 9-2 Datapaths Reminding A digital system (or a simple computer) contains datapath unit and control unit. Datapath: A.
 Suppose for a moment that you were asked to perform a task and were given the following list of instructions to perform:
Datorteknik ArithmeticCircuits bild 1 Computer arithmetic Somet things you should know about digital arithmetic: Principles Architecture Design.
VHDL Implementation for the SRC ALU Edgar Arce Miguel González Miguel Padilla José F. Ocasio December 15, 2004.
Chapter 7. Register Transfer and Computer Operations
Lec 17 Nov 2 Chapter 4 – CPU design data path design control logic design single-cycle CPU performance limitations of single cycle CPU multi-cycle CPU.
1 Lecture 4: Arithmetic for Computers (Part 4) CS 447 Jason Bakos.
B. RAMAMURTHY Hardware Description Language 8/2/
Hardware Design of an Arithmetic Logic Unit (ALU) Felix Noble Mirayma V. Rodriguez Agnes Velez University of Puerto Rico Mayagüez Campus Mayagüez, Puerto.
SUPLEMENTARY CHAPTER 1: An Introduction to Digital Logic The Architecture of Computer Hardware and Systems Software: An Information Technology Approach.
Computer Architecture and Organization Introduction.
1 The 8051 Microcontroller and Embedded Systems CHAPTER 0 INTRODUCTION TO COMPUTING.
07/19/2005 Arithmetic / Logic Unit – ALU Design Presentation F CSE : Introduction to Computer Architecture Slides by Gojko Babić.
6-1 Chapter 6 - Datapath and Control Principles of Computer Architecture by M. Murdocca and V. Heuring © 1999 M. Murdocca and V. Heuring Principles of.
Eng. Mohammed Timraz Electronics & Communication Engineer University of Palestine Faculty of Engineering and Urban planning Software Engineering Department.
Computer Design Basics
CPU Design. Introduction – The CPU must perform three main tasks: Communication with memory – Fetching Instructions – Fetching and storing data Interpretation.
ECEN 248 Lab 4: Multiplexer Based Arithmetic Logic Unit
1 CPSC3850 Adders and Simple ALUs Simple Adders Figures 10.1/10.2 Binary half-adder (HA) and full-adder (FA). Digit-set interpretation: {0, 1}
Designing an ALU Taken from various sources Primary source: Digital Design and Computer Architecture by Harris &Harris.
Chap 7. Register Transfers and Datapaths. 7.1 Datapaths and Operations Two types of modules of digital systems –Datapath perform data-processing operations.
July 2005Computer Architecture, The Arithmetic/Logic UnitSlide 1 Part III The Arithmetic/Logic Unit.
Computer Architecture, The Arithmetic/Logic UnitSlide 1 Part III The Arithmetic/Logic Unit.
REGISTER TRANSFER & MICROOPERATIONS By Sohaib. Digital System Overview  Each module is built from digital components  Registers  Decoders  Arithmetic.
The Central Processing Unit (CPU) and the Machine Cycle.
Module : Algorithmic state machines. Machine language Machine language is built up from discrete statements or instructions. On the processing architecture,
5-1 Chapter 5 - Datapath and Control Computer Architecture and Organization by M. Murdocca and V. Heuring © 2007 M. Murdocca and V. Heuring Computer Architecture.
Lecture 2 Microprocessor Architecture Image from:
A four function ALU A 00 ADD B MUX SUB 11 Result AND OR
IT253: Computer Organization
Computer Studies/ICT SS2
CPU The Central Processing Unit (CPU), has 3 main parts: Control Unit Arithmetic and Logic Unit Registers. These components are connected to the rest.
CENTRAL PROCESSING UNIT Written by: Gizem Gulsen.
COMMAND PROTOCOL OPERATIONS INITIALIZING ALU For RISC By: Ricardo Maurosa Wilfredo Soto Félix Rivera Electrical/Computer Engineering December 15th, 2004.
The SRC Arithmetic and Logic Unit Marcos Mejías Del Valle Carlos Mateo Rojas Daniel Castro Gambedotti The Unbelievables Department of Electrical and Computer.
CS 151: Digital Design Chapter 4: Arithmetic Functions and Circuits
Register Transfer Languages (RTL)
CDA 3101 Spring 2016 Introduction to Computer Organization
CPU Overview Computer Organization II 1 February 2009 © McQuain & Ribbens Introduction CPU performance factors – Instruction count n Determined.
An Adder A Subtractor. A and B are the inputs of the adder/ subtractor R is the output of the adder/ subtractor F is the control to tell it to add or.
Arithmetic Logic Unit (ALU) Introduction to Computer Yung-Yu Chuang with slides by Sedgewick & Wayne ( introcs.cs.princeton.edu ), Nisan & Schocken (
Chapter 2 Data Manipulation © 2007 Pearson Addison-Wesley. All rights reserved.
Simple ALU  Half adder  Full adder  Constructing 4 bits adder  ALU does several operations  General ALU structure  Timing diagram of adder  Overflow.
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.
1 3 Computing System Fundamentals 3.2 Computer Architecture.
Explain Half Adder and Full Adder with Truth Table.
1 Computer Architecture & Assembly Language Spring 2009 Dr. Richard Spillman Lecture 11 – ALU Design.
REGISTER TRANSFER AND MICROOPERATIONS
Combinational Circuits
Somet things you should know about digital arithmetic:
Basic Processor Structure/design
REGISTER TRANSFER AND MICROOPERATIONS
Computer Design Basics
Chap 7. Register Transfers and Datapaths
Lesson Objectives A note about notes: Aims
Morgan Kaufmann Publishers The Processor
Morgan Kaufmann Publishers
Overview Register Transfer Language Register Transfer
von Neumann Architecture CPU
CDA 3101 Summer 2007 Introduction to Computer Organization
Enemies make you stronger, allies make you weaker. Frank Herbert
Morgan Kaufmann Publishers The Processor
Introduction to Intel x86-64 Assembly, Architecture, Applications, & Alliteration Xeno Kovah – 2014 xkovah at gmail.
von Neumann Architecture CPU
Computer Design Basics
Combinational Circuits
ECE 352 Digital System Fundamentals
Presentation transcript:

Arithmetic Logic Unit Design for the Simple RISC Computer Group: E=MJ 2

Arithmetic Logic Unit Design Objective Introduction Design Implementation Components Timing Diagrams Conclusion References

Objective Learn and experience the benefits of VHDL Design the components of an ALU that perform the predefined functions specified for the SRC. Implement them in VHDL to simulate the operations of the ALU.

Introduction ALU (“Arithmetic and Logic Unit”) –Responsible for certain arithmetic and logic functions. (Ex:addition,substaction,and, xor etc). The Control Unit (“CU”) –Keep all elements of the ALU working in a harmonic way. Different Components can be added as modules to help perform certain operations –Adder, Shifter, Delatch, etc…

Design

Components Adder Arithmetic functions are perform in this circuits. 1-bit adder 8-bit adder

Components ASI Receive the operand of add, subtract and increment 1-bit adder 8-bit ASI pkg 8-bit ASI

Components Negator Arithmetic functions are perform in this circuits. 8-bit negator 8-bit negator pkg

Components Register Its is use for the ADC function. The rest of the functions done via the 2 buses. 8-bit register 8-bit register pkg

Components Logic This circuit performs the logic functions and, or and all of the shifting operations. It is copied 8 times to work as an 8 bit circuit. 1-bit logic/shifter 1-bit logic/shifter pkg

Timing Diagram

Conclusion In our design we were able to create an ALU capable of completing all of the logic and arithmetic functions specified in our simulator. The design can be used for further continuation of a project, in which it can be used as the ALU of a microcontroller or CPU. Our ALU might not have the fastest performance, but it has one of the simplest hardware designs.

References Computer System Design Architecture, second ed, Vincent P. Heuring and Harry F. Jordan. A 32-Bit ALU Design Example, aludesver.pdf

Questions