Presentation is loading. Please wait.

Presentation is loading. Please wait.

임베디드 ( 내장형 ) 시스템 z 교과서 y Computers as components Morgan Kaufmann by Wayne Wolf xwww.mkp.com/embedwww.mkp.com/embed y Surviving the SoC revolution KAP.

Similar presentations


Presentation on theme: "임베디드 ( 내장형 ) 시스템 z 교과서 y Computers as components Morgan Kaufmann by Wayne Wolf xwww.mkp.com/embedwww.mkp.com/embed y Surviving the SoC revolution KAP."— Presentation transcript:

1

2 임베디드 ( 내장형 ) 시스템 z 교과서 y Computers as components Morgan Kaufmann by Wayne Wolf xwww.mkp.com/embedwww.mkp.com/embed y Surviving the SoC revolution KAP by Henry Chang et Al. z 평가 : 시험 60%, H.W. 20%, 실습 20% zHomepage: http://vada.skku.ac.kr

3 임베디드 시스템 개요 z 임베디드 시스템 y 특정 목적으로 구성된 하드웨어 위에 소프트웨어를 내장하여 최적화시킨 시스템 z 임베디드 소프트웨어 y 임베디드 시스템에 탑재되는 시스템 소프트웨어, 미들웨어, 응용 소프트웨어를 총칭 z 임베디드 시스템 온 칩 y 논리 회로와 메모리, 프로세서등을 집적하여 기본적인 처리 기능에 입출력, 저장 기능을 포함시켜 시스템을 칩으로 구현한 것.

4 임베디드 소프트웨어 산업의 발전 동향

5 내장형시스템 설계 z 강의일정 1.Embedded computing 2.Instruction sets 3.CPUs 4.Embedded computing platform 5.Program design and analysis 6.Processes and operating system 7.Hardware Accelerators 8.Networks 9.System design techniques

6 SoC 설계 z 강의일정 y Moving to SOC design 1.Overview of the SOC design process 2.Integration platforms and SOC design 3.Function-architecture co-design 4.Designing communications networks 5.Network on Chip 6.Low Power SoC designs

7 1. Embedded Computing 1.1 Introduction 1.2 Complex system and microprocessors 1.3 Embedded system design process 1.4 Formalisms for system designs 1.5 Design example: model train controller

8 1. Introduction zWhat are embedded systems? zChallenges in embedded computing system design. zDesign methodologies.

9 Definition zEmbedded system: any device that includes a programmable computer but is not itself a general-purpose computer. zTake advantage of application characteristics to optimize the design: ydon’t need all the general-purpose bells and whistles.

10 Embedding a computer CPU mem input output analog embedded computer

11 Examples zPersonal digital assistant (PDA). zPrinter. zCell phone. zAutomobile: engine, brakes, dash, etc. zTelevision. zHousehold appliances. zPC keyboard (scans keys).

12 Early history zLate 1940’s: MIT Whirlwind computer was designed for real-time operations. yOriginally designed to control an aircraft simulator. zFirst microprocessor was Intel 4004 in early 1970’s. zHP-35 calculator used several chips to implement a microprocessor in 1972.

13 Early history, cont’d. zAutomobiles used microprocessor-based engine controllers starting in 1970’s. yControl fuel/air mixture, engine timing, etc. yMultiple modes of operation: warm-up, cruise, hill climbing, etc. yProvides lower emissions, better fuel efficiency.

14 Microprocessor varieties zMicrocontroller: includes I/O devices, on- board memory. zDigital signal processor (DSP): microprocessor optimized for digital signal processing. zTypical embedded word sizes: 8-bit, 16- bit, 32-bit.

15 Application examples zSimple control: front panel of microwave oven, etc. zCanon EOS 3 has three microprocessors. y32-bit RISC CPU runs autofocus and eye control systems. zAnalog TV: channel selection, etc. zDigital TV: programmable CPUs + hardwired logic.

16 Automotive embedded systems zToday’s high-end automobile may have 100 microprocessors: y4-bit microcontroller checks seat belt; ymicrocontrollers run dashboard devices; y16/32-bit microprocessor controls engine.

17 BMW 850i brake and stability control system zAnti-lock brake system (ABS): pumps brakes to reduce skidding. zAutomatic stability control (ASC+T): controls engine to improve stability. zABS and ASC+T communicate. yABS was introduced first---needed to interface to existing ABS module.

18 BMW 850i, cont’d. brake sensor brake sensor brake sensor brake sensor ABS hydraulic pump

19 Characteristics of embedded systems zSophisticated functionality. zReal-time operation. zLow manufacturing cost. zLow power. zDesigned to tight deadlines by small teams.

20 Functional complexity zOften have to run sophisticated algorithms or multiple algorithms. yCell phone, laser printer. zOften provide sophisticated user interfaces.

21 Real-time operation zMust finish operations by deadlines. yHard real time: missing deadline causes failure. ySoft real time: missing deadline results in degraded performance. zMany systems are multi-rate: must handle operations at widely varying rates.

22 Non-functional requirements zMany embedded systems are mass- market items that must have low manufacturing costs. yLimited memory, microprocessor power, etc. zPower consumption is critical in battery- powered devices. yExcessive power consumption increases system cost even in wall-powered devices.

23 Design teams zOften designed by a small team of designers. zOften must meet tight deadlines. y6 month market window is common. yCan’t miss back-to-school window for calculator.

24 Why use microprocessors? zAlternatives: field-programmable gate arrays (FPGAs), custom logic, etc. zMicroprocessors are often very efficient: can use same logic to perform many different functions. zMicroprocessors simplify the design of families of products.

25 The performance paradox zMicroprocessors use much more logic to implement a function than does custom logic. zBut microprocessors are often at least as fast: yheavily pipelined; ylarge design teams; yaggressive VLSI technology.

26 Power zCustom logic is a clear winner for low power devices. zModern microprocessors offer features to help control power consumption. zSoftware design techniques can help reduce power consumption.

27 Challenges in embedded system design zHow much hardware do we need? yHow big is the CPU? Memory? zHow do we meet our deadlines? yFaster hardware or cleverer software? zHow do we minimize power? yTurn off unnecessary logic? Reduce memory accesses?

28 Challenges, etc. zDoes it really work? yIs the specification correct? yDoes the implementation meet the spec? yReliability in safety-critical systems

29 Challenges zHow do we work on the system? yComplex testing xHow do we test for real-time characteristics? xHow do we test on real data? yLimited observability and controllability yRestricted development environments xWhat is our development platform?

30 Design methodologies zA procedure for designing a system. zUnderstanding your methodology helps you ensure you didn’t skip anything. zCompilers, software engineering tools, computer-aided design (CAD) tools, etc., can be used to: yhelp automate methodology steps; ykeep track of the methodology itself.

31 Design goals zPerformance. yOverall speed, deadlines. zFunctionality and user interface. zManufacturing cost. zPower consumption. zOther requirements (physical size, etc.)

32 Levels of abstraction requirements specification architecture component design system integration

33 Top-down vs. bottom-up zTop-down design: ystart from most abstract description; ywork to most detailed. zBottom-up design: ywork from small components to big system. zReal design uses both techniques.

34 Stepwise refinement zAt each level of abstraction, we must: yanalyze the design to determine characteristics of the current state of the design; yrefine the design to add detail.

35 Requirements zPlain language description of what the user wants and expects to get. zMay be developed in several ways: ytalking directly to customers; ytalking to marketing representatives; yproviding prototypes to users for comment.

36 Functional vs. non- functional requirements zFunctional requirements: youtput as a function of input. zNon-functional requirements: ytime required to compute output; ysize, weight, etc.; ypower consumption; yreliability; yetc.

37 Our requirements form

38 Example: GPS moving map requirements zMoving map obtains position from GPS, paints map from local database. lat: 40 13 lon: 32 19 I-78 Scotch Road

39 GPS moving map needs zFunctionality: For automotive use. Show major roads and landmarks. zUser interface: At least 400 x 600 pixel screen. Three buttons max. Pop-up menu. zPerformance: Map should scroll smoothly. No more than 1 sec power-up. Lock onto GPS within 15 seconds. zCost: $500 street price = approx. $100 cost of goods sold.

40 GPS moving map needs, cont’d. zPhysical size/weight: Should fit in hand. zPower consumption: Should run for 8 hours on four AA batteries.

41 GPS moving map requirements form

42 Specification zA more precise description of the system: yshould not imply a particular architecture; yprovides input to the architecture design process. zMay include functional and non-functional elements. zMay be executable or may be in mathematical form for proofs.

43 GPS specification zShould include: yWhat is received from GPS; ymap data; yuser interface; yoperations required to satisfy user requests; ybackground operations needed to keep the system running.

44 Architecture design zWhat major components go satisfying the specification? zHardware components: yCPUs, peripherals, etc. zSoftware components: ymajor programs and their operations. zMust take into account functional and non-functional specifications.

45 GPS moving map block diagram GPS receiver search engine renderer user interface database display

46 GPS moving map hardware architecture GPS receiver CPU panel I/O display frame buffer memory

47 GPS moving map software architecture position database search renderer timer user interface pixels

48 Designing hardware and software components zMust spend time architecting the system before you start coding. zSome components are ready-made, some can be modified from existing designs, others must be designed from scratch.

49 System integration zPut together the components. yMany bugs appear only at this stage. zHave a plan for integrating components to uncover bugs quickly, test as much functionality as early as possible.

50 Summary zEmbedded computers are all around us. yMany systems have complex embedded hardware and software. zEmbedded systems pose many design challenges: design time, deadlines, power, etc. zDesign methodologies help us manage the design process.


Download ppt "임베디드 ( 내장형 ) 시스템 z 교과서 y Computers as components Morgan Kaufmann by Wayne Wolf xwww.mkp.com/embedwww.mkp.com/embed y Surviving the SoC revolution KAP."

Similar presentations


Ads by Google