Microcomputer Circuits Prof Jess UEAB 2007 Designing a Microprocessor Chapter 1.

Slides:



Advertisements
Similar presentations
TECH SKILLS COMPUTER BASICS
Advertisements

CS1102 Lec04 Hardware – Inside the Box Computer Science Department City University of Hong Kong.
EEE226 MICROPROCESSORBY DR. ZAINI ABDUL HALIM School of Electrical & Electronic Engineering USM.
Lesson 1 Computers and Computer Systems
Presentation by: Serena, Ann & Nicole
CENTRAL PROCESSING UNIT
Introduction Digital systems (logic design, digital logic, switching circuits) are employed in: computers data communication control systems many other.
Chapter 1. Introduction This course is all about how computers work But what do we mean by a computer? –Different types: desktop, servers, embedded devices.
©TheMcGraw-Hill Companies, Inc. Permission required for reproduction or display. COMPSCI 125 Introduction to Computer Science I.
Lecture 3&4 Components of the computer. Computer components.
CIS 260 Computer Programming I in C Prof. Timothy Arndt.
FOCUS.
Computers Are Your Future Eleventh Edition Chapter 2: Inside the System Unit Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall1.
COMPONENTS OF THE SYSTEM UNIT
CS2100 Computer Organisation Introduction (AY2015/6 Semester 1)
Studies in Big Data 4 Weng-Long Chang Athanasios V. Vasilakos MolecularComputing Towards a Novel Computing Architecture for Complex Problem Solving.
C.S. Choy95 COMPUTER ORGANIZATION Logic Design Skill to design digital components JAVA Language Skill to program a computer Computer Organization Skill.
Lesson 3 — How a Computer Processes Data
COMPUTER SYSTEM.
Lesson 2 - Hardware on the Inside
Computers Inside and Out
Wednesday, September 16 th Warm Up: Write down how you would explain binary code to someone who had never heard of it before What is this number written.
Chapter I: Introduction to Computer Science. Computer: is a machine that accepts input data, processes the data and creates output data. This is a specific-purpose.
Chapter 5: Computer Systems Organization Invitation to Computer Science, Java Version, Third Edition.
©Brooks/Cole, 2003 Foundations of Computer Science from Data Manipulation to Theory of Computation Behrouz A. Forouzan, Brooks/Cole — Thomson Learning,
Digital Components and Combinational Circuits Sachin Kharady.
Computers Are Your Future Eleventh Edition Chapter 2: Inside the System Unit Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall1.
1Copyright © Prentice Hall 2000 The Central Processing Unit Chapter 3 What Goes on Inside the Computer.
Computer Basics.
Chapter 1 Introduction. Understand the concept of a black box, a data processor, and a programmable data processor. Define the von Neumann model and name.
Lesson 3 — How a Computer Processes Data Unit 1 — Computer Basics.
Chapter 1 Introduction.
Intro to Computers Computer Applications. What is a Computer? Initially the term computer referred to an individual whose job it was to perform mathematical.
General Concepts of Computer Organization Overview of Microcomputer.
How a Computer Processes Data With today’s technology a little knowledge about what’s inside a computer can make you a more effective user and help you.
SKILL AREA: 1.2 MAIN ELEMENTS OF A PERSONAL COMPUTER.
10 Internal parts of a PC Created by Federica Proietti Cesaretti.
CSCI-100 Introduction to Computing Hardware Part I.
Introduction to Computers Rabie A. Ramadan, PhD. 2 Class Information Website ses/2011/summer/intro/
Hardware on the Inside.  Computers are made of many electronic components or parts.  These components each have a special job and they all work together.
Computer Hardware – System Unit
Concepts of Engineering and Technology Copyright © Texas Education Agency, All rights reserved.
Succeeding with Technology Chapter 2 Hardware Designed to Meet the Need The Digital Revolution Integrated Circuits and Processing Storage Input, Output,
How a Computer Processes Data. With today’s technology a little knowledge about what’s inside a computer can make you a more effective user and help you.
Computer Basics.
DAILY QUESTION April 29, What is the difference between ROM and RAM? Hint: Use your book!
CS 101 INTRODUCTION TO COMPUTING * image from The Central Eglinton Community Centre website.
Computers Are Your Future Tenth Edition Inside the System Unit 1.
Computers Are Your Future Eleventh Edition Chapter 2: Inside the System Unit Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall1.
Information Technology INT1001 Lecture 2 1. Computers Are Your Future Tenth Edition Chapter 6: Inside the System Unit Copyright © 2009 Pearson Education,
IC 3 BASICS, Internet and Computing Core Certification Computing Fundamentals Lesson 2 How Does a Computer Process Data?
Hardware and Software By: Kyle Face. Hardware! Main computer hardware components Hardware refers to the physical components of a computer (What you can.
24/06/20161 Hardware Processor components & ROM. 224/06/2016 Learning Objectives Describe the function and purpose of the control unit, memory unit and.
Chapter I: Introduction to Computer Science. Computer: is a machine that accepts input data, processes the data and creates output data. This is a specific-purpose.
~How PC Parts Work~ (30 MARKS). List 4 External components you can see on the PC in front of you and describe the basic function of each one. 1) DVD Drive.
نظام المحاضرات الالكترونينظام المحاضرات الالكتروني Introduction :: Computer Organization and Architecture Computer.
Computer Science Introduction
Logic Gates Unit 16.
Chapter 1: An Overview of Computers and Programming Languages
Chapter 1 Introduction.
Computer Hardware – System Unit
The Central Processing Unit
Chapter 2 – Computer hardware
Microcomputer Architecture
Computer Hardware Introduction.
Computer Hardware Prepared by:- Mr. Pawan Kumar
Chapter 5: Computer Systems Organization
Logical Computer System
Chapter 4: Hardware for Educators
Technology 2 Hardware on the Inside.
Presentation transcript:

Microcomputer Circuits Prof Jess UEAB 2007 Designing a Microprocessor Chapter 1

Microcomputer Circuits Prof Jess UEAB 2007 Expectations Being a computer science or electrical engineering student, you have probably assembled a PC. You have gone out to purchase the motherboard, CPU, memory, disk drive, video card, sound card and other necessary parts. You have assembled them together, and have made yourself a state-of-the-art working computer. But have you ever wonder how the circuits inside those IC (integrated circuit) chips are designed You know how the PC works at the system level by installing the operating system and seeing your machine comes to life. But have you thought about how your PC works at the circuit level? How is the memory designed or how is the CPU circuit designed?

Microcomputer Circuits Prof Jess UEAB 2007 Overview of a Microprocessor The Von Neumann model of a computer, picture in Figure 1, consists of four main components: the input, the output, the memory and the CPU (central processing unit). The parts that you purchased for your computer can all be categorized into one of these four groups. The keyboard and mouse are examples of input devices. The CRT (cathode ray tube) and speakers are examples of output devices. The different types of memory, cache, read-only memory (ROM) and random-access memory (RAM), and the disk drive are all consider as part of the memory box in the model. In this book, the focus is not in the mechanical aspects of the input, output and storage devices. Rather, the focus is in the design of the digital circuitry of the CPU (also referred to as the microprocessor), the memory and other supporting logical circuits.

Microcomputer Circuits Prof Jess UEAB 2007

The controller is a finite state machine (FSM) because it is a machine that executes by going from one state to another, and the fact that there are only a finite number of states for the machine to go to. The controller is made up of three parts: the next-state logic, the state memory, and the output logic. The purpose of the state memory is to remember the current state that the FSM is in. The next-state logic is the circuit for determining what the next state ought to be for the machine. And the output logic is the circuit for generating the actual control signals for controlling the datapath.

Microcomputer Circuits Prof Jess UEAB 2007 Every digital logic circuit, regardless of whether it is part of the control unit or the datapath, is categorized as either a combinational circuit or a sequential circuit. A combinational circuit is one where the output of the circuit is dependent only on the current inputs to the circuit. For example, an adder circuit is a combinational circuit. It takes two numbers as inputs. When given the two inputs, the adder outputs the sum of the two numbers as the output.

Microcomputer Circuits Prof Jess UEAB 2007 However, regardless of whether a circuit is combinational or sequential, they are all made up of the three basic logic gates: AND, OR, and NOT gates. From these three basic gates, the most powerful computer can be made. Furthermore, these basic gates are built using transistors – the fundamental building blocks for all digital logic circuits. Transistors are just electronic binary switches that can be turned on or off. The on and off states of transistors are used to represent the two binary values 1 and 0.

Microcomputer Circuits Prof Jess UEAB 2007

Design Abstraction Levels Designing at the transistor level, The next level up in the abstraction is the gate level.

Microcomputer Circuits Prof Jess UEAB 2007 These combinational and sequential components are used at the register-transfer level in building the datapath and the control unit in the microprocessor. At the register-transfer level, we are concerned about how the data is transferred between the various registers and functional units to realize or solve the problem at hand. Finally, at the highest level, which is the behavioral level, we construct the circuit by describing the behavior or operation of the circuit using a hardware description language. This is very similar to writing a program using a programming language.

Microcomputer Circuits Prof Jess UEAB 2007 Examples of a 2-input Multiplexer

Microcomputer Circuits Prof Jess UEAB 2007 Behavioral Level We can describe the operation of the 2-input multiplexer simply, using the same names as in the logic symbol, by saying that d0 passes to y when s = 0 and d1 passes to y when s = 1 Or more precisely, the binary value that is at d0 passes to y when s = 0, and the binary value that is at d1 passes to y when s = 1.

Microcomputer Circuits Prof Jess UEAB 2007

After all the preliminary stuff in the code, the actual description of the operation of the multiplexer is in the one line y <= d0 WHEN s = '0' ELSE d1; which says that the signal y gets the value of d0 when s is equal to 0, otherwise, y gets the value of d1. Almost exactly word for word!

Microcomputer Circuits Prof Jess UEAB 2007 Gate Level Figure 6. Gate level circuit diagram for the 2-input multiplexer: (a) circuit using eight gates; (b) circuit using four gates.

Microcomputer Circuits Prof Jess UEAB 2007 The Boolean equation in (b) can be derived from either the circuit diagram or the truth table. The first equality in (b) matches the truth table in (a) and also the circuit diagram in Figure 6 (a). The second equality in (b) matches the circuit diagram in Figure 6 (b). To derive the equation from the truth table, we look at all the rows where the output y is a 1. Each of these rows results in a term in the equation. For each term, the variable is primed when the value of the variable is a 0, and unprimed when the value of the variable is a 1.

Microcomputer Circuits Prof Jess UEAB 2007 Figure 7. Gate level description for the 2-input multiplexer: (a) using a truth table; (b) using a Boolean equation.

Microcomputer Circuits Prof Jess UEAB 2007 Transistor Level Figure 8. Transistor circuit for the 2-input multiplexer.

Microcomputer Circuits Prof Jess UEAB 2007