Introduction. Definition. What is an embedded system? What are embedded systems? Challenges in embedded computing system design. Design methodologies.

Similar documents
The Embedded System Design Process. Wolf Text - Chapter 1.3

The Embedded System Design Process. Wolf Text - Chapter 1.3

José Costa What is an embedded system? Examples of embedded systems. Characteristics of embedded systems

Reference: Barry & Crowley, Modern Embedded Computing: Designing Connected, Pervasive, Media-Rich Systems, Morgan Kaufmann, 2012.

Reminder. Course project team forming deadline. Course project ideas. Friday 9/8 11:59pm You will be randomly assigned to a team after the deadline

Introduction. zwhat are embedded systems? zchallenges in embedded computing system design. zdesign methodologies Morgan Kaufman

ELEC 5260/6260/6266 Embedded Computing Systems

Design of Embedded Systems

Reminder. Course project team forming deadline. Course project ideas. Next milestone

Digital Systems Design. Introduction to embedded and digital systems

Introduction to Embedded Systems. Jin-Soo Kim Computer Systems Laboratory Sungkyunkwan University

ELEC 5260/6260/6266 Embedded Computing Systems

Introduction to Embedded Systems. Jin-Soo Kim Computer Systems Laboratory Sungkyunkwan University

Introduction to Embedded Systems

Sistemi Embedded Introduzione

CS 211: Computer Architecture course wrapup: : goodbye to cs211!

ECE 1160/2160 Embedded Systems Design. Midterm Review. Wei Gao. ECE 1160/2160 Embedded Systems Design

ECE 1160/2160 Embedded Systems Design. Introduction. Wei Gao. ECE 1160/2160 Embedded Systems Design 1

ECE 1161/2161 Embedded Computer System Design 2. Introduction. Wei Gao. Spring

COSC What is an embedded system?

ICS 180 Spring Embedded Systems. Introduction: What are Embedded Systems and what is so interesting about them?

CprE 588 Embedded Computer Systems

Lecture 12: EIT090 Computer Architecture

Embedded Computation

CENG 336 Introduction to Embedded Systems Development. Lecture 1: An Introduction to Computers and Embedded Systems

CENG-336 Introduction to Embedded Systems Development

Davide Rossi DEI University of Bologna AA

Introduction to Embedded Systems

Embedded System Design

Hardware/Software Co-design

EE Embedded Systems Design

Hardware-Software Codesign. 1. Introduction

Embedded Systems. Octav Chipara. Thursday, September 13, 12

Introduction to Embedded Systems

Today s Agenda Background/Experience Course Information Altera DE2B Board do Overview Introduction to Embedded Systems Design Abstraction Microprocess

Hardware Software Codesign of Embedded Systems

Platform Selection Motivating Example and Case Study

ECE332, Week 2, Lecture 3. September 5, 2007

ECE332, Week 2, Lecture 3

EMBEDDED SYSTEM BASICS AND APPLICATION

SISTEMI EMBEDDED. Embedded Systems SOPC Design Flow. Federico Baronti Last version:

CMPE 310: Systems Design and Programming

Embedded Systems Dr. Santanu Chaudhury Department of Electrical Engineering Indian Institute of Technology, Delhi. Lecture - 10 System on Chip (SOC)

Signals and Systems. Signal Processing Communication Principle Linear Systems Control System. Fall Signals and Systems.

System on Chip (SoC) Design

EEL 4783: Hardware/Software Co-design with FPGAs

Embedded Systems and Software

Embedded System Design

Hardware-Software Codesign. 1. Introduction

HW/SW Co-design. Design of Embedded Systems Jaap Hofstede Version 3, September 1999

e-pg Pathshala Subject : Computer Science Paper: Embedded System Module: Embedded System Design Process Module No: CS/ES/33 Quadrant 1 e-text

Selecting an embedded microprocessor. How do we choose the right up or uc? Selecting an embedded microprocessor-2. More on data path width

EE382V: System-on-a-Chip (SoC) Design

VLSI Design Automation. Maurizio Palesi

EE382V: System-on-a-Chip (SoC) Design

When Girls Design CPUs!

Embedded Systems: Architecture

Lesson 2. Introduction to Real Time Embedded Systems Part II. mywbut.com

Basic Components of Digital Computer

CHAPTER 4 MARIE: An Introduction to a Simple Computer

VLSI Design Automation

Choosing a Micro for an Embedded System Application

Modeling and Simulation of System-on. Platorms. Politecnico di Milano. Donatella Sciuto. Piazza Leonardo da Vinci 32, 20131, Milano

EE4380 Microprocessor Design Project

Embedded Systems Introduction

Platform-based Design

Hardware Software Codesign of Embedded System

e-pg Pathshala Subject : Computer Science Paper: Embedded System Module: Microcontrollers and Embedded Processors Module No: CS/ES/2 Quadrant 1 e-text

ECE 448 Lecture 15. Overview of Embedded SoC Systems

FPGA BASED SYSTEM DESIGN. Dr. Tayab Din Memon Lecture 1 & 2

CPE 323 Introduction to Embedded Computer Systems: Introduction. Instructor: Dr Aleksandar Milenkovic

In this tutorial, we will discuss the architecture, pin diagram and other key concepts of microprocessors.

DIGITAL DESIGN TECHNOLOGY & TECHNIQUES

Co-synthesis and Accelerator based Embedded System Design

Calendar Description

CS-424/580A Microcontrollers and Robotics

Microprocessors And Microcontroller

RISC Processors and Parallel Processing. Section and 3.3.6

Microprocessors, Lecture 1: Introduction to Microprocessors

EECE 321: Computer Organization

Introduction to System-on-Chip

HotChips An innovative HD video and digital image processor for low-cost digital entertainment products. Deepu Talla.

CprE 488 Embedded Systems Design. Lecture 1 Introduction

What is an Embedded System?

UNIT 1 (ECS-10CS72) VTU Question paper solutions

Introduction to Microcontrollers

RE for Embedded Systems - Part 1

System Level Design with IBM PowerPC Models

EC EMBEDDED AND REAL TIME SYSTEMS

Building A Custom System-On-A-Chip

VLSI Design Automation. Calcolatori Elettronici Ing. Informatica

Typical DSP application

Computer Architecture Dr. Charles Kim Howard University

Computer Systems Architecture

The Use Of Virtual Platforms In MP-SoC Design. Eshel Haritan, VP Engineering CoWare Inc. MPSoC 2006

Computer Architecture s Changing Definition

System-level simulation (HW/SW co-simulation) Outline. EE290A: Design of Embedded System ASV/LL 9/10

System Design and Methodology/ Embedded Systems Design (Modeling and Design of Embedded Systems)

ESE Back End 2.0. D. Gajski, S. Abdi. (with contributions from H. Cho, D. Shin, A. Gerstlauer)

Long Term Trends for Embedded System Design

Transcription:

Introduction What are embedded systems? Challenges in embedded computing system design. Design methodologies. What is an embedded system? Communication Avionics Automobile Consumer Electronics Office Equipment Household Appliances Definition Embedded system: any device that includes a programmable computer but is not itself a general-purpose computer. Take advantage of application characteristics to optimize the design: don t need all the general-purpose bells and whistles 1

Embedding a computer output analog CPU input analog embedded computer mem Early history Late 1940 s: MIT Whirlwind computer was designed for real-time operations. Originally designed to control an aircraft simulator. Rockwell calculator multi-chip set appeared in 1968 (Sharp calculator). HP35 used multi-chip set to implement a microprocessor in 1972. First microprocessor (CPU on a single chip) was Intel 4004 in 1971. (8008 appeared in 1972) Automobiles used microprocessor-based engine controllers starting in 1970 s. Control fuel/air mixture, engine timing, etc. Multiple modes of operation: warm-up, cruise, hill climbing, etc. Provides lower emissions, better fuel efficiency. Microprocessor varieties Microprocessor: Central CPU and services. Microcontroller: CPU along with I/O devices, onboard memory. Digital signal processor (DSP): microprocessor optimized for digital signal processing (typified by multiply-and-accumulate). Typical embedded word sizes: 8-bit, 16-bit, 32- bit. 2

Application examples Simple control: front panel of microwave oven, etc. Canon EOS 3 has three microprocessors. 32-bit RISC CPU runs autofocus and eye control systems. Analog TV: channel selection, etc. Digital TV: programmable CPUs + hardwired logic. Automotive embedded systems Today s high-end automobiles may have > 100 microprocessors: 4-bit microcontroller checks seat belt microcontrollers run dashboard devices 16/32-bit microprocessor controls engine GPS, ABS, HD/Satellite, radar, cruise Millions lines of code Example: Camera Control System 3

Camera - Distributed Control Digital Camera System CCD Digital camera chip A2D CCD preprocessor Pixel coprocessor D2A lens JPEG codec Microcontroller Multiplier/Accum DMA controller Display ctrl Memory controller ISA bus interface UART LCD ctrl Characteristics of embedded systems Sophisticated functionality. Real-time operation. Low manufacturing cost. Low power. Designed to tight deadlines by small teams. 4

Functional complexity Often have to run sophisticated algorithms or multiple algorithms. Cell phone, laser printer. Often provide sophisticated user interfaces. Real-time operation Must finish operations by deadlines. Hard real time: missing deadline causes failure. Soft real time: missing deadline results in degraded performance. Many systems are multi-rate: must handle operations at widely varying rates. Non-functional requirements Many embedded systems are massmarket items that must have low manufacturing costs. Limited memory, microprocessor power, etc. Power consumption is critical in batterypowered devices. Excessive power consumption increases system cost even in wall-powered devices. 5

Design teams Often designed by a small team of designers. Often must meet tight deadlines. 6 month market window is common. Can t miss back-to-school window for calculator. Why use microprocessors? Alternatives: field-programmable gate arrays (FPGAs), custom logic, etc. Microprocessors are often very efficient: can use same logic to perform many different functions. Microprocessors simplify the design of families of products. The performance paradox Microprocessors use much more logic to implement a function than does custom logic. But microprocessors are often at least as fast: heavily pipelined; large design teams behind them; aggressive VLSI technology. 6

Power Custom logic is a clear winner for low power devices. Modern microprocessors offer features to help control power consumption. Software design techniques can help reduce power consumption. Challenges in embedded system design How much hardware do we need? How big is the CPU? Memory? How do we meet our deadlines? Faster hardware or cleverer software? How do we minimize power? Turn off unnecessary logic? Reduce memory accesses? Challenges, etc. Does it really work? Is the specification correct? Does the implementation meet the spec? How do we test for real-time characteristics? How do we test on real data? How do we work on the system? Observability, controllability? What is our development platform? 7

Design methodologies A procedure for designing a system. Understanding your methodology helps you ensure you didn t skip anything. Compilers, software engineering tools, computer-aided design (CAD) tools, etc., can be used to: help automate methodology steps; keep track of the methodology itself. Design goals Performance. Overall speed, deadlines. Functionality and user interface. Manufacturing cost. Power consumption. Other requirements (physical size, etc.) Levels of design abstraction requirements specification architecture component design system integration 8

Classic Waterfall Development Model The Reality of Development Traditional Embedded System Design SW and HW partitioning is decided at an early stage Using commodity components, board level design Software Software Compiler Application Function Hardware Hardware Assembler Linker Linker Binary Binary on on ucontroller ucontroller Off-the-shelf Off-the-shelf hardware hardware Implementation 9

HW/SW Codesign Style An integrated design flow of hardware and software Often targeting SoCs, not constrained by commodity components Application Application Software Software Compilation, Compilation, etc. etc. HW/SW Partitioning Hardware Hardware Synthesis Synthesis Performance Estimation Virtual Virtual prototype prototype Cosimulation Cosimulation Processor Processor + Hardwired Hardwired Binary Binary Code System-onchip Code Components Components Top-down vs. bottom-up Top-down design: start from most abstract description; work to most detailed. Bottom-up design: work from small components to big system. Real design uses both techniques. Stepwise refinement At each level of abstraction, we must: analyze the design to determine characteristics of the current state of the design; refine the design to add detail. 10

Levels of design abstraction requirements specification architecture component design system integration Requirements Plain language description of what the user wants and expects to get. May be developed in several ways: talking directly to customers; talking to marketing representatives; providing prototypes to users for comment. Functional requirements: output as a function of input. Non-functional requirements such as: time required to compute output; size, weight, etc.; power consumption; reliability; Our requirements form name purpose inputs outputs functions performance manufacturing cost power physical size/weight 11

Example: GPS moving map Moving map obtains position from GPS, paints map from local database. GPS moving map needs Functionality: For automotive use. Show vehicle position on major roads and landmarks. User interface: At least 400 x 600 pixel screen. Three buttons max. Pop-up menu. Performance: Map should scroll smoothly. No more than 1 sec power-up. Lock onto GPS within 15 seconds. Cost: $500 street price = approx. $100 cost of goods sold. GPS moving map (cont d.) Physical size/weight: Should fit on dashboard. Power consumption: Current draw comparable to CD player. 12

GPS moving map requirements name GPS moving map purpose consumer-grade moving map for driving inputs power button, two control buttons outputs back-lit LCD 400 X 600 functions 5-receiver GPS; three resolutions; displays current lat/lon performance updates screen within 0.25 sec of movement manufacturing cost $100 cost-of-goodssold power 100 mw physical size/weight no more than 2 X 6, 12 oz. Specification A more precise description of the system: should not imply a particular architecture; provides input to the architecture design process. May include functional and non-functional elements. May be in executable or may be in mathematical form for proofs. GPS specification Should include: What is received from GPS; map data; user interface; operations required to satisfy user requests; background operations needed to keep the system running. 13

Architecture design What major components are necessary to satisfy the specification? Hardware components: CPUs, peripherals, etc. Software components: major programs and their operations. Must take into account functional and non-functional specifications. GPS moving map block diagram GPS receiver search engine renderer display database user interface GPS moving map hardware architecture display frame buffer memory CPU GPS receiver panel I/O 14

GPS moving map software architecture database search renderer pixels position user interface timer System integration Put together the components. Many bugs appear only at this stage. Have a plan for integrating components to uncover bugs quickly, test as much functionality as early as possible. Summary Embedded computers are all around us. Many systems have complex embedded hardware and software. Embedded systems pose many design challenges: design time, deadlines, power, etc. Design methodologies help us manage the design process. 15