Unformatted text preview:

CS244-Introduction to Embedded Systems and Ubiquitous ComputingIntroduction to Embedded SystemsCourse outlineOutlineWhat’s an Embedded System?Embedded SystemsAn Example Embedded SystemES: Simplified Block DiagramCourse OutlineComponents of Embedded SystemsHardware ComponentsHardware Components of Embedded Systems- an exampleProcessorsGP/SP Processor ArchitectureGeneral-purpose processorsApplication-specific IS processors (ASIPs)Application-Specific ICs (ASICs)Application Specific Circuits (ASIC)GP vs. SP ProcessorsStorageWrite-abilityStorage-permanenceMemory TypesCommunicationSerial CommunicationParallel CommunicationWireless CommunicationPeripheralsTimersCountersWatchdog TimerUARTPulse Width Modulator (PWM)LCDKeypadStepper Motor ControllerAnalog-to-Digital ConverterSummaryCS244-Introduction to Embedded Systems and Ubiquitous ComputingInstructor: Eli BozorgzadehComputer Science DepartmentUC IrvineWinter 2010Winter 2010- CS 2442Introduction to Embedded SystemsSuggested Textbooks:Embedded System Design, by F. Vahid and Givargis, Wiley, 2002Embedded System Design, by P. Marwedel, Kluwer Academic, 2003Embedded System Design, by Gajski, Abdi, and et. al., Springer, 2008Other sourcesLecture noteshandoutsWinter 2010- CS 2443Course outlineLecturesTue-Thu: 9:30-11:00 a.m. DBH 130Office hours: email me first to make sure I am available!Grading policy:25%: homework25%: Paper presentation Each of you presents a paper assigned to you, assignment: around week 4 and presentation around week 8-9.30%: embedded system Example project (week 6-10)20%: Exam (late midterm, week 8-9)Winter 2010- CS 2444OutlineWhat are embedded systems?Embedded System ComponentsHardware/softwareEmbedded System applicationsModel, languages and toolsHardware/software co-design and synthesisReconfigurable ComputingReal time Operating systemsCopyrighted Material adapted from slides by Peter Marwedel, Frank Vahid,Tony Givargis, Dan Gajski, and Nikil DuttWinter 2010- CS 2445What’s an Embedded System?Embedded systems =information processing systems embedded into a larger productTwo types of computingDesktop – produced millions/yearEmbedded – billions/yearNon-Embedded SystemsPCs, servers, and notebooksThe future of computing! Automobiles, entertainment, communication, aviation, handheld devices, military and medical equipments.Winter 2010- CS 2446Embedded SystemsDevices other than desktop PCs, servers, and notebooksElectricity running throughPerform something intelligentHardware/software which form a component of a larger system, but are concealed from userComputers camouflaged as non-computers The future of computing!6Winter 2010- CS 2447An Example Embedded SystemDigital Camera Block DiagramWinter 2010- CS 2448ES: Simplified Block DiagramactuatorsactuatorsWinter 2010- CS 2449Course Outline ConceptConceptSpecificationSpecificationHW/SWHW/SWPartitioningPartitioningHardware ComponentsHardware ComponentsSoftware ComponentsSoftware ComponentsEstimation -Estimation -ExplorationExplorationHardwareHardwareSoftwareSoftwareDesignDesign(Synthesis, Layout, …)(Synthesis, Layout, …)DesignDesign(Compilation, …)(Compilation, …)Validation and Evaluation (area, power, performance, …)Validation and Evaluation (area, power, performance, …)Winter 2010- CS 24410Components of Embedded Systems Analog Components Sensors, Actuators, Controllers, … Digital Components Processor, Coprocessors Memories Controllers, Buses Application Specific Integrated Circuits (ASIC) Converters – A2D, D2A, … Software Application Programs Exception HandlersHardwareSoftwareHardware ComponentsWinter 2010- CS 24412Hardware Components of Embedded Systems- an exampleAnalogDigital AnalogMemoryCoprocessorsControllersConvertersProcessorInterfaceSoftware(Application Programs)ASICWinter 2010- CS 24413ProcessorsWhat is a processor?Artifact that computes (runs algorithms)Controller and data-pathGeneral-purpose (GP) processors:Variety of computation tasksFunctional flexibility and low cost at high volumes (maybe)Slow and power hungrySingle-purpose (SP) processors (or ASIC)One particular computation taskFast and power efficientFunctional inflexibility and high cost at low volumes (maybe)13Winter 2010- CS 24414GP/SP Processor Architecture14Data-PathDataInputDataOutputControlStatusControllerControlWinter 2010- CS 24415General-purpose processorsProgrammable device used in a variety of applicationsAlso known as “microprocessor”FeaturesProgram memoryGeneral datapath with large register file and general ALUUser benefitsLow time-to-market and NRE costsHigh flexibilityExamples Pentium, Athlon, PowerPCIR PCRegisterfileGeneralALUDatapathControllerProgram memoryAssembly code for: total = 0 for i =1 to …Control logic and State registerDatamemoryWinter 2010- CS 24416Application-specific IS processors (ASIPs)Programmable processor optimized for a particular class of applications having common characteristicsCompromise between general-purpose and ASIC (custom hardware)FeaturesProgram memoryOptimized datapathSpecial functional unitsBenefitsSome flexibility, good performance, size and powerExamplesDSPs, Video Signal Processors, Network Processors,..IR PCRegistersCustomALUDatapathControllerProgram memoryAssembly code for: total = 0 for i =1 to …Control logic and State registerDatamemoryWinter 2010- CS 24417Application-Specific ICs (ASICs)Digital circuit designed to execute exactly one programcoprocessor, hardware acceleratorFeaturesContains only the components needed to execute a single programNo program memoryBenefitsFastLow powerSmall sizeDatapathControllerControl logicState registerDatamemoryindextotal+Winter 2010- CS 24418Application Specific Circuits (ASIC) Custom-designed circuits necessary if ultimate speed or energy efficiency is the goal and large numbers can be sold.Approach suffers from long design times and high costs.Winter 2010- CS 24419GP vs. SP ProcessorsProgrammable controllerControl logic is stored in memoryFetch/decode overheadHighly general data-pathTypical bit-width (8, 16, 32, 64)Complete set of arithmetic/logic unitsLarge set of registersHigh NRE/sale-volumeHardwired controllerNo need for program memory and cacheNo fetch/decode


View Full Document
Download Introduction to Embedded Systems
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view Introduction to Embedded Systems and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view Introduction to Embedded Systems 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?