Unit 23 Summary Review of some key concepts from the first half of - - PowerPoint PPT Presentation

unit 23
SMART_READER_LITE
LIVE PREVIEW

Unit 23 Summary Review of some key concepts from the first half of - - PowerPoint PPT Presentation

23.1 23.2 Unit 23 Summary Review of some key concepts from the first half of the semester A BRIEF SUMMARY 23.3 23.4 A Few Big Ideas 1 A Few Big Ideas 2 Any algorithm can be implemented Software interacts with hardware by setting,


slide-1
SLIDE 1

23.1

Unit 23

Summary

23.2

A BRIEF SUMMARY

Review of some key concepts from the first half of the semester

23.3

A Few Big Ideas 1

  • Software interacts with hardware by setting, clearing,

and reading bits in specific registers

  • Because we do not know when HW events will occur

we use interrupts and/or polling to check for HW events

– Take care; speed matters! One physical event may be seen as multiple events to a fast software loop; or you may miss an event completely if your software responds too slowly – We must write our software with this in mind

23.4

A Few Big Ideas 2

  • Any algorithm can be implemented

in software or hardware

  • Hardware will:

– Be faster and use less power – Convert input combinations to desired

  • utput combinations using

combinational logic that often includes muxes, adders, decoders, and comparators – Use sequential logic, namely a register, to capture and save state or various data variables on a clock edge for processing in subsequent clocks

Computing System Spectrum

Application Specific Hardware (no software) General Purpose HW w/ Software Flexibility, Design Time Performance Cost

slide-2
SLIDE 2

23.5

A Few Big Ideas 3

  • We want to reduce latency and/or increase

throughput by techniques such as caching and pipelining

  • Parallelism both at the hardware and software level

can be carefully exploited to improve performance

– Communication and collaboration reduce the effectiveness

23.6

REVISITING COMPUTER ENGINEERING

Big picture ideas of what the computer engineering is about

23.7

Remember Day 1

http://www.cmu.edu/news/image-archive/Boss.jpg http://prisonerofclass-5933.zippykid.netdna-cdn.com/wp-content/uploads/2013/05/iphone.jpg http://firstcallappliance.com/wp-content/uploads/image/microwave.jpg http://www.amazon.com/Fisher-Price-T-M-X-Tickle-Me-Elmo/dp/B000ETRE0Q http://oeatech.net/wp-content/uploads/2011/03/RADARSAT2-satellite.jpg

  • Computer engineering prepares

you for a broad set of fields

– You could work in the SW industry – You could work in the HW industry – You will be most qualified for jobs that combine that knowledge

  • We've been focused on the

software/hardware interaction embodied in embedded systems

23.8

You Can Do That With Computer Engineering

SW

Voltage / Currents Transistors / Circuits Digital Logic Processor / Memory / GPU / FPGAs / Networks Assembly / Machine Code OS / Libraries C++ / Java / Python Algorithms Networks Applications

HW

Devices & Integrated Circuits (Semiconductors & Fabrication) Architecture (Processors & Embedded HW) Systems & Networking (Embedded Systems, IoT, Networks) Applications (AI, Robotics, Graphics, Mobile) Cloud & Distributed Computing (CyberPhysical, Databases, Data Mining, Machine Learning, etc.)

slide-3
SLIDE 3

23.9

Dive Into a SmartPhone

  • Here's a picture of what's inside the

iPhoneTM

  • Both sides of the circuit board are

populated with chips

http://www.techinsights.com/teardown.com/apple-iphone-6/

https://d3nevzfk7ii3be.cloudfront.net/igi/6MaZk5cEE2tm1uCj.huge

Battery 2-sided Circuit Board 23.10

What's Inside Your SmartPhone

  • What's inside an iPhone 6?
  • Microcontrollers/microprocessors

– Apple A8 APL1011 SoC + Elpida 1 GB LPDDR3 RAM – SoC = System on Chip…Not just a processor but a processor with custom hardware to do specialized tasks…on-board graphics processor in this case – NXP LPC18B1UK ARM Cortex-M3 Microcontrollers – Similar on-board I/O modules as the Arduino. Take a look… – https://www.nxp.com/docs/en/data-sheet/LPC178X_7X.pdf

  • Modem + Amplifiers + Transceivers for wireless

communication

– Qualcomm MDM9625M LTE Modem + many others

http://www.techinsights.com/teardown.com/apple-iphone-6/

23.11

What's Inside?

  • A gyroscope, accelerometer, and touchscreen

– InvenSense MP67B 6-axis gyroscope and accelerometer combo – Broadcom BCM5976 Touchscreen Controller – Both use some form of A-to-D conversion to sense motion or touch

  • Memory Storage

– SK Hynix H2JTDG8UD1BMS 128 Gb (16 GB) NAND Flash

  • Other specialized HW I/O modules

– Murata 339S0228 Wi-Fi Module – Qualcomm PM8019 power management IC – Cirrus Logic 338S1201 audio codec

http://www.techinsights.com/teardown.com/apple-iphone-6/ 23.12

Computer Engineering & HW

  • Computer engineering prepares you to work

in jobs that design these kinds of systems by:

– Learn how to build networked embedded systems with IoT applications (EE 250) – Learning how to create custom hardware accelerators (EE 354 Digital System Design and EE 454L SoC Design) – Learning how to optimize processors (pipelining, out-of-order execution) and memory systems (caching and virtual memory) to execute software as efficiently as possible (EE 457 Computer Architecture) – Learning how to write parallel and programs and use modern distributed computation frameworks to process big data in the cloud (EE 451 Parallel and Distributed Computation)

http://www.anandtech.com/show/8562/chipworks-a8

Die Photo of the Apple A8 SoC Processor

slide-4
SLIDE 4

23.13

ADDITIONAL MATERIAL

23.14

Amazon Echo

  • Let's try to put all of this into context with an

example

  • Let's see what hardware is inside
  • Let's think about some of the software

considerations

Many of the terms you see may not be familiar but you will learn about many of them throughout this

  • course. By the end of the semester you should

have a good idea of what is going on inside! For now, focus on the categorization of processor, memory, and I/O and how they must talk to each

  • ther by doing reads/writes.

23.15

Amazon Echo Hardware [1/3]

  • Main Processing board

– [Red] Texas Instruments DM3725CUS100 Digital Media Processor – [Orange] Samsung K4X2G323PD-8GD8 256 MB LPDDR1 RAM – [Yellow] SanDisk SDIN7DP2-4G 4 GB iNAND Ultra Flash Memory – [Green] Qualcomm Atheros QCA6234X-AM2D Wi-Fi and Bluetooth Module – [Blue] Texas Instruments TPS65910A1 Integrated Power Management IC

https://www.ifixit.com/Teardown/Amazon+Echo+Teardown/33953

You will learn more about how the processor and memory are designed.

23.16

Amazon Echo Hardware [2/3]

  • Daughterboard with much of the audio I/O devices

– [Red] Texas Instruments LP55231 Programmable 9-Output LED Driver (x4) – [Orange] Texas Instruments TLV320ADC3101 92dB SNR Low-Power Stereo ADC (x4) – [Yellow] Texas Instruments SN74LVC74A Dual Positive-Edge-Triggered D-Type Flip-Flops – [Green] S1053 0090 V6 Microphone (x7)

https://www.ifixit.com/Teardown/Amazon+Echo+Teardown/33953

In your first few labs you will build systems to control LEDs, perform A-to- D conversions (ADC), and learn about "flip-flops"

slide-5
SLIDE 5

23.17

Amazon Echo Hardware [3/3]

  • Power and speaker I/O board

– [Red] Texas Instruments TPS53312, likely an updated version of the TPS53311 3A Step-Down Regulator with Integrated Switcher – [Orange] Texas Instruments TLV320DAC3203 Ultra Low Power Stereo Audio Codec – [Yellow] Texas Instruments TPA3110D2 15W Filter-Free Class D Stereo Amplifier

https://www.ifixit.com/Teardown/Amazon+Echo+Teardown/33953

Not everything is digital. To produce audible sound we need to worry about voltage/current requirements.

23.18

Amazon Echo Software

  • What kind of software do we need?

– Firmware: Software that won't often change and is meant to control the hardware

  • Low-level software to control the various hardware

devices (speakers, microphones, etc.)

  • Operating system to run and coordinate all the higher

level software apps

  • Audio processing software to perform voice

recognition, etc.

– Extensible framework for higher level, networked software that may perform new user-defined skills/apps

23.19

Amazon Echo Software

  • Some tasks may be

handled by the hardware/software in the Echo

– Recognition of "Alexa" voice command

  • Other requests may

require more information

  • r processing capability

than is locally present so it is sent over the Internet to be processed in the cloud

https://developer.amazon.com/alexa-skills-kit "Alexa"