Docsity

CPU Buses - Embedded Computing Systems | ELEC 5260, Study notes of Electrical and Electronics Engineering

Partial preview of the text

Download CPU Buses - Embedded Computing Systems | ELEC 5260 and more Study notes Electrical and Electronics Engineering in PDF only on Docsity!

CPU Buses

 Mechanism for communication with memories and I/O

devices

 Bus components:

 signal wires with designated functions

 protocol for data transfers

 electrical parameters (voltage, current, capacitance, etc.)

 physical design (connectors, cables, etc.)

CPU Bus Types

 Synchronous vs. Asynchronous

 Sync: all op’s synchronized to a clock

 Async: devices signal each other to indicate start/stop of

operations

 May combine sync/async (80x86 “Ready” signal)

 Data transfer types:

 Processor to/from memory

 Processor to/from I/O device

 I/O device to/from memory (DMA)

LPC2292 on-chip & external memory

buses

Typical bus data rates

Source: Peter Cheung “Computer Architecture & Systems Course Notes”

Microprocessor busses

Overheads for Computers as © 2008 Wayne Wolf Components 2nd^ ed.

 Clock provides
synchronization.
 R/W is true when reading
(R/W’ is false when
reading).
 Address is a-bit bundle of
address lines.
 Data is n-bit bundle of
data lines.
 Data ready signals when
n-bit data is ready.

Timing diagrams

Overheads for Computers as © 2008 Wayne Wolf Components 2nd^ ed.

State diagrams for bus read

Overheads for Computers as © 2008 Wayne Wolf Components 2nd^ ed.

CPU

device

Get data

Done

Adrs

Wait

See ack

Sendd ata

Release ack

Adrs

Wait

Ack

start

Bus wait state

Overheads for Computers as © 2008 Wayne Wolf Components 2nd^ ed.

Bus multiplexing

Overheads for Computers as © 2008 Wayne Wolf Components 2nd^ ed.

CPU

adrs

device

data

adrs

data enable

Adrs enable

Memory device organization

 Size.

 Address width.

n = r + c

 Aspect ratio.

 Data width d.

Memory array

n (^) r

c

d

SRAM vs. DRAM

 SRAM:

 Faster.

 Easier to integrate with logic.

 Higher power consumption.

 DRAM:

 Denser.

 Must be refreshed.

Typical generic SRAM

SRAM

CE’

R/W’

Adrs

Data

•May have OE’ and WE’ instead of R/W’
  • For multi-byte Data, may have byte-select signals

Generic SRAM timing

time

CE’

R/W’

Adrs

Data

read write

From SRAM From CPU

ISSI IS61LV51216 SRAM read cycle