Memory Timing Diagram: Understanding Read and Write Operations in Computer Architecture - , Assignments of Aerospace Engineering

A detailed memory timing diagram explaining the process of reading and writing data to a memory element using cs, r/w, a0, a1, and clk signals. It also covers the roles of setup and hold times, and the impact of chip selection and data bus driving.

Typology: Assignments

Pre 2010

Uploaded on 09/17/2009

koofers-user-8xa
koofers-user-8xa 🇺🇸

10 documents

1 / 131

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Andrew H. Fagg: Embedded
Real-Time Systems: Computer
Arch
1
Implementing A Read/Write
Memory Module
Inputs:
2 Address bits: A0 and A1
1 “chip select” (CS) bit
1 read/write bit (1 = read; 0 = write)
1 clock signal (CLK)
Input or Output:
Data bit (connected to the “data bus”)
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e
pf2f
pf30
pf31
pf32
pf33
pf34
pf35
pf36
pf37
pf38
pf39
pf3a
pf3b
pf3c
pf3d
pf3e
pf3f
pf40
pf41
pf42
pf43
pf44
pf45
pf46
pf47
pf48
pf49
pf4a
pf4b
pf4c
pf4d
pf4e
pf4f
pf50
pf51
pf52
pf53
pf54
pf55
pf56
pf57
pf58
pf59
pf5a
pf5b
pf5c
pf5d
pf5e
pf5f
pf60
pf61
pf62
pf63
pf64

Partial preview of the text

Download Memory Timing Diagram: Understanding Read and Write Operations in Computer Architecture - and more Assignments Aerospace Engineering in PDF only on Docsity!

Andrew H. Fagg: Embedded Real-Time Systems: Computer 1

Implementing A Read/Write

Memory Module

Inputs:

  • 2 Address bits: A0 and A
  • 1 “chip select” (CS) bit
  • 1 read/write bit (1 = read; 0 = write)
  • 1 clock signal (CLK) Input or Output:
  • Data bit (connected to the “data bus”)

Andrew H. Fagg: Embedded Real-Time Systems: Computer 2

Implementing A Read/Write

Memory Module

With 2 address bits, how many memory elements can we address? How could we implement each memory element?

Andrew H. Fagg: Embedded Real-Time Systems: Computer 4

Memory Module Specification

When chip select is low:

  • No memory elements change state
  • The memory does not drive the data bus

Andrew H. Fagg: Embedded Real-Time Systems: Computer 5

Memory Module Specification

When chip select is high:

  • If R/W is high:
    • Drive the data bus with the value that is stored in the element specified by A1, A
  • If R/W is low:
    • Store the value that is on the data bus in the element specified by A1, A

Andrew H. Fagg: Embedded Real-Time Systems: Computer 7

Memory Timing Diagram

Q A A R/W CS CLK D Data bus not driven

Andrew H. Fagg: Embedded Real-Time Systems: Computer 8

Memory Timing Diagram

Q A A R/W CS CLK D Memory element 2 is initially in a high state

Andrew H. Fagg: Embedded Real-Time Systems: Computer 10

Memory Timing Diagram

Q A A R/W CS CLK D Chip is selected

Andrew H. Fagg: Embedded Real-Time Systems: Computer 11

Memory Timing Diagram

Q A A R/W CS CLK D Address memory element 2

Andrew H. Fagg: Embedded Real-Time Systems: Computer 13

Memory Timing Diagram

Q A A R/W CS CLK D Clock goes low

Andrew H. Fagg: Embedded Real-Time Systems: Computer 14

Memory Timing Diagram

Q A A R/W CS CLK D Memory element 2 changes state to low

Andrew H. Fagg: Embedded Real-Time Systems: Computer 16

Memory Timing Diagram

Q A A R/W CS CLK D Hold time : all inputs must continue to be valid

Andrew H. Fagg: Embedded Real-Time Systems: Computer 17

Memory Timing Diagram II

Q A A R/W CS CLK D

Andrew H. Fagg: Embedded Real-Time Systems: Computer 19

Memory Timing Diagram II

Q A A R/W CS CLK D What happens next?

Andrew H. Fagg: Embedded Real-Time Systems: Computer 20

Memory Timing Diagram II

Q A A R/W CS CLK D On chip select – drive data bus from Q