Docsity

General Timing Analysis - Embedded System Programming | ETEE 3285, Study notes of Electrical and Electronics Engineering

Partial preview of the text

Download General Timing Analysis - Embedded System Programming | ETEE 3285 and more Study notes Electrical and Electronics Engineering in PDF only on Docsity!

Embedded Systems Programming

ETEE 3285

Topic 14: General Timing Analysis

Objectives

 To understand hardware constraints on embedded

systems

 Define:

 Timing Conventions  High impedance states  Rise and fall times  Setup and hold times

 Look at general Dynamic (AC) Characteristics

 Memory Read cycle  Memory Write cycle

Rise and Fall Times

 Before we proceed with an analysis we need to consider

a few conventions used in timing diagrams

 The first is that all signals will show an exaggerated rise

and fall time

The rise time (tr) is defined as the time required for a digital signal to transition from 10% of its maximum value to 90% of its maximum value.

The fall time (tf) is defined as the time required for a digital signal to transition from 90% of its maximum value to 10% of its maximum value.

Bus Lines

 This waveform represents multiple, grouped signals such

as the address bus or the data bus.

 For a timing analysis, it is not important what value is on each

address line

 It is important is to know when that address line will reach a

steady state

Some address signals may be high, some low, but all are at a steady state

High Impedance

 There are times when a 3-state signal will be in a high

impedance state

 Both the single and multiple waveform representations for high

impedance states is shown

Propagation Delays

 Propagation delay:

 The time it takes for a change at the input of a device to cause a

change at the output

 Usually measured from the 50% point

A
B
X = AB

tPHL

tPLH tPHL High-to-low propagation delay is not always symmetrical (the same value as) to the low-to-high propagation delay

Hold Time

 Hold Time:

 Hold time is the amount of time an input signal must remain

stable after a clock signal to be recognized as a valid input

Clk

Data

Out tH tH (^) tH

Clock to Output

 Clock to Output Time:

 The propagation delay from the clock to the output

 The amount of time it takes for a valid output to appear after the

clock trigger occurs

Clk

Data

Out tPCKQ tPCKQ

Times Unique to Memory

 There are several timing parameters that are unique to

memory:

 Access time

 Cycle time

 Output enable

 Write pulse width

 DRAM also has TREF for the refresh cycle time

The Processor

 The Processor controls the signals that drive the timing,

load, and functional characteristics of the bus interface

 All other devices must be compatible with this bus interface

 Hence, the timing, load, and logic design and analyses

 The processor controls all data transfers on the bus

 Fetching instructions and operands

 Reading data

 Writing data

Control Line Activation

The processor selects the memory location by placing the address on the address bus

Control lines are driven by the processor to indicate the address space to use, such as program memory, data memory, I/O, or special cycles such as interrupts

Read Line Activated

The processor selects the memory location by placing the address on the address bus

Control lines are driven by the processor to indicate the address space to use, such as program memory, data memory, I/O, or special cycles such as interrupts

Read is activated by the processor on the control bus to indicate that the memory can place its data (the contents of the selected location) on the data bus

Buses Deactivated

The processor selects the memory location by placing the address on the address bus

Control lines are driven by the processor to indicate the address space to use, such as program memory, data memory, I/O, or special cycles such as interrupts

Read is activated by the processor on the control bus to indicate that the memory can place its data (the contents of the selected location) on the data bus

The memory places the contents of the selected location on the data bus

The processor deactivates the address and control lines, turning off the memory drivers

Memory Write Operation

The processor selects the memory location by placing the address on the address bus