Introduction to Embedded Computing

Slides:



Advertisements
Similar presentations
Microprocessor and Microcontroller Fundamentals
Advertisements

Chapter 4: The Building Blocks: Binary Numbers, Boolean Logic, and Gates Invitation to Computer Science, C++ Version, Third Edition.
1 Introduction Chapter 1 n What is Assembly Language? n Data Representation.
Connecting with Computer Science 2 Objectives Learn why numbering systems are important to understand Refresh your knowledge of powers of numbers Learn.
Digital Information Technology
The Microcomputer System In this presentation you will: Investigate the microprocessor Title Page.
Chapter 5 Data representation.
©Brooks/Cole, 2003 Chapter 2 Data Representation.
(2.1) Fundamentals  Terms for magnitudes – logarithms and logarithmic graphs  Digital representations – Binary numbers – Text – Analog information 
Lecture 5.
CSC 101 Introduction to Computing Lecture 9 Dr. Iftikhar Azim Niaz 1.
Computers Organization & Assembly Language
© Paradigm Publishing Inc. 2-1 Chapter 2 Input and Processing.
Practical PC, 7th Edition Chapter 17: Looking Under the Hood
Computer Some basic concepts. Binary number Why binary? Look at a decimal number: 3511 Look at a binary number: 1011 counting decimal binary
Invitation to Computer Science 5th Edition
Chapter 11 Fluency with Information Technology 4 th edition by Lawrence Snyder (slides by Deborah Woodall : 1.
Chapter 2 Computer Hardware
Foundations of Computer Science Computing …it is all about Data Representation, Storage, Processing, and Communication of Data 10/4/20151CS 112 – Foundations.
Chapter 1: Basic Concepts
1 Introduction Chapter 1 n What is Assembly Language? n Data Representation.
Lec 3: Data Representation Computer Organization & Assembly Language Programming.
Computer Systems Organization CS 1428 Foundations of Computer Science.
© Paradigm Publishing Inc. 2-1 Chapter 2 Input and Processing.
1 i206: Lecture 2: Computer Architecture, Binary Encodings, and Data Representation Marti Hearst Spring 2012.
What is a computer? A computer is a device that:
Chapter 17 Looking “Under the Hood”. 2Practical PC 5 th Edition Chapter 17 Getting Started In this Chapter, you will learn: − How does a computer work.
Data Representation, Number Systems and Base Conversions
I/O Memory Reg File ALU Program Counter Instruction Register Control Interconnect Control 1)PC contains mem address of Instruction, 2)From memory, instr.
Input and Processing Chapter 2 - Computers- Understanding Technology.
Computer Science I Storing data. Binary numbers. Classwork/homework: Catch up. Do analysis of image types.
Data Representation.
Data Representation. How is data stored on a computer? Registers, main memory, etc. consists of grids of transistors Transistors are in one of two states,
Software Design and Development Storing Data Part 2 Text, sound and video Computing Science.
 Computers are 2-state devices › Pulse – No pulse › On – Off  Represented by › 1 – 0  BINARY.
1 Chapter 1: Introduction Appendix A: Binary and Hexadecimal Tutorial Assembly Language for Intel-Based Computers, 3rd edition Kip R. Irvine.
1 Chapter 1: Basic Concepts Assembly Language for Intel-Based Computers, 4th edition Kip R. Irvine 9/6/2003.
Multimedia Systems Dr. Wissam Alkhadour.
Chapter 17 Looking “Under the Hood”
DAT10403 CHAPTER 4 COMPUTER ARITHMETIC By Noordiana Kassim
GCSE COMPUTER SCIENCE Topic 3 - Data 3.2 Data Representation.
Invitation to Computer Science, C++ Version, Fourth Edition
Data Representation.
Lec 3: Data Representation
Microprocessor and Microcontroller Fundamentals
Microprocessor and Microcontroller Fundamentals
Everything is a number Everything in a computer memory and on storages is a number. Number  Number Characters  Number by ASCII code Sounds  Number.
Computer Architecture & Operations I
Assembly Language (CSW 353)
Topics Introduction Hardware and Software How Computers Store Data
Control Unit Lecture 6.
x86 Processor Architecture
Data Representation Binary Numbers Binary Addition
Microprocessor Systems Design I
IPCOWALA INSTITUTE OF ENGINEERING & TECHNOLOGY-DHARMAJ
Invitation to Computer Science, Java Version, Third Edition
CHAPTER 2 - DIGITAL DATA REPRESENTATION AND NUMBERING SYSTEMS
CHAPTER 2 - DIGITAL DATA REPRESENTATION AND NUMBERING SYSTEMS
Lesson 2: Introduction to Control programming using Labview
The Building Blocks: Binary Numbers, Boolean Logic, and Gates
Topics Introduction Hardware and Software How Computers Store Data
Chapter 2 Data Representation.
Overview of Computer Architecture and Organization
How Computers Store Data
Chapter 3 DataStorage Foundations of Computer Science ã Cengage Learning.
Introduction to Microprocessor Programming
Chapter 17 Looking “Under the Hood”
Lecture 36 – Unit 6 – Under the Hood Binary Encoding – Part 2
Part I Data Representation and 8086 Microprocessors
Presentation transcript:

Introduction to Embedded Computing Adam Hoover

Computing Fundamentals All these devices include: Processor(s) Memory Bus Input/output (I/O) All computations use: Binary data (1’s and 0’s) Fetch/Decode/Execute Instruction Set Architecture (ISA) How do they differ?

Design Axes Suppose you have a travel problem… Transportation modes differ in: Size Cost Fuel Origination/Destination …

Distance as the design axis mode Distance to be travelled

Computing Design Axes Differences could include: Size Cost “Processing power” Processor clock speed Computations/second Memory bandwidth # processing elements (cores) “Display power” Frame rate Triangles/second Screen size These are classic axes for desktops, laptops, etc.

Data Type Axis Elevator Clock, pedometer Data type Example product Boolean Numeric Text Transaction Sound Image/video Elevator Clock, pedometer Airport departures, highway message boards ATM (banking), cash register Smoke alarm, surround sound Video player, smartphone

? Data Type Axis Data type Example product Input Output Computing components Boolean Elevator Numeric Clock, pedometer Text Airport departures, highway message boards Transaction ATM (banking), cash register Sound Smoke alarm, answering machine Image/video Video player, smartphone Push buttons On/off lights Segmented display Switches, dials Dot matrix display ? Keyboard Text display (font) Keypad Microphone Speakers Graphics display (pixels) Camera

Data Types What is 10011? Boolean: 0 => false 1 => true TFFTT Unsigned magnitude: each bit => 2n 1+2+16=19 Signed magnitude: 1st bit => sign remaining bits => 2n -3 Two’s complement: positive integers => unsigned mag negative integers => reverse bits, add 1 01100+00001 = 01101 -(1+4+8) = -13

Data Types Why use two’s complement? Makes addition/subtraction easy. Positive/negative numbers handled the same. Example: 5 + (-2) = 3 5 => 00101 +2 => 00010 -2 => 11101 + 00001 => 11110 5 + (-2) => 00101 + 11110 --------- 1 00011 (throw away carry bit) = 3 circuit in chip Computing chips customized to work with different data types

Data Types What is 10011? Fixed point: n spans - to + in 2n decimal point fixed example: 22 21 20 2-1 2-2 4.75 Signed fixed point: as above, 1st bit => sign -0.75 Floating point: sign bit s bits for significand e bits for exponent formula varies but basic idea is number = (sign) 1.s × 2e -1.00 × 23 = -8.0

Data Types What is 10011? ASCII: 7-bit patterns of alphanumeric and control signals examples: 0100 0001 => 65 => A 0101 1101 => 93 => a 0000 1001 => 9 => horizontal tab 5/8 of a character? UNICODE: 32-bit patterns (all language symbols) example: 0000 0011 1100 0000 => 03C0 (hex) => π 5/32 of a character?

Data Types Sound: air pressure measured over time

Data Types Digitizing sound Design choices include: Sampling rate 44 KHz common Bit depth 8, 16, 24, 32 Encoding: Pulse code modulation (PCM) differential PCM #channels 1 => mono 2 => stereo 6 or 7 => surround Bit depth Sampling rate

Data Types Image: visible light measured over space similar phenomenon to sound, but (a) much faster! 390-700 nm waves => 430-790 teraHz computing circuits cannot sample this fast instead, accumulate total power during open shutter (b) many more channels! 480x640, 1024x768, etc. digitize each channel separately into “pixel” Design choices include: Wavelength frequencies (RGB, greyscale, IR) Raster size Sampling rate (for video) Pixel encoding (lots of choices)

Data Type Axis Data type Example product Input Output Computing components Boolean Elevator Push buttons On/off lights Different types of processors, memories, buses, data compression, operating systems, and I/O interfacing Numeric Clock, pedometer 0-9 keypad Segmented display Text Airport departures, highway message boards Keyboard Dot matrix display Transaction ATM (banking), cash register Keypad Text display (font) Sound Smoke alarm, answering machine Microphone Speakers Image/video Video player, smartphone Camera Graphics display (pixels)