Embedded Systems: Architecture

Similar documents
ARM Processor. Jin-Soo Kim Computer Systems Laboratory Sungkyunkwan University

Embedded Systems. 8. Hardware Components. Lothar Thiele. Computer Engineering and Networks Laboratory

Introduction to ASIC Design

Copyright 2016 Xilinx

ARM Processors for Embedded Applications

When Girls Design CPUs!

ECE 471 Embedded Systems Lecture 2

Embedded Systems. 7. System Components

ECE 471 Embedded Systems Lecture 2

ECE 471 Embedded Systems Lecture 3

Product Technical Brief S3C2416 May 2008

NAND Flash Memory. Jinkyu Jeong Computer Systems Laboratory Sungkyunkwan University

SoC Platforms and CPU Cores

Introduction CHAPTER IN THIS CHAPTER

Organization. 5.1 Semiconductor Main Memory. William Stallings Computer Organization and Architecture 6th Edition

Course Introduction. Purpose: Objectives: Content: Learning Time:

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

Overview of Microcontroller and Embedded Systems

Product Technical Brief S3C2440X Series Rev 2.0, Oct. 2003

Introduction to Embedded Systems

Network Embedded Systems Sensor Networks Fall Hardware. Marcus Chang,

ELCT 912: Advanced Embedded Systems

William Stallings Computer Organization and Architecture 6th Edition. Chapter 5 Internal Memory

Introduction to Microprocessor

ARM Cortex-A9 ARM v7-a. A programmer s perspective Part1

ECE 471 Embedded Systems Lecture 2

Zynq-7000 All Programmable SoC Product Overview

Chapter 5. Introduction ARM Cortex series

Parallel Simulation Accelerates Embedded Software Development, Debug and Test

IBM "Broadway" 512Mb GDDR3 Qimonda

Computer Organization and Microprocessors SYLLABUS CHAPTER - 1 : BASIC STRUCTURE OF COMPUTERS CHAPTER - 3 : THE MEMORY SYSTEM

About EmbeddedCraft. Embedded System Information Portal, regularly publishes. Follow us on

18-349: Embedded Real-Time Systems Lecture 2: ARM Architecture

Kevin Meehan Stephen Moskal Computer Architecture Winter 2012 Dr. Shaaban

Intelop. *As new IP blocks become available, please contact the factory for the latest updated info.

ELC4438: Embedded System Design Embedded Processor

Chapter 5 Internal Memory

ARM Cortex core microcontrollers 3. Cortex-M0, M4, M7

Product Technical Brief S3C2412 Rev 2.2, Apr. 2006

systems such as Linux (real time application interface Linux included). The unified 32-

Product Technical Brief S3C2413 Rev 2.2, Apr. 2006

Computer Organization. 8th Edition. Chapter 5 Internal Memory

Designing, developing, debugging ARM Cortex-A and Cortex-M heterogeneous multi-processor systems

SYSTEMS ON CHIP (SOC) FOR EMBEDDED APPLICATIONS

Parallel Computing Platforms

DQ8051. Revolutionary Quad-Pipelined Ultra High performance 8051 Microcontroller Core

NAND Flash Memory. Jin-Soo Kim Computer Systems Laboratory Sungkyunkwan University

SMARTPHONE HARDWARE: ANATOMY OF A HANDSET. Mainak Chaudhuri Indian Institute of Technology Kanpur Commonwealth of Learning Vancouver

Introduction to ASIC Design. Victor P. Nelson

Memory Expansion. Lecture Embedded Systems

SAE5C Computer Organization and Architecture. Unit : I - V

ARMed for Automotive. Table of Contents. SHARP and ARM Automotive Segments SHARP Target Applications SHARP Devices SHARP Support Network Summary

Building blocks for 64-bit Systems Development of System IP in ARM

Universität Dortmund. ARM Architecture

Copyright 2012, Elsevier Inc. All rights reserved.

Computer Architecture. A Quantitative Approach, Fifth Edition. Chapter 2. Memory Hierarchy Design. Copyright 2012, Elsevier Inc. All rights reserved.

The Nios II Family of Configurable Soft-core Processors

Cannon Mountain Dr Longmont, CO LS6410 Hardware Design Perspective

Ali Karimpour Associate Professor Ferdowsi University of Mashhad

PIC Microcontroller and

Advanced 1 Transistor DRAM Cells

Basic Organization Memory Cell Operation. CSCI 4717 Computer Architecture. ROM Uses. Random Access Memory. Semiconductor Memory Types

AVR Training Board-I. VLSI Design Lab., Konkuk Univ. LSI Design Lab

VLSI Design Lab., Konkuk Univ. Yong Beom Cho LSI Design Lab

Chapter 6 Storage and Other I/O Topics

Computer Architecture A Quantitative Approach, Fifth Edition. Chapter 2. Memory Hierarchy Design. Copyright 2012, Elsevier Inc. All rights reserved.

ATmega128. Introduction

Copyright 2012, Elsevier Inc. All rights reserved.

Computer Organization

Module 1. Introduction. Version 2 EE IIT, Kharagpur 1

Design and Implementation of an AHB SRAM Memory Controller

Low Power System Design

S2C K7 Prodigy Logic Module Series

Parallel Computing Platforms. Jinkyu Jeong Computer Systems Laboratory Sungkyunkwan University

LECTURE 5: MEMORY HIERARCHY DESIGN

Computers Are Your Future

Advanced Processor Architecture

Microcontroller Systems. ELET 3232 Topic 11: General Memory Interfacing

Chapter 15. ARM MCUs Architecture, Programming and Development Tools

CSC 170 Introduction to Computers and Their Applications. Computers

New System Solutions for Laser Printer Applications by Oreste Emanuele Zagano STMicroelectronics

Overview. Memory Classification Read-Only Memory (ROM) Random Access Memory (RAM) Functional Behavior of RAM. Implementing Static RAM

Introduction to Embedded Systems

Information Storage and Spintronics 10

C900 PowerPC G4+ Rugged 3U CompactPCI SBC

CONTACT: ,

Choosing a Micro for an Embedded System Application

Contents of this presentation: Some words about the ARM company

Embedded Systems: Hardware Components (part I) Todor Stefanov

Memory Systems for Embedded Applications. Chapter 4 (Sections )

Computers: Inside and Out

Computer Architecture Dr. Charles Kim Howard University

Memory Management. Mobile Hardware Resources. Address Space and Process. Memory Management Overview. Memory Management Concepts

ARM Architecture. Computer Organization and Assembly Languages Yung-Yu Chuang. with slides by Peng-Sheng Chen, Ville Pietikainen

ELC4438: Embedded System Design ARM Embedded Processor

Chapter 5. Internal Memory. Yonsei University

Systemy RT i embedded Wykład 5 Mikrokontrolery 32-bitowe AVR32, ARM. Wrocław 2013

Systems in Silicon. Converting Élan SC400/410 Design to Élan SC520

Product Series SoC Solutions Product Series 2016

Lecture 18: DRAM Technologies

Transcription:

Embedded Systems: Architecture Jinkyu Jeong (Jinkyu@skku.edu) Computer Systems Laboratory Sungkyunkwan University http://csl.skku.edu ICE3028: Embedded Systems Design, Fall 2018, Jinkyu Jeong (jinkyu@skku.edu)

Designing Embedded Systems Requirements Specification Architecture Component Design System Integration ICE3028: Embedded Systems Design, Fall 2018, Jinkyu Jeong (jinkyu@skku.edu) 2

Basic Architectures ICE3028: Embedded Systems Design, Fall 2018, Jinkyu Jeong (jinkyu@skku.edu)

Control Unit Custom logic FPGAs (Field-Programmable Gate Arrays) Microcontrollers Microprocessors DSPs (Digital Signal Processors) ASIPs (Application Specific Instruction-set Processors) Multicore? (symmetric vs. asymmetric) Typical word size: 8/16/32-bit ICE3028: Embedded Systems Design, Fall 2018, Jinkyu Jeong (jinkyu@skku.edu) 4

Why Microprocessors? Microprocessors ARM, MIPS, PowerPC, SuperH, Cell, Atom, Mostly less than 1 GHz Microprocessors are often very efficient Can use same logic to perform many different functions Microprocessors simplify the design of families of products ICE3028: Embedded Systems Design, Fall 2018, Jinkyu Jeong (jinkyu@skku.edu) 5

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 Aggressive VLSI technology, ICE3028: Embedded Systems Design, Fall 2018, Jinkyu Jeong (jinkyu@skku.edu) 6

Power Custom logic uses less power, but CPUs have advantages Modern microprocessors offer features to help control power consumption Software design techniques can help reduce power consumption Heterogeneous systems Some custom logic for well-defined functions, CPUs + software for everything else ICE3028: Embedded Systems Design, Fall 2018, Jinkyu Jeong (jinkyu@skku.edu) 7

RAM SRAM Easier to integrate on the same chip as processor DRAM SDRAM (Synchronous DRAM): SDR/DDR/DDR2/DDR3 Mobile SDR/DDR SDRAM RDRAM (Rambus DRAM) NVRAM (Non-Volatile RAM) Future NVRAMs: PRAM, MRAM, FeRAM Cache memory SPM (Scratch Pad Memory) ICE3028: Embedded Systems Design, Fall 2018, Jinkyu Jeong (jinkyu@skku.edu) 8

ROM Mask-programmed Connections programmed at fabrication OTP (One-time programmable) ROM Connections programmed after manufacture by user EPROM (Erasable programmable ROM) EEPROM (Electrically erasable programmable ROM) ICE3028: Embedded Systems Design, Fall 2018, Jinkyu Jeong (jinkyu@skku.edu) 9

Flash Memory NOR Flash NAND Flash e-mmc UFS Cards (MMC, SD, CF, ) ICE3028: Embedded Systems Design, Fall 2018, Jinkyu Jeong (jinkyu@skku.edu) 10

Interfacing ARM AMBA (Advanced Microcontroller Bus Architecture) ISA (Industry Standard Architecture) PCI (Peripheral Component Interconnect) I 2 C (Inter-IC) bus USB ICE3028: Embedded Systems Design, Fall 2018, Jinkyu Jeong (jinkyu@skku.edu) 11

Common Peripheral Devices Interrupt controller DMA controller Timer/Counter Real-time clock Watchdog timer UART (Universal Asynchronous Receiver Transmitter) IrDA (Infrared) Ethernet (wired/wireless) Bluetooth ICE3028: Embedded Systems Design, Fall 2018, Jinkyu Jeong (jinkyu@skku.edu) 12

Recent Trends Increasing computation demands Increasingly networked Increasing need for flexibility Getting complex Increasingly platform-based Hardware architecture + associated software ICE3028: Embedded Systems Design, Fall 2018, Jinkyu Jeong (jinkyu@skku.edu) 13

SoC (System-On-a-Chip) Samsung Exynos 7420 Source: http://www.anandtech.com/show/9330/exynos-7420-deep-dive ICE3028: Embedded Systems Design, Fall 2018, Jinkyu Jeong (jinkyu@skku.edu) 14

Introduction to the ARM Architecture ICE3028: Embedded Systems Design, Fall 2018, Jinkyu Jeong (jinkyu@skku.edu)

Overview (1) Advanced RISC Machine The most widely used 32-bit ISA 98% of the more than 1 billion mobile phones sold used at least one ARM processor (2005) 4 billion shipped in 2008 90% of all embedded 32-bit RISC processors (2009) ARM architecture has been extended over several versions. ICE3028: Embedded Systems Design, Fall 2018, Jinkyu Jeong (jinkyu@skku.edu) 16

Overview (2) ARM processors developed by licensees DEC StrongARM Marvell (formerly Intel) Xscale Nintendo TI OMAP Qualcomm Snapdragon Samsung Hummingbird/Exynos Apple A4/A5/A5X/A6/A7 Nvidia Tegra Applied Micro X-Gene ICE3028: Embedded Systems Design, Fall 2018, Jinkyu Jeong (jinkyu@skku.edu) 17

ARM Design Goals High performance Small code size Low power consumption Small silicon area ICE3028: Embedded Systems Design, Fall 2018, Jinkyu Jeong (jinkyu@skku.edu) 18

Application Processors Galaxy S4 (quad-core 1.6GHz + quad-core 1.2GHz Cortex-A7) iphone 4S (dual-core, 800MHz) ipad 2 (dual-core, 1GHz) New ipad (dual-core, 1GHz) Galaxy S2 (dual-core, 1.2GHz) Galaxy S3 (quad-core, 1.4GHz) iphone 3GS (600MHz) iphone 4 (clock speed not disclosed, 800MHz?) ipad (1GHz) Samsung Galaxy S (1GHz) Samsung Galaxy Tab 7 (1GHz) ICE3028: Embedded Systems Design, Fall 2018, Jinkyu Jeong (jinkyu@skku.edu) 19

Embedded Processors ICE3028: Embedded Systems Design, Fall 2018, Jinkyu Jeong (jinkyu@skku.edu) 20

Processors Lineup ICE3028: Embedded Systems Design, Fall 2018, Jinkyu Jeong (jinkyu@skku.edu) 21

ARM 7TDMI-S Synthesizable core Thumb Debug Multiplier ICE Implements the ARMv4T architecture Applications ipod from Apple Nintendo DS & Game Boy Advance Most of Nokia s mobile phones Lego Mindstorms NXT iriver portable digital audio players Roomba 500 series from irobot ICE3028: Embedded Systems Design, Fall 2018, Jinkyu Jeong (jinkyu@skku.edu) 22

Thumb Instruction Sets 16-bit instruction set A subset of the most commonly used 32-bit ARM instructions Significantly improved code density at a cost of some reduction in performance Typically 65% of the ARM code size 160% performance of the ARM code when running from a 16-bit memory system Transparently decompressed to full 32-bit ARM instructions in real time, without performance loss ARM instructions only for performance critical segments ICE3028: Embedded Systems Design, Fall 2018, Jinkyu Jeong (jinkyu@skku.edu) 23

Memory Architectures ICE3028: Embedded Systems Design, Fall 2018, Jinkyu Jeong (jinkyu@skku.edu)

Minimalist Approach Pros Simple, easy to design Cons Limited ROM size Limited SRAM size No firmware upgrades CPU SRAM (data) ROM (code) ICE3028: Embedded Systems Design, Fall 2018, Jinkyu Jeong (jinkyu@skku.edu) 25

NOR XIP Pros Simple, easy to design Execute-In-Place (XIP) Predictable read latency Code + Storage in NOR Firmware upgrades Cons Slow read speed Much slower write speed The high cost of NOR CPU SDRAM (data) NOR (code) ICE3028: Embedded Systems Design, Fall 2018, Jinkyu Jeong (jinkyu@skku.edu) 26

NOR Shadowing Pros Faster read and write Easy boot-up Use a relatively pricey NOR only to boot up the system Code can be compressed Cons Larger DRAM needed Require more design time Not energy efficient CPU SDRAM data code boot code NOR (code) ICE3028: Embedded Systems Design, Fall 2018, Jinkyu Jeong (jinkyu@skku.edu) 27

NAND Shadowing Pros Faster read and write Cost effective NAND for both code and data storage Cons Require a special boot mechanism Extensive ECC for NAND Larger DRAM needed Require more design time Not energy efficient CPU SDRAM data code NAND (code) boot code NOR/ NAND/ EPROM ICE3028: Embedded Systems Design, Fall 2018, Jinkyu Jeong (jinkyu@skku.edu) 28

Hybrid NAND Shadowing Pros Much faster read and write speed ECC embedded Cost effective NAND for both code and data storage Cons Larger DRAM needed Not energy efficient CPU SDRAM data code OneNAND (code) ICE3028: Embedded Systems Design, Fall 2018, Jinkyu Jeong (jinkyu@skku.edu) 29

NAND Demand Paging Pros Less DRAM required Low cost Energy efficient NAND for both code and data storage Cons Require MMU-enabled CPU Unpredictable read latency Complex to design and test CPU data code NAND (code) boot code NAND/ EPROM ICE3028: Embedded Systems Design, Fall 2018, Jinkyu Jeong (jinkyu@skku.edu) 30