0% found this document useful (0 votes)
252 views10 pages

Ram and Rom Chips

RAM is the main memory of a computer system. It uses a bidirectional data bus to allow transfer of data between memory and the CPU. The RAM chip described has a capacity of 128 bytes using a 7-bit address and 8-bit data bus. ROM can only read data and has a larger storage capacity than RAM for the same chip size, so the example shows a 512 byte ROM chip using 9 address lines. A memory address map is used to assign addresses to RAM and ROM chips to distinguish between them and access the different memory locations in the system.

Uploaded by

hardikbhandari12
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
252 views10 pages

Ram and Rom Chips

RAM is the main memory of a computer system. It uses a bidirectional data bus to allow transfer of data between memory and the CPU. The RAM chip described has a capacity of 128 bytes using a 7-bit address and 8-bit data bus. ROM can only read data and has a larger storage capacity than RAM for the same chip size, so the example shows a 512 byte ROM chip using 9 address lines. A memory address map is used to assign addresses to RAM and ROM chips to distinguish between them and access the different memory locations in the system.

Uploaded by

hardikbhandari12
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 10

MANINDER KAUR

prof es s ormani nder@gmai l . c om


RAM and ROM Chips
24-Nov-2010
1
www.eazynotes.com
RAM Chip
RAM is the main memory.
It has bidirectional data bus that allows the transfer of data either
from memory to CPU during a read operation or from CPU to
memory during a write operation.
The capacity of the memory is 128 words of eight bits (one byte) per
word.
This requires a 7-bit address and an 8-bit bidirectional data bus.

The read and write inputs specify the memory operation and the
two chip select (CS) control inputs are for enabling the chip only
when it is selected by the processor.
24-Nov-2010
2
www.eazynotes.com
24-Nov-2010 3
www.eazynotes.com
ROM Chip
ROM can only read, the data bus can only be in an output
mode.
For the same size chip, it is possible to have more bits of
ROM than of RAM, because the internal binary cells in
ROM occupy less space than in RAM.
For this reason, the diagram specifies a 512 byte ROM,
while the RAM has only 128 bytes.
The nine address lines in the ROM chip specify any one
of the 512 bytes stored in it.
24-Nov-2010
4
www.eazynotes.com
ROM Chip
24-Nov-2010
5
www.eazynotes.com
Memory Address Map
A memory address map, is a pictorial representation of
assigned address space for each chip in the system.
Let us assume that a computer system needs 512 bytes of
RAM and 512 bytes of ROM
The RAM chips have 128 bytes and need seven address lines.
The ROM chip has 512 bytes and needs 9 address lines.
The Xs are always assigned to the low order bus lines: lines 1
through 7 for the RAM and lines 1 through 9 for the ROM. It is
now necessary to distinguish between 4 RAM chips by
assigning to each a different address.
24-Nov-2010
6
www.eazynotes.com
24-Nov-2010 7
www.eazynotes.com
MEMORY CONNECTION TO CPU
The configuration gives a memory capacity of 512
bytes of RAM and 512 bytes of ROM.
The particular RAM chip selected is determined from
lines 8 and 9 in the address bus. This is done
through a 2 x 4 decoder whose outputs goes to the
CS
1
inputs in each RAM chip.
The selection between RAM and ROM is achieved
through bus line 10.
24-Nov-2010
8
www.eazynotes.com
24-Nov-2010 9
www.eazynotes.com
24-Nov-2010 10
www.eazynotes.com

You might also like