Mahapatra - Texas A&M - Fall 001 Hardware Software Codesign of Embedded System CPSC489-501 Rabi Mahapatra.

Slides:



Advertisements
Similar presentations
Embedded System, A Brief Introduction
Advertisements

ECOE 560 Design Methodologies and Tools for Software/Hardware Systems Spring 2004 Serdar Taşıran.
A reconfigurable system featuring dynamically extensible embedded microprocessor, FPGA, and customizable I/O Borgatti, M. Lertora, F. Foret, B. Cali, L.
Week 1- Fall 2009 Dr. Kimberly E. Newman University of Colorado.
Extensible Processors. 2 ASIP Gain performance by:  Specialized hardware for the whole application (ASIC). −  Almost no flexibility. −High cost.  Use.
Introduction Special-purpose processors. Embedded systems. FPGAs.
Embedded Systems: Introduction. Course overview: Syllabus: text, references, grading, etc. Schedule: will be updated regularly; lectures, assignments.
1 HW/SW Partitioning Embedded Systems Design. 2 Hardware/Software Codesign “Exploration of the system design space formed by combinations of hardware.
Spring 08, Jan 15 ELEC 7770: Advanced VLSI Design (Agrawal) 1 ELEC 7770 Advanced VLSI Design Spring 2007 Introduction Vishwani D. Agrawal James J. Danaher.
Hardware Software Codesign of Embedded System CPSC Rabi Mahapatra.
Behavioral Design Outline –Design Specification –Behavioral Design –Behavioral Specification –Hardware Description Languages –Behavioral Simulation –Behavioral.
Spring 07, Jan 16 ELEC 7770: Advanced VLSI Design (Agrawal) 1 ELEC 7770 Advanced VLSI Design Spring 2007 Introduction Vishwani D. Agrawal James J. Danaher.
Review of “Embedded Software” by E.A. Lee Katherine Barrow Vladimir Jakobac.
Define Embedded Systems Small (?) Application Specific Computer Systems.
Hier wird Wissen Wirklichkeit Computer Architecture – Part 5 – page 1 of 25 – Prof. Dr. Uwe Brinkschulte, Prof. Dr. Klaus Waldschmidt Part 5 Fundamentals.
UCB November 8, 2001 Krishna V Palem Proceler Inc. Customization Using Variable Instruction Sets Krishna V Palem CTO Proceler Inc.
Winter-Spring 2001Codesign of Embedded Systems1 Introduction to HW/SW Codesign Part of HW/SW Codesign of Embedded Systems Course (CE )
HW/SW Co-Synthesis of Dynamically Reconfigurable Embedded Systems HW/SW Partitioning and Scheduling Algorithms.
(1) Introduction © Sudhakar Yalamanchili, Georgia Institute of Technology, 2006.
ELEC516/10 course_des 1 ELEC516 VLSI System Design and Design Automation Spring 2010 Course Description Chi-ying Tsui Department of Electrical and Electronic.
1  Staunstrup and Wolf Ed. “Hardware Software codesign: principles and practice”, Kluwer Publication, 1997  Gajski, Vahid, Narayan and Gong, “Specification,
University of Ottawa, SITE, 2008 VOICU GROZA - HARDWARE/SOFTWARE CODESIGN OF EMBEDDED SYSTEMS Hardware/Software Codesign of Embedded Systems TOPICS IN.
L29:Lower Power Embedded Architecture Design 성균관대학교 조 준 동 교수,
EKT303/4 PRINCIPLES OF PRINCIPLES OF COMPUTER ARCHITECTURE (PoCA)
ECE-777 System Level Design and Automation Introduction 1 Cristinel Ababei Electrical and Computer Department, North Dakota State University Spring 2012.
1 3-General Purpose Processors: Altera Nios II 2 Altera Nios II processor A 32-bit soft core processor from Altera Comes in three cores: Fast, Standard,
COMP3221/9221: Microprocessors and Embedded Systems COMP3221: Microprocessors and Embedded Systems Lecture 31: Embedded Systems
1 SW HW Hardware-Software Codesign 軟硬體共同設計 Trong-Yen Lee 李宗演 Graduate Institute of Computer, Communication, and Control National Taipei University of Technology.
ENG3050 Embedded Reconfigurable Computing Systems General Information Handout Winter 2015, January 5 th.
Lecture 13 Introduction to Embedded Systems Graduate Computer Architecture Fall 2005 Shih-Hao Hung Dept. of Computer Science and Information Engineering.
Fall 2015, Aug 17 ELEC / Lecture 1 1 ELEC / Computer Architecture and Design Fall 2015 Introduction Vishwani D. Agrawal.
SAMANVITHA RAMAYANAM 18 TH FEBRUARY 2010 CPE 691 LAYERED APPLICATION.
Automated Design of Custom Architecture Tulika Mitra
Welcome to CSE 143! Microelectronic System Design
Reliable Design of Safety Critical Systems Dr. Abhik Roychoudhury School of Computing
Section 10: Advanced Topics 1 M. Balakrishnan Dept. of Comp. Sci. & Engg. I.I.T. Delhi.
High Performance Embedded Computing © 2007 Elsevier Lecture 3: Design Methodologies Embedded Computing Systems Mikko Lipasti, adapted from M. Schulte Based.
System Design with CoWare N2C - Overview. 2 Agenda q Overview –CoWare background and focus –Understanding current design flows –CoWare technology overview.
High Performance Embedded Computing © 2007 Elsevier Chapter 1, part 2: Embedded Computing High Performance Embedded Computing Wayne Wolf.
CSE 494: Electronic Design Automation Lecture 2 VLSI Design, Physical Design Automation, Design Styles.
Welcome CSC 480/580 – Digital Logic & Computer Design Term: Winter 2002 Instructor: William T Krieger.
Configurable, reconfigurable, and run-time reconfigurable computing.
Hardware/Software Co-design Design of Hardware/Software Systems A Class Presentation for VLSI Course by : Akbar Sharifi Based on the work presented in.
ESL and High-level Design: Who Cares? Anmol Mathur CTO and co-founder, Calypto Design Systems.
ELEC692/04 course_des 1 ELEC 692 Special Topic VLSI Signal Processing Architecture Fall 2004 Chi-ying Tsui Department of Electrical and Electronic Engineering.
© 2012 xtUML.org Bill Chown – Mentor Graphics Model Driven Engineering.
VLSI DESIGN CONFERENCE 1998 TUTORIAL Embedded System Design and Validation: Building Systems from IC cores to Chips Rajesh Gupta University of California,
Hardware-software Interface Xiaofeng Fan
EKT303/4 PRINCIPLES OF PRINCIPLES OF COMPUTER ARCHITECTURE (PoCA)
1 Copyright  2001 Pao-Ann Hsiung SW HW Module Outline l Introduction l Unified HW/SW Representations l HW/SW Partitioning Techniques l Integrated HW/SW.
ECE 551: Digital System Design & Synthesis Motivation and Introduction Lectures Set 1 (3 Lectures)
What’s Ahead for Embedded Software? (Wed) Gilsoo Kim
System-on-Chip Design Hao Zheng Comp Sci & Eng U of South Florida 1.
Spring 2016, Jan 13 ELEC / Lecture 1 1 ELEC / Computer Architecture and Design Spring 2016 Introduction Vishwani D. Agrawal.
Microprocessors CSE- 341 Dr. Jia Uddin Assistant Professor, CSE, BRAC University.
Embedded Real-Time Systems
9/4/2001 ECE 551 Fall ECE Digital System Design & Synthesis Lecture 1 - Introduction  Overview oCourse Introduction oOverview of Contemporary.
System-on-Chip Design
ELEC 7770 Advanced VLSI Design Spring 2016 Introduction
Chapter 1: Introduction
Hardware Software Codesign of Embedded Systems
ELEC 7770 Advanced VLSI Design Spring 2014 Introduction
ELEC 7770 Advanced VLSI Design Spring 2012 Introduction
ELEC 7770 Advanced VLSI Design Spring 2010 Introduction
Introduction to Embedded Systems
Embedded System Development Lecture 1 1/10/2007
HIGH LEVEL SYNTHESIS.
Advanced Digital Systems Design Methodology
NetPerL Seminar Hardware/Software Co-Design
ELEC / Computer Architecture and Design Fall 2014 Introduction
Presentation transcript:

Mahapatra - Texas A&M - Fall 001 Hardware Software Codesign of Embedded System CPSC Rabi Mahapatra

Mahapatra - Texas A&M - Fall 002 Today’s topics Course Organization Introduction to HS-CODES Codesign Motivation Some Issues on Codesign of Embedded System

Mahapatra - Texas A&M - Fall 003 Course Organization Lectures: HRBB 126, MWF 11: :20 Laboratory: HRBB 218, TBD (Some Two hours except MTWR afternoons) Teaching Assistant: Brian G. Murray Send s for alias Instructor’s office Hours: By appointment Contact:

Mahapatra - Texas A&M - Fall 004 Course organization: Gradings Two tests: 50% Labs: 20% Projects: 20% Assignments/Term papers: 10% Projects and Labs: Team work Term papers: Individual responsibility

Mahapatra - Texas A&M - Fall 005 Course policies Required to access the course web page for relevant info during the semester class attendance is required use s for effective communication with TA and Instructor all assigned papers are required materials follow lab and univ rules

Mahapatra - Texas A&M - Fall 006 Topics to be covered (order and details may change) 1. Codesign overview 2. Models and methodologies of system design 3. Hardware software partitioning and scheduling 4. Cosimulation, synthesis and verifications 5. Architecture, Interface and reconfiguration 6. System on chip 7. Application specific processors (DSP) 8. Codesign tools and case studies

Mahapatra - Texas A&M - Fall 007 Texts Staunstrup and Wolf Ed. “Hardware Software codesign: principles and practice”, Kluwer Publication, 1997 Gajski, Vahid, Narayan and Gong, “Specification, Design of Embedded Systems”, Prentice Hall, 1994 Suggested papers in the class web

Mahapatra - Texas A&M - Fall 008 Reading assignment Giovanni De Micheli and Rajesh Gupta, “Hardware/Software co-design”, IEEE Proceddings, vol. 85, no.3, March 1997, pp

Mahapatra - Texas A&M - Fall 009 Introduction Digital systems designs consists of hardware components and software programs that execute on the hardware platforms Hardware-Software Codesign ?

Mahapatra - Texas A&M - Fall 0010 Microelectronics trends Better device technology –reduced in device sizes –more on chip devices > higher density –higher performances

Mahapatra - Texas A&M - Fall 0011 Microelectronics trends Higher degree of integration –increased device reliability –inclusion of complex designs

Mahapatra - Texas A&M - Fall 0012 Digital Systems Judged by its objectives in application domain Performance Design and Manufacturing cost Ease of Programmability

Mahapatra - Texas A&M - Fall 0013 Digital Systems Judged by its objectives in application domain Performance Design and Manufacturing cost Ease of Programmability It depends on both the hardware and software components

Mahapatra - Texas A&M - Fall 0014 Hardware/Software Codesign A definition: Meeting System level objectives by exploiting the synergism of hardware and software through their concurrent design

Mahapatra - Texas A&M - Fall 0015 Concurrent design Traditional design flow Concurrent (codesign) flow HW SW start HWSW Designed by independent groups of experts Designed by Same group of experts with cooperation

Mahapatra - Texas A&M - Fall 0016 Codesign motivation Trend toward smaller mask-level geometries leads to: Higher integration and cost of fabrication. Amortize hardware design over large volume productions Suggestion: Use software as a means of differentiating products based on the same hardware platform.

Mahapatra - Texas A&M - Fall 0017 Story of IP cores What are these IP Cores? Predesigned, preverified silcon circuit block, usually containing 5000 gates, that can be used in building larger application on a semiconductor chip.

Mahapatra - Texas A&M - Fall 0018 Story of IP cores Complex macrocells implementing instruction set processors (ISP) are available as cores Hardware (core) Software (microkernels) Are viewed as intelectual property

Mahapatra - Texas A&M - Fall 0019 IP core reuse Cores are standardized for reuse as system building blocks Rationale: leveraging the existing software layers including OS and applications in ES Results: 1. Customized VLSI chip with better area/ performance/ power trade-offs 2. Systems on Silicon

Mahapatra - Texas A&M - Fall 0020 Hardware Programmability Traditionally Hardware used to be configured at the time of manufacturing Software is variant at run time The Field Programmable Gate Arrays (FPGA) has blurred this distinction.

Mahapatra - Texas A&M - Fall 0021 FPGAs FPGA circuits can be configured on-the-fly to implement a specific software function with better performance than on microprocessor.

Mahapatra - Texas A&M - Fall 0022 FPGAs FPGA circuits can be configured on-the-fly to implement a specific software function with better performance than on microprocessor. FPGA can be reprogrammed to perform another specific function without changing the underlying hardware.

Mahapatra - Texas A&M - Fall 0023 FPGAs FPGA circuits can be configured on-the-fly to implement a specific software function with better performance than on microprocessor. FPGA can be reprogrammed to perform another specific function without changing the underlying hardware. This flexibility opens new applications of digital circuits.

Mahapatra - Texas A&M - Fall 0024 Why codesign? Reduce time to market

Mahapatra - Texas A&M - Fall 0025 Why codesign? Reduce time to market Achieve better design Explore alternative designs Good design can be found by balancing the HW/SW

Mahapatra - Texas A&M - Fall 0026 Why codesign? Reduce time to market Achieve better design Explore alternative designs Good design can be found by balancing the HW/SW To meet strict design constraint power, size, timing, and performance trade-offs safety and reliability system on chip

Mahapatra - Texas A&M - Fall 0027 Distinguishing features of digital system Interrelated criteria for a system design Hardware Technology Level of Integration Degree of Programmability Application Domain

Mahapatra - Texas A&M - Fall 0028 Application Domains General purpose computing system usually self contained and with peripherals Information processing systems

Mahapatra - Texas A&M - Fall 0029 Application Domains General purpose computing system usually self contained and with peripherals Information processing systems Dedicated control system part of the whole system, Ex: digital controller in a manufacturing plant also, known as embedded systems

Mahapatra - Texas A&M - Fall 0030 Embedded System Uses a computer to perform certain functions Conceived with specific application in mind examples: dash controller in autombiles, remote controller for robots, answering machines, etc.

Mahapatra - Texas A&M - Fall 0031 Embedded Systems Uses a computer to perform certain functions Conceived with specific application in mind examples: dash controller in autombiles, remote controller for robots, answering machines, etc. User has limited access to system programming system is provided with system software during manufacturing not used as a computer

Mahapatra - Texas A&M - Fall 0032 Degree of Programmability Most digital systems are programmed by some software programs for functionality. Two important issues related to programming: who has the access to programming? Level at which programming is performed.

Mahapatra - Texas A&M - Fall 0033 Degree of Programmability: Accessibility Understand the role of: End users, application developers, system integrator and component manufacturers.

Mahapatra - Texas A&M - Fall 0034 Degree of Programmability: Accessibility Understand the role of: End users, application developers, system integrator and component manufacturers. Application Developer: System to be retargetable.

Mahapatra - Texas A&M - Fall 0035 Degree of Programmability: Accessibility Understand the role of: End users, application developers, system integrator and component manufacturers. Application Developer: System to be retargetable. System Integrator: Ensure compatibility of system components

Mahapatra - Texas A&M - Fall 0036 Degree of Programmability: Accessibility Understand the role of: End users, application developers, system integrator and component manufacturers. Application Developer: System to be retargetable. System Integrator: Ensure compatibility of system components Component Manufactures: Concerned with maximizing product reuse

Mahapatra - Texas A&M - Fall 0037 Degree of Programmability Example 1: Personal computer End User: Limited to application level Application Dev.: Language tools, Operating System, high- level programming environment (off the self components) Component Manf.: Drive by bus standards, protocols etc. Observe that: coalescing the system components due to higher chip density Result: Few but more versatile system hardware components

Mahapatra - Texas A&M - Fall 0038 Example 2. Embedded Systems End user: Limited access to programming Most software is already provided by system integrator who could be application developer too!

Mahapatra - Texas A&M - Fall 0039 Level of Programmability Systems can be programmed at application, instruction and hardware levels Application Level: Allows users to specify “option of functionality” using special language. Example: Programming VCR or automated steering control of a ship

Mahapatra - Texas A&M - Fall 0040 Level of Programmability Instruction-level programmability –Most common ways with ISA processors or DSP compilers are used in case of computers In case of embedded systems, ISA is NOT visible

Mahapatra - Texas A&M - Fall 0041 Level of programmability Hardware level programmability  Example: Microprogramming (determine the behavior of control unit by microprogram) Emulating another architecture by alternation of  p Some DSP implementations too Never in RISC or ISA processors configuring the hardware (after manufacturing) in the desired way.

Mahapatra - Texas A&M - Fall 0042 Programmability Microprogramming Vrs. Reconfigurability Microprogram allows to reconfigure the control unit whereas Reconfigurable system can modify both datapath and controller.

Mahapatra - Texas A&M - Fall 0043 Programmability Microprogramming Vrs. Reconfigurability Microprogram allows reconfigure the control unit versus Reconfigurable system can modify both datapath and controller. Reconfigurability increases usability but not the performance of a system.

Mahapatra - Texas A&M - Fall 0044 Performance and Programmability General computing applications: use of superscalar RISC architecture to improve the performance (instruction level programming)

Mahapatra - Texas A&M - Fall 0045 Performance and Programmability General computing applications: use of superscalar RISC architecture to improve the performance (instruction level programming) Dedicated Applications: Use of application specific designs (ASICs) for power and performance Neither reusable nor cheap!

Mahapatra - Texas A&M - Fall 0046 Performance and Programmability General computing applications: use of superscalar RISC architecture to improve the performance (instruction level programming) Dedicated Applications: Use of application specific designs (ASICs) for power and performance Neither reusable nor cheap! What if ASICs with embedded cores?

Mahapatra - Texas A&M - Fall 0047 Performance and Programmability Any other solutions? How about replacing the standard processors by application specific processors that can be programmed at instruction level (ASIPs). Better power-performance than standard processor ? Worse than ASICs

Mahapatra - Texas A&M - Fall 0048 Programmability and Cost:ASIPs Cost can typically be amortized over larger volume than on ASICs (with multiple applications using ASIPs). Ease to update the products and engineering changes through programming the HW, However, includes compiler as additional cost

Mahapatra - Texas A&M - Fall 0049 Hardware Technology Choice of hardware to implement the design affects the performance and cost VLSI technology (CMOS or bipolar, scale of integration and feature size etc.) can affect the performance and cost.

Mahapatra - Texas A&M - Fall 0050 Hardware Technology: FPGAs Performance is an order of magnitude less than corresponding non-programmable technology with comparable mask size For high volume production, these are more expensive than ASICs

Mahapatra - Texas A&M - Fall 0051 Level of Integration Integration leads to reducing number of parts, which means, increased reliability, reduced power and higher performances But it increases the chip size (cost) and makes debugging more challenging. Standard components for SoC are cores, memory, sensors and actuators.

Mahapatra - Texas A&M - Fall 0052 Embedded System Design Objective Embedded systems: control systems: reactive, real-time  function & size: micro controller to high throughput data-processor requires leveraging the components and cores of microprocessors reliability, availability and safety are vital use of formal verification to check the correctness may use redundancy

Mahapatra - Texas A&M - Fall 0053 Codesign of ISA ISA is fundamental to digital system design An instruction set permits concurrent design of HW and compiler developments Good ISA design is critical in achieving system usability across applications Goal of codesign in ISP development is to optimize HW utilization by application & OS

Mahapatra - Texas A&M - Fall 0054 Codesign of ISA For high performance in ES, selection of instruction set that matches the application is very important replace the standard core by ASIP ASIPs are more flexible than ASICs but less than ISP ASIP performs better than ISP

Mahapatra - Texas A&M - Fall 0055 Challenges with ASIP Compatibility requirement is less important Goal: support specific instruction mixes CAD of compiler is partly solved problem Price of the flexibility in choosing mixed instruction set is to develop the application specific compiler.

Mahapatra - Texas A&M - Fall 0056 Typical codesign process System Description HW/SW Partitioning Software synthesis Interface synthesis Hardware synthesis System integration Modeling Unified representation Instruction set level HW/SW evaluation

Mahapatra - Texas A&M - Fall 0057 Steps in Codesign HW-SW system involves specification modeling design space exploration and partitioning synthesis and optimization validation implementation

Mahapatra - Texas A&M - Fall 0058 Steps in codesign Specification List the functions of a system that describe the behavior of an abstraction clearly with out ambiguity. Modeling: Process of conceptualizing and refining the specifications, and producing a hardware and software model.

Mahapatra - Texas A&M - Fall 0059 Modeling style Homogeneous: a modeling language or a graphical formalism for presentation partitioning problem used by the designer Heterogeneous: multiple presentations partitioning is specified by the models

Mahapatra - Texas A&M - Fall 0060 Steps in codesign Validation: Process of achieving a reasonable level of confidence that the system will work as designed. Takes different flavors per application domain: cosimulation for performance and correctness

Mahapatra - Texas A&M - Fall 0061 Steps in codesign Implementation: Physical realization of the hardware (through synthesis) and of executable software (through compilation).

Mahapatra - Texas A&M - Fall 0062 Partitioning and Scheduling (where and when) A hardware/software partitioning represents a physical partition of system functionality into application-specific hardware and software. Scheduling is to assign an execution start time to each task in a set, where tasks are linked by some relations.

Mahapatra - Texas A&M - Fall 0063 Summary: Research areas in codesign Languages Architectural exploration tools Algorithms for partitioning Scheduling SW, HW and interface Synthesis Verification and Testing