Microprocessor Systems Design I

Slides:



Advertisements
Similar presentations
Chapter 2 Data Manipulation Dr. Farzana Rahman Assistant Professor Department of Computer Science James Madison University 1 Some sldes are adapted from.
Advertisements

Microprocessor Systems Design I
EEE226 MICROPROCESSORBY DR. ZAINI ABDUL HALIM School of Electrical & Electronic Engineering USM.
©TheMcGraw-Hill Companies, Inc. Permission required for reproduction or display. COMPSCI 125 Introduction to Computer Science I.
Elements of the Computer (How a processor works)
1 Introduction to computers Overview l · Grading Policy »Cheating Rules (serious concern) »Examinations and Fixation of Timings »Quizzes »Homework Assignments.
Microcontroller: Introduction
Riyadh Philanthropic Society For Science Prince Sultan College For Woman Dept. of Computer & Information Sciences CS 251 Introduction to Computer Organization.
Computer Organization & Assembly Language
CS 1308 Computer Literacy and the Internet Computer Systems Organization.
Computer Organization and Design Computer Abstractions and Technology
Computer Architecture And Organization UNIT-II General System Architecture.
Computer System Design Lecture 1 Wannarat Suntiamorntut.
Chapter 1 Computer Abstractions and Technology. Chapter 1 — Computer Abstractions and Technology — 2 The Computer Revolution Progress in computer technology.
Computer Organization & Assembly Language © by DR. M. Amer.
Computer Programming for Engineers CMPSC 201C Fall 2000.
Introduction Computer Organization Spring 1436/37H (2015/16G) Dr. Mohammed Sinky Computer Architecture
Microprocessors CSE- 341 Dr. Jia Uddin Assistant Professor, CSE, BRAC University.
1 Chapter 1 Basic Structures Of Computers. Computer : Introduction A computer is an electronic machine,devised for performing calculations and controlling.
BITS Pilani Pilani Campus Pawan Sharma ES C263 Microprocessor Programming and Interfacing.
Chapter 1: Introduction to Computers and Programming
Computer Organization and Architecture Lecture 1 : Introduction
Microprocessor Systems Design I
Microprocessor Systems Design I
Computer Engineering Department Islamic University of Gaza
Computer Science II Chapter 1.
Microprocessor Systems Design I
Morgan Kaufmann Publishers
ES C263 Microprocessor Programming and Interfacing
Chapter 1: An Overview of Computers and Programming Languages
Microprocessor Systems Design I
ECE Application Programming
ECE Application Programming
ECE Application Programming
/ Computer Architecture and Design
Microprocessor Systems Design I
IT253: Computer Organization
Microprocessor Systems Design I
COMPUTER ORGANIZATION & ASSEMBLY LANGUAGE
GC101 Introduction to computers and programs
Microprocessor Systems Design I
Microprocessor Systems Design I
Microprocessor Systems Design I
Computer Architecture
Introduction of microprocessor
Computer Organization & Assembly language
Instructor Materials Chapter 1: Introduction to the Personal Computer
EECE.3170 Microprocessor Systems Design I
Chapter 1: Introduction to Computers and Programming
Computer Science I CSC 135.
Topics Introduction Hardware and Software How Computers Store Data
Instruction encoding We’ve already seen some important aspects of processor design. A datapath contains an ALU, registers and memory. Programmers and compilers.
Ghifar Parahyangan Catholic University August 22, 2011
Chapter 5: Computer Systems Organization
Syllabus.
Computer Architecture
EECE.2160 ECE Application Programming
EECE.2160 ECE Application Programming
ECE 265 Introduction to Microcontroller Based Systems (A first course in computer architecture) 9/28/ ECE265.
Introduction to Computer Systems
EECE.2160 ECE Application Programming
EECE.3220 Data Structures Instructor: Dr. Michael Geiger Spring 2017
EECE.4810/EECE.5730 Operating Systems
EECE.2160 ECE Application Programming
Professor: Shereen Khoja
Computer components is a programmable machine that receives input, stores and manipulates data, and provides output in a useful format. Computer The computer.
ICS103 Programming in C 1: Overview of Computers And Programming
Chapter 4 The Von Neumann Model
Dr. Clincy Professor of CS
Chapter 1: Introduction to Computers and Programming
Presentation transcript:

16.317 Microprocessor Systems Design I Instructor: Dr. Michael Geiger Fall 2014 Lecture 1: Course overview General microprocessor introduction

Microprocessors I: Lecture 1 Lecture outline Course overview Instructor information Course materials Course policies Resources Tentative course outline General microprocessor introduction History Role of the instruction set architecture 5/11/2018 Microprocessors I: Lecture 1

Course staff & meeting times Lectures: MWF 8-8:50 AM, Ball 328 Lab: Will have card access to Ball 407 Instructor: Dr. Michael Geiger E-mail: Michael_Geiger@uml.edu Phone: 978-934-3618 (x43618 on campus) Office: 118A Perry Hall Office hours: M 1-2:30, W 1-2:30, Th 3-4:30 Student questions are top priority during these hours Also available MWF 9-11:45 and Th 4:30-6:15, or by appointment at other times TA: Lu He (Lu_He@student.uml.edu) 5/11/2018 Microprocessors I: Lecture 1

Microprocessors I: Lecture 1 Course materials Textbook: Barry B. Brey, The Intel Microprocessors: Architecture Programming, and Interfacing, 2008, Prentice Hall. ISBN: 0135026458 Course website: http://mgeiger.eng.uml.edu/16317/f14/index.htm Will contain lecture slides, handouts, assignments Discussion group through piazza.com Allow common questions to be answered for everyone All course announcements will be posted here Will use as class mailing list—please enroll ASAP 5/11/2018 Microprocessors I: Lecture 1

Microprocessors I: Lecture 1 Course policies Prerequisites: 16.265 (Logic Design) 16.365 (Electronics I) (not a co-requisite) Assignments Homework, labs, and some “hybrid” assignments (problems + programming exercise(s)) Late assignments: 10% penalty per day All HW individual unless otherwise specified Some assignments require instructor “check-off” 5/11/2018 Microprocessors I: Lecture 1

Microprocessors I: Lecture 1 Academic honesty All assignments are to be done individually unless explicitly specified otherwise by the instructor Any copied solutions, whether from another student or an outside source, are subject to penalty You may discuss general topics or help one another with specific errors, but not share assignment solutions Must acknowledge assistance from classmate in submission 5/11/2018 Microprocessors I: Lecture 1

Course policies (cont.) Grading breakdown Assignments: 55% Exam 1: 15% Exam 2: 15% Final: 15% Exam dates Exam 1: Wednesday, October 1 in class Exam 2: Wednesday, November 5 in class Exam 3: TBD (during finals) 5/11/2018 Microprocessors I: Lecture 1

What you should learn in this class Basics of computers vs. microprocessors Two major aspects: How to program Focus on assembly language Will look at HLL  assembly translation, integration Use of HLL with microcontrollers How a microprocessor works with other components Focus on interfacing circuits and control schemes Will work with two processor families: Intel x86 architecture  assembly language simulation PIC microcontroller  actual microcontroller programming, interfacing 5/11/2018 Microprocessors I: Lecture 1 · To understand the interconnection of the CPU, memory, and I/O

Tentative course outline General microprocessor introduction Assembly language programming Start with x86; introduce PIC microcontroller about halfway Areas will include Addressing modes Instruction types Programming modes HLL and assembly—translation; combination External interfacing Processor signals used in interfacing Interface circuitry External memory Interrupts Microcontroller-based systems Microcontrollers vs. microprocessors Design of microcontroller-based circuits High-level programming of microcontrollers 5/11/2018 Microprocessors I: Lecture 1

Microprocessors I: Lecture 1 What is a computer? From The American Heritage Dictionary: “One who computes” We could argue that people are computers “A device that computes, especially a programmable electronic machine that performs high-speed mathematical or logical operations or that assembles, stores, correlates, or otherwise processes information.” Anything from a simple abacus to the microprocessor-based computers of today 5/11/2018 Microprocessors I: Lecture 1

Microprocessors I: Lecture 1 Computing history Thirty tons Forced air cooling 200KW 19,000 vacuum tubes Punch card Manual wiring Numerical computation The first electronic digital computer – ENIAC, built in UPenn in 1946 Source: http://ei.cs.vt.edu/~history/ENIAC.Richey.HTML 5/11/2018 Microprocessors I: Lecture 1 Chapter 1

Today’s computer: one example iPhone 5s Technical Specifications Screen size 4 inches Screen resolution 1136 by 640 at 326 ppi Input method Multi-touch Operating system iOS 7.0.4 Storage 16 / 32 / 64 GB Cellular network UMTS/GSM/CDMA Wireless data Wi-Fi (802.11a/b/g/n) + LTE + Bluetooth 4.0 Camera 8.0 megapixels Battery Up to 10 hrs Internet, 10 hrs talk, 10 hrs video, 40 hrs audio, 250 hrs standby Dimensions 4.87 x 2.31 x 0.3 inches Weight 3.95 ounces Source: http://www.apple.com/iphone/specs.html 5/11/2018 Microprocessors I: Lecture 1 Chapter 1

Processor market (as of 2007) “Computer” used to just refer to PCs Processors—and, therefore, computers—are now everywhere 5/11/2018 Microprocessors I: Lecture 1

Microprocessors I: Lecture 1 Computer components What are the key components of a computer? Microprocessor (MPU/CPU) performs computation Input to read data from external devices Examples: Keyboard, mouse, ports (Ethernet, USB, etc.) Output to transmit data to external devices Examples: screen, speaker, VGA interface, ports (Ethernet, USB, etc.) Storage to hold program code and data RAM, hard disk, possibly other media (CD/DVD, external drive) Will see that microprocessor contains smaller-scale versions of these components Computation engine I/O interface Internal storage 5/11/2018 Microprocessors I: Lecture 1 Chapter 1

Processor architecture “Architecture” can refer to High-level description of hardware; could be Overall system Microprocessor Subsystem within processor Operations available to programmer Instruction set architecture Other applications to computing (e.g., “software architecture”) we won’t discuss Commonly used to discuss functional units and how they work together 5/11/2018 Microprocessors I: Lecture 1

Microprocessors I: Lecture 1 Role of the ISA User writes high-level language (HLL) program Compiler converts HLL program into assembly for the particular instruction set architecture (ISA) Assembler converts assembly into machine language (bits) for that ISA Resulting machine language program is loaded into memory and run 5/11/2018 Microprocessors I: Lecture 1

Abstraction of program control Easiest for humans to understand high-level languages Processor interprets machine language Assembly language: abstraction with intermediate level of detail Breaks machine code into instructions Gives some insight into how each instruction behaves More readable than bit patterns! 5/11/2018 Microprocessors I: Lecture 1

Microprocessors I: Lecture 1 ISA design Think about a HLL statement like X[i] = i * 2; ISA defines how such statements are translated to machine code What information is needed? 5/11/2018 Microprocessors I: Lecture 1

Microprocessors I: Lecture 1 ISA design (cont.) Think about a HLL statement like X[i] = i * 2; Questions answered in every ISA (or “software model”) How will the processor implement this statement? What operations are available? How many operands does each instruction use? Where are X[i] and i? How do we reference the operands? What type(s) of data are X[i] and i? What types of operands are supported? How big are those operands? Instruction format issues How many bits per instruction? What does each bit or set of bits represent? Are all instructions the same length? 5/11/2018 Microprocessors I: Lecture 1

Microprocessors I: Lecture 1 Operation types Operations: what should processor be able to do? Data transfer Move data between storage locations Arithmetic operations Typical: add, subtract, maybe multiply/divide, negation Logical operations Typical: AND, OR, NOT, XOR Often includes bit manipulation: shifts, rotates, test/set/clear single bit Program control “Jump” to another part of program May be based on condition Used to implement loops, conditionals, function call/return Typically some processor-specific special purpose ops 5/11/2018 Microprocessors I: Lecture 1

Microprocessors I: Lecture 1 Operands Two major questions when dealing with data “How” do we store them?  what do the bits represent? Where do we store them? … and how do we access those locations)? First question deals with data types Second question deals with data storage and addressing 5/11/2018 Microprocessors I: Lecture 1

Microprocessors I: Lecture 1 Final notes Next time: Data types Data storage Addressing modes Reminders: Sign up for the discussion group on Piazza 5/11/2018 Microprocessors I: Lecture 1