Electronics/RAM and ROM

< Electronics

RAM: Random Access Memory ROM: Read Only Memory

Basics

Capacitors as memory

NOTE: Modern memories use transistors, gates, diodes, etc.

Examples

Reference 1: Programmer's Reference Guide for the Commodore 64 Personal Computer, published in 1988 by Commodore Business Machines, Inc.


Reference 2: The Semiconductor Memory Data Book for Design Engineers, published in 1975 by Texas Instruments Inc.

Bits

Bytes

Words

Address Bus connection

Just as the mail delivery person needs to have an address on each item to be delivered/collected, so also access to a particular byte of memory is "delivered" to a particular address, or "collected" from a particular address.

Data Bus connection

After the specific address has been fed into the memory, a specific given number is fed ("written") into the data bus connection, or the content of that address is "read".

Read/Write connection

There is also an input terminal connection that indicates the operation required. A 0 into that connection may indicate that the next operation will be a "write", while a 1 may indicate that it will be a "read".

Clock connection

A memory may require one or more clock signals, possibly "phase 1" and "phase 2", etc., which are inputs into the memory from oscillators, meaning they alternate very fast between 0 and 1 continuously. While the clock is, maybe, 0 various changes can be made, such as an address change and/or a change of data, but the actual reading or writing takes place only while the clock is, maybe, 1. Some memories include clock oscillators, possibly requiring external crystals.

RAM (Random Access Memory)

A RAM is a "Random Access Memory" - Sizes and their architecture vary considerably, users can put into any of their addressed bytes any number up to a given maximum, and that number can be replaced by another number as required, when required. Some memories supply the complements of what was put into them.

Dynamic Read/Write Memories

Requires frequent refreshing.

Static Read/Write Memories

Retains the data even if control signals are absent, however such memories may use dynamic addressing

ROM (Read Only Memory)

A ROM is a "Read Only Memory". It is factory-produced, and usually its contents are fixed. A ROM can be read, but it usually cannot be written to. Usually a ROM contains very important fixed information required for the proper operation of the equipment.

Mask-Programmed Read-Only Memories

Uses a mask during manufacture, contents cannot be altered.

Programmable Read-Only Memories

Permits a change of each cell after manufacture, but once only.

Reprogrammable Read-Only Memories

Permits changes to each cell after manufacture, more than once.
This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.