1 / 5

Small SRAM Chip Simulator for Byte-Addressable Memory Operations

This lab simulates a small SRAM chip designed for educational purposes, demonstrating byte-addressable memory operations. Each address corresponds to one byte, allowing for various manipulations, including read and write operations. Key pins include !CE (chip enable), !OE (output enable), !WE (write enable), and byte enables (BE0-BE3). The simulator supports up to 16 locations with 4 address bits, enabling basic memory functions like writing a byte to a specific address and reading data stored at another. Ideal for understanding SRAM functionality and memory management.

Télécharger la présentation

Small SRAM Chip Simulator for Byte-Addressable Memory Operations

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

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

More Related