Skip to content

Memory Overview

Digital Works supports the use of both Random Access Memory (RAM) and Read Only Memory (ROM). The number of unique locations that a Digital Works memory device can have is defined by setting the number of address lines. For example, having 4 address lines will give 2⁴ or 16 unique memory locations. A memory device with 8 address lines will give 2⁸ or 256 unique memory locations.

What can actually be stored at a single memory location is defined by the number of data lines it has. For example, having 4 data lines means that each memory location can hold 4 bits of data. Having 8 data lines means that 8 bits or 1 Byte of data can be stored, or retrieved, from a single memory location.

Putting this all together, we can say that the total amount of data that a memory device can hold is:

total memory size in bits = 2ⁿ × d

where n is the number of address lines and d the number of data lines.

See Also