ECE243 - PowerPoint PPT Presentation

ece243 n.
Download
Skip this Video
Loading SlideShow in 5 Seconds..
ECE243 PowerPoint Presentation
play fullscreen
1 / 5
ECE243
95 Views
Download Presentation
benjamin-bates
Download Presentation

ECE243

- - - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript

  1. ECE243 MEMORY/SRAM SIMULATOR LAB

  2. Simulator of a small SRAM Chip • Byte addressable! • each address represents one bytes • IMPORTANT PINS: • !CE: chip enable • !OE: output enable • !WE: write enable • !BE3, !BE2, !BE1, !BE0 • Byte enables • a3-a0: address lines • 4 addr bits => 2^4 locations = 16 locations = 16*1B = 16B total

  3. write 0xabcd1234 to addr 0x4 • !CE:0; !OE:1; • !BE3:0; !BE2:0; !BE1:0; !BE0:0; • a3-a0: 0x4; data:0xabcd1234 • !WE:0

  4. write byte 0x25 at addr 0x5 • !CE:0; !OE:1; • !BE3:1; !BE2:1; !BE1:1; !BE0:0; • a3-a0: 0x5; data = 0xXXXXXX25 • !WE:0

  5. read halfword at addr 0x6 • !CE:0; !WE:1; • !BE3:1; !BE2:1; !BE1:0; !BE0:0; • a3-a0: 0x6; data:0xXXXXXXXX • !OE: 0