Docsity

Notes on Design of Microprocessor Based Systems | EECS 280, Study notes of Electrical and Electronics Engineering

Partial preview of the text

Download Notes on Design of Microprocessor Based Systems | EECS 280 and more Study notes Electrical and Electronics Engineering in PDF only on Docsity!

EECS 373 F99 Notes

1-

1998, 1999 Steven K. Reinhardt

EECS 373

Design of Microprocessor-based Systems

Fall 1999 Course NotesProf. Steven K. Reinhardt

Where does this course fit in?

EECS 280 EECS 270

EECS 370

EECS 373

Programming in HLLs Building Digital Systems

Microprocessors as

Building Digital Systemsusing Microprocessors

out of Gates

Digital Systems

EECS 373 F99 Notes

1-

1998, 1999 Steven K. Reinhardt

Overview

What is this course about? •^

how to design and build systems using microprocessors What are some examples of microprocessor-based systems?Why are more and more systems using microprocessors?•^

microprocessors are very cheap (< $1 at the low end)

-^

an off-the-shelf microprocessor + software can replace a lotof application-specific logic

-^

software enables flexible, sophisticated features that wouldbe difficult or impossible otherwise

-^

software is typically easier to debug & fix than hardware

-^

more and more information is being stored and transmittedin digital form

Embedded vs. general-purpose systems

A microprocessor-based system that is dedicated to a specifictask or tasks as part of a larger product is referred to as an embedded system

. Although embedded systems get much less

publicity, they vastly outnumber general-purpose systems in themarket. This chart shows the number of 32-bit microprocessors shippedin 1997. On the left are processors shipped in embeddedsystems; on the right are processors shipped in general-purposesystems. Note that this chart does not include hundreds ofmillions of 8-bit and 16-bit embedded processors.

Source:

Microprocessor Report

EECS 373 F99 Notes

1-

1998, 1999 Steven K. Reinhardt

Memory

•^

Stores instructions (programs) & data

-^

Organized as an array of locations (addresses), each storingone byte (8 bits). Reading (retrieving data from) aparticular location always returns the last value stored (sentto) that location.

I/O devices

•^

Let system interact with the world

-^

Device interface

(a.k.a.

controller

or

adapter

) is digital

logic that connects actual device to bus

-^

examples?

-^

I/O device registers

look just like memory to the CPU: a

bunch of locations that can be accessed over the bus.However, I/O device registers are connected to other things(external wires, device control logic, etc.)

-^

Result:1.

reads usually don’t return last value written (e.g., maybe value of last key pressed on keyboard instead)

writes usually have side effects (e.g., display characteron screen)

Course topics

(not in order)

•^

PowerPC architecture & assembly language programming

-^

Bus designs, protocols, and interfacing

-^

Standard busses (PCI, USB, etc) & bus bridging

-^

Common I/O devices:•^

Timers

-^

Analog-to-digital, digital-to-analog conversion

-^

Serial I/O

-^

Video

-^

Interrupts: I/O devices demand attention

-^

DMA: I/O devices talk directly to memory

-^

Memory technologies: SRAM, DRAM (page mode, EDO,synchronous, Rambus), Flash, etc.