Information Technology Topic
RAM, ROM, PROM and EPROM
- Read notes
- Flashcards
- Quiz
- Confident
Study focus - 3 things
- A bistable device has two stable states and holds one bit: one state stands for 0 and the other for 1
- RAM is read/write working memory that loses its contents at power off, while ROM, PROM and EPROM keep their contents without power
- ROM is set by the maker and cannot be changed by the user, PROM can be written once by the user, and EPROM can be erased with ultraviolet light and written again
Section 1Bistable devices: how one bit is held
Computers store data as bits, and each bit is either 0 or 1. To hold a bit you need something with two clear states, one for 0 and one for 1. A bistable device is exactly that: a device with two, and only two, stable states. A flip-flop is a bistable circuit. It stays in one state until it is made to change, and its two outputs are always opposites, so when one is 1 the other is 0. In semiconductor memory, each bit cell is a circuit that is on or off, so that it holds a 0 or a 1. Here's the trick: think of a light switch. It stays up or stays down until you move it, so it can remember one bit.
Section 2RAM: the read/write working memory
RAM (random access memory) is the working memory of the computer. It holds the programs and data being used, so the processor can reach them quickly. RAM is read/write: any location can be read from or written to directly, and when new data is written in, the old data is simply written over. Memory is where unsaved work lives. RAM is volatile. Its contents are lost when the power goes off. This is why a computer copies start-up programs from disk into RAM each time it starts.
Section 3ROM: read-only memory set by the maker
ROM (read-only memory) holds programs and data recorded beforehand. The contents can be read but not overwritten by the user, and they stay in place when the power is off. A typical use is the boot-up instructions, the first instructions a computer follows when it is switched on. Programs built permanently into hardware like this are called firmware. Firmware is usually held in ROM or PROM and cannot be changed while the programs run. Easy to mix up: 'read-only' does not mean the computer cannot use it. It means the computer can read it but not write new data in.
Section 4PROM: programmable once
PROM (programmable read-only memory) can be bought blank, or already programmed by the maker. When you buy it blank, you write your own program into it using a special device, which is called 'burning' the program in. Once written, a PROM can never be changed or erased. A mistake cannot be corrected, so that chip cannot be used for the fixed program. PROM gives you the permanence of ROM and the freedom to load your own program, but only one time.
Section 5EPROM: erasable and reprogrammable
EPROM (erasable programmable read-only memory) can also be bought blank and programmed with special equipment. The difference is that it can be erased with a burst of ultraviolet light, and then programmed again. A mistake or an upgrade is therefore not fatal. The contents can be read as many times as you like without damage. A related chip, EEPROM, is erased with electricity instead of light, and for CSEC you only need to recognise its name.
Section 6Comparing the four
RAM: read and write, volatile, holds work in progress. ROM: read only, permanent, contents set by the maker, holds boot-up instructions and other firmware. PROM: blank when bought, written once by the user, then permanent. EPROM: written by the user, erased with ultraviolet light, can be rewritten. Imagine a small firm in Kingston building a gadget. While the program still has bugs, they use EPROM so they can erase and retry. When it is finished and they only need a few gadgets, they burn the final version into PROM.
Examples
Name the type of memory (RAM, ROM, PROM or EPROM) that matches each description. (a) Holds the programs and data being used and is lost when the power goes off. (b) Programs recorded by the maker that the user cannot change. (c) Bought blank, programmed once by the user with a special device, and cannot be erased. (d) Bought blank, programmed by the user, and can be erased with ultraviolet light and programmed again.
(a) RAM. It is read/write working memory and is volatile. (b) ROM. Its contents are recorded beforehand and stay when the power is off. (c) PROM. 'Programmable' means the user can write it, and 'once' is the clue. Once written it cannot be erased. (d) EPROM. 'Erasable' and 'ultraviolet light' point to EPROM.
A small firm in Kingston is building a gadget that follows a program stored on a memory chip. The program is still being tested and may need fixing. Later, the final version will go into a run of 20 gadgets, and every gadget must keep its program when switched off. (a) State which of EPROM and PROM the firm should use while testing, and justify the choice. (b) State which it should use for the run of 20 gadgets, and justify the choice. (c) Explain why the firm cannot use RAM to hold the gadget's program. (d) State what a bistable device inside these chips does.
(a) EPROM. The program may contain mistakes. An EPROM can be erased with ultraviolet light and programmed again, so a mistake is not fatal. (b) PROM. The program is finished, so it only needs to be written once, and a PROM keeps it permanently. (c) RAM is volatile. Its contents would be lost every time the gadget was switched off, so the gadget would have no program when switched on. (d) A bistable device has two stable states, one for 0 and one for 1, and so holds one bit. Many such cells together hold the program's bits.
Now let's water it
Session runs notes to flashcards to quiz back-to-back.
Where this comes from
- CSEC Information Technology Syllabus (CXC 30/G/SYLL 08, revised 2000, 2008, 2013) · Caribbean Examinations Council (CXC) · Section 1, Specific Objective 3 · Syllabus scope
- Navy Electricity and Electronics Training Series (NEETS), Module 22, Introduction to Digital Computers (NAVEDTRA 14194, September 1998) · US Navy (Naval Education and Training Professional Development and Technology Center) · Chapter 2, Classifications of internal storage: ROM, RAM, PROM and EPROM, pp. 2-7 to 2-8, and the two-state storage devices on pp. 2-5 to 2-6, a 1998 text used for concepts only, checked against (https://vtda.org/bits/other/US_Navy/NEETS/US%20Navy%20NEETS%20-%20Module%2022-Introduction%20to%20Digital%20Computers%20NAVEDTRA%2014194.pdf) · Facts
- NEETS Module 13, Introduction to Number Systems and Logic Circuits (NAVEDTRA 14185, September 1998) · US Navy (Naval Education and Training Professional Development and Technology Center) · Chapter 3, Flip-flops, p. 3-11, a 1998 text used for the bistable idea only, checked against (https://vtda.org/bits/other/US_Navy/NEETS/US%20Navy%20NEETS%20-%20Module%2013-Introduction%20to%20Number%20Systems%20and%20Logic%20NAVEDTRA%2014185.pdf) · Facts
- NIST CSRC Glossary entries: information, database · National Institute of Standards and Technology (NIST) · Page rom, NIST CSRC Glossary entry for ROM (attributed to NIST SP 1800-21B), checked against (https://csrc.nist.gov/glossary/term/rom) · Facts
- NIST CSRC Glossary entries: information, database · National Institute of Standards and Technology (NIST) · Page firmware, NIST CSRC Glossary entry for firmware (attributed to CNSSI 4009-2022 and NIST SP 800-37 Rev. 2), checked against (https://csrc.nist.gov/glossary/term/firmware) · Facts
- Siyavula Information Technology Grades 10, 11 and 12 (South African CAPS textbooks), listed pages only · Siyavula · Unit 1.3, Memory as part of a computer system, Grade 11 Information Technology (RAM is volatile working memory, ROM is read-only in normal operation) · Facts
- Information Systems for Business and Beyond (2019 edition), D. T. Bourgeois with J. Mortati, S. Wang and J. Smith, chapters 1, 2, 3, 6, 8 and 10 · David T. Bourgeois (Biola University), eCampusOntario open library repository · Chapter 2, Hard Disk and Removable Media, p. 24, EEPROM named only, checked against (https://openlibrary-repo.ecampusontario.ca/jspui/bitstream/123456789/656/2/Information-Systems-for-Business-and-Beyond-2019-1591280863.pdf) · Facts