l1-embedded system designce.sharif.edu/courses/86-87/2/ce333/resources/root/lecture notes/l… ·...

25
Design & Co design of Embedded Systems Design & Co-design of Embedded Systems Lecture 1: Introduction to Digital System Design & C D i Co-Design Computer Engineering Dept. Sharif University of Technology Winter-Spring 2008 Mehdi Modarressi

Upload: others

Post on 22-Jul-2020

0 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: L1-Embedded System Designce.sharif.edu/courses/86-87/2/ce333/resources/root/Lecture Notes/L… · The first microprocessor(1971-Intel) 2300 transistors, 108 KHz Mi T dMicroprocessors

Design & Co design of Embedded SystemsDesign & Co-design of Embedded Systems

Lecture 1:

Introduction to Digital System Design & C D iCo-Design

Computer Engineering Dept.Sharif University of Technology

Winter-Spring 2008

Mehdi Modarressi

Page 2: L1-Embedded System Designce.sharif.edu/courses/86-87/2/ce333/resources/root/Lecture Notes/L… · The first microprocessor(1971-Intel) 2300 transistors, 108 KHz Mi T dMicroprocessors

Topics for Today

Evolution of Digital-Design MethodologiesEvolution of Digital Design MethodologiesIntroduction to Hw/Sw Co-Design

lecture 1. Introduction to Digital System Design & Co-design 2

Page 3: L1-Embedded System Designce.sharif.edu/courses/86-87/2/ce333/resources/root/Lecture Notes/L… · The first microprocessor(1971-Intel) 2300 transistors, 108 KHz Mi T dMicroprocessors

Chip Design EvolutionChip Design Evolution

Moore’s Law: Chip densities would double every 12–18 months.

The first IC (1958-TI) 4 transistors, 50$ !

The first microprocessor(1971-Intel)2300 transistors, 108 KHz

Mi T dMicroprocessors Today:Intel Core2 Quad: 580 M. transistors- 2.4 GHzIntel Quad-core 64b Itanium: 2 B. transistors.

lecture 1. Introduction to Digital System Design & Co-design 3

Page 4: L1-Embedded System Designce.sharif.edu/courses/86-87/2/ce333/resources/root/Lecture Notes/L… · The first microprocessor(1971-Intel) 2300 transistors, 108 KHz Mi T dMicroprocessors

Evolution of Digital Design MethodsTransistor Netlist 1970’s

lecture 1. Introduction to Digital System Design & Co-design 4

Page 5: L1-Embedded System Designce.sharif.edu/courses/86-87/2/ce333/resources/root/Lecture Notes/L… · The first microprocessor(1971-Intel) 2300 transistors, 108 KHz Mi T dMicroprocessors

Evolution of DDM (cont.)RT level: Register Transfer level, Schematic 1980’s

lecture 1. Introduction to Digital System Design & Co-design 5

Page 6: L1-Embedded System Designce.sharif.edu/courses/86-87/2/ce333/resources/root/Lecture Notes/L… · The first microprocessor(1971-Intel) 2300 transistors, 108 KHz Mi T dMicroprocessors

Evolution of DDM (cont.)BL: Behavioral Level, HDL: Hardware Description Language, 1990’s

lecture 1. Introduction to Digital System Design & Co-design 6

Page 7: L1-Embedded System Designce.sharif.edu/courses/86-87/2/ce333/resources/root/Lecture Notes/L… · The first microprocessor(1971-Intel) 2300 transistors, 108 KHz Mi T dMicroprocessors

Digital System Design

lecture 1. Introduction to Digital System Design & Co-design 7

Page 8: L1-Embedded System Designce.sharif.edu/courses/86-87/2/ce333/resources/root/Lecture Notes/L… · The first microprocessor(1971-Intel) 2300 transistors, 108 KHz Mi T dMicroprocessors

Embedded Systems

Embedded vs. Self-ContainedEmbedded vs. Self Contained Systems Embedded computing systems

Computers are in here...

and here...

Computing systems embedded within electronic devicesHard to define Nearly any computing

and even here...

Hard to define. Nearly any computing system other than a desktop computer79% of all Produced Digital systemsPerhaps 100s per household and per automobile

Lots more of these, though they cost a lot

less each.

lecture 1. Introduction to Digital System Design & Co-design 8

Page 9: L1-Embedded System Designce.sharif.edu/courses/86-87/2/ce333/resources/root/Lecture Notes/L… · The first microprocessor(1971-Intel) 2300 transistors, 108 KHz Mi T dMicroprocessors

Today’s Embedded Systems

Increasing application complexityg pp p y

Mixture of several tasks (event driven and data flow) Examples: multimedia automotive mobile communicationExamples: multimedia, automotive, mobile communication

Increasing target system complexityMixture of different technologies, processor types, and design stylesLarge systems-on-a-chip, distributed systemsUp to 2 billion trans. on a single chip , 75 million in common processors.

Non-functional requirements are important

lecture 1. Introduction to Digital System Design & Co-design 9

Non functional requirements are important

Page 10: L1-Embedded System Designce.sharif.edu/courses/86-87/2/ce333/resources/root/Lecture Notes/L… · The first microprocessor(1971-Intel) 2300 transistors, 108 KHz Mi T dMicroprocessors

Functional vs. Non-Functional Requirements

Functional requirements:Functional requirements:Output as a function of input.

Non-functional requirements:Time required to compute output;Size, weight, etc.;Power consumption;Reliability;Reliability;etc.

lecture 1. Introduction to Digital System Design & Co-design 10

Page 11: L1-Embedded System Designce.sharif.edu/courses/86-87/2/ce333/resources/root/Lecture Notes/L… · The first microprocessor(1971-Intel) 2300 transistors, 108 KHz Mi T dMicroprocessors

System-level Design

M hi h b t ti l lMore higher abstraction level:System-level design

System = HW components +SW modulesSystem = HW components +SW modules

Describe the system functionality regardless ofDescribe the system functionality regardless of (hw/sw) implementation typePartition the design into hardware and software gmodules based on the non-functional requirements

lecture 1. Introduction to Digital System Design & Co-design 11

Page 12: L1-Embedded System Designce.sharif.edu/courses/86-87/2/ce333/resources/root/Lecture Notes/L… · The first microprocessor(1971-Intel) 2300 transistors, 108 KHz Mi T dMicroprocessors

Hardware /Software Realization

Hardware and software are functionally equivalent :Any Software realizable algorithm can be realized in hardware as well andAny Software-realizable algorithm can be realized in hardware as well, and vice versa.

How much SW + how much HW? Determined by non-functional requirementsrequirements.

Hardware Realization Software RealizationSpeedEnergy EfficiencyC t Effi i (b t i

FlexibilityEase of DevelopmentEase of Test and DebugCost Efficiency (but in

high volumes)Ease of Test and DebugCost = SW + Processor

lecture 1. Introduction to Digital System Design & Co-design 12

Page 13: L1-Embedded System Designce.sharif.edu/courses/86-87/2/ce333/resources/root/Lecture Notes/L… · The first microprocessor(1971-Intel) 2300 transistors, 108 KHz Mi T dMicroprocessors

More Complexities in Hardware/Software Realization

lecture 1. Introduction to Digital System Design & Co-design 13

Page 14: L1-Embedded System Designce.sharif.edu/courses/86-87/2/ce333/resources/root/Lecture Notes/L… · The first microprocessor(1971-Intel) 2300 transistors, 108 KHz Mi T dMicroprocessors

Design Problem

H t l t h d / ftHow to select a hardware/software implementation out of the design space to meet Functional and Non functional designmeet Functional and Non-functional design goals?

Hardware-Software Co-design

lecture 1. Introduction to Digital System Design & Co-design 14

Page 15: L1-Embedded System Designce.sharif.edu/courses/86-87/2/ce333/resources/root/Lecture Notes/L… · The first microprocessor(1971-Intel) 2300 transistors, 108 KHz Mi T dMicroprocessors

Co-design Main TopicsSynthesis

System H S

System

VerificationSpecification

OS

VerificationSpecification

lecture 1. Introduction to Digital System Design & Co-design 15

Page 16: L1-Embedded System Designce.sharif.edu/courses/86-87/2/ce333/resources/root/Lecture Notes/L… · The first microprocessor(1971-Intel) 2300 transistors, 108 KHz Mi T dMicroprocessors

SystemSpecification

Verification

Co-SynthesisPartitioning

HW ParameterEstimation

SW ParameterEstimation

Verification

Estimation Estimation

SW SynthesisHW SynthesisVerification

SW SynthesisHW Synthesis

ASIC OS

VerificationEXE Code

lecture 1. Introduction to Digital System Design & Co-design 16

SystemIntegration Final Verification

Page 17: L1-Embedded System Designce.sharif.edu/courses/86-87/2/ce333/resources/root/Lecture Notes/L… · The first microprocessor(1971-Intel) 2300 transistors, 108 KHz Mi T dMicroprocessors

Co-design Main Topics

lecture 1. Introduction to Digital System Design & Co-design 17

Page 18: L1-Embedded System Designce.sharif.edu/courses/86-87/2/ce333/resources/root/Lecture Notes/L… · The first microprocessor(1971-Intel) 2300 transistors, 108 KHz Mi T dMicroprocessors

lecture 1. Introduction to Digital System Design & Co-design 18

Page 19: L1-Embedded System Designce.sharif.edu/courses/86-87/2/ce333/resources/root/Lecture Notes/L… · The first microprocessor(1971-Intel) 2300 transistors, 108 KHz Mi T dMicroprocessors

Hardware/Software Partitioning

How functionality is separated between HW and SW blocks

lecture 1. Introduction to Digital System Design & Co-design 19

Page 20: L1-Embedded System Designce.sharif.edu/courses/86-87/2/ce333/resources/root/Lecture Notes/L… · The first microprocessor(1971-Intel) 2300 transistors, 108 KHz Mi T dMicroprocessors

Application Mapping

lecture 1. Introduction to Digital System Design & Co-design 20

Page 21: L1-Embedded System Designce.sharif.edu/courses/86-87/2/ce333/resources/root/Lecture Notes/L… · The first microprocessor(1971-Intel) 2300 transistors, 108 KHz Mi T dMicroprocessors

Task Scheduling

lecture 1. Introduction to Digital System Design & Co-design 21

Page 22: L1-Embedded System Designce.sharif.edu/courses/86-87/2/ce333/resources/root/Lecture Notes/L… · The first microprocessor(1971-Intel) 2300 transistors, 108 KHz Mi T dMicroprocessors

Hardware Synthesis

lecture 1. Introduction to Digital System Design & Co-design 22

Page 23: L1-Embedded System Designce.sharif.edu/courses/86-87/2/ce333/resources/root/Lecture Notes/L… · The first microprocessor(1971-Intel) 2300 transistors, 108 KHz Mi T dMicroprocessors

Software Compilation

lecture 1. Introduction to Digital System Design & Co-design 23

Page 24: L1-Embedded System Designce.sharif.edu/courses/86-87/2/ce333/resources/root/Lecture Notes/L… · The first microprocessor(1971-Intel) 2300 transistors, 108 KHz Mi T dMicroprocessors

What we learned today

Digital design methods are moving toward higher abstractionsH d d ft f ti l i l tHardware and software are functional equivalentNon-functional requirements determine HW/SW implementationHw/Sw co-design stages

lecture 1. Introduction to Digital System Design & Co-design 24

Page 25: L1-Embedded System Designce.sharif.edu/courses/86-87/2/ce333/resources/root/Lecture Notes/L… · The first microprocessor(1971-Intel) 2300 transistors, 108 KHz Mi T dMicroprocessors

Next Session Topics

Introduction to embedded systemsIntroduction to embedded systemsPropertiesRequirementsRequirementsDesign issues

lecture 1. Introduction to Digital System Design & Co-design 25