RAM, ROM and memory types
הוצג
22:37
מחשבים ומרכיבים
פתחו כל מחשב – מעבר לקונסולה, מעבר לשבבים, עד למעמק הסיליקון – ותמצאו מתגים. לא אלפי. מיליארדים. וכל אחד מהם עושה…
קריינות באנגלית · כתוביות באנגלית ובסינית 中文 שאפשר להחליף ביניהן
בשיעור הזה
| English | משמעות |
|---|---|
| core rope memory | Read-only memory that stores bits using wires passed through or around magnetic rings. |
| magnetic rings | Small rings of magnetic material used with wires to store bits. |
| flight software | Programs that control and support the operation of a spacecraft during flight. |
| main memory | Memory directly used by the processor to hold programs and data. |
| RAM/ræm/ | |
| ROM/rɒm/ | |
| volatile/ˈvɒlətaɪl/ | נדיף |
| operating system/ˈɒpəreɪtɪŋ ˈsɪstəm/ | System software that manages hardware resources and provides services for applications. |
| non-volatile/nɒn ˈvɒlətaɪl/ | לא נדלית |
| firmware/ˈfɜːmweə/ | תוכנת קשיחה (Firmware) |
| bootstrap/ˈbuːtstræp/ | בוטסטראפ |
| embedded system/emˈbedɪd ˈsɪstəm/ | A computer system built into a larger device to perform a particular task. |
| disk/dɪsk/ | A storage device that holds programs and data even when power is off. |
| hardware/ˈhɑːdweə/ | The physical parts of a computer system that can be touched. |
| processor/ˈprəʊsesə/ | The component that executes instructions and performs the operations of a computer or similar system. |
| instructions/ɪnˈstrʌkʃnz/ | Commands that tell a computer what actions to perform. |
| secondary storage/ˈsekəndəri ˈstɔːrɪdʒ/ | Non-volatile storage used to retain data and programs beyond immediate processing. |
| SRAM/ˈesræm/ | A type of RAM that uses flip-flops to store bits without needing refresh. |
| DRAM/ˈdiːræm/ | |
| bit/bɪt/ | A binary digit, taking the value zero or one. |
| flip-flop/flɪp flɒp/ | פליפ-פלופ |
| transistors/trænˈzɪstəz/ | Electronic components that control current and can act as switches in digital logic circuits. |
| chip | A small piece of material containing electronic circuits that perform computer functions. |
| charge/tʃɑːdʒ/ | An electrical property that causes attraction or repulsion. |
| capacitor/kəˈpæsɪtə/ | קבל |
| cells/selz/ | Small parts of memory that each store a bit of data. |
| refreshed/rɪˈfreʃt/ | רענון |
| cache/kæʃ/ | מטמון (Cache) |
| refresh cycle | The process of restoring charge in DRAM cells so they keep their data. |
| PROM/prɒm/ | זיכרון PROM |
| EPROM/ˈiːprɒm/ | זיכרון EPROM |
| EEPROM/ˌiːiːˈprɒm/ | זיכרון EEPROM |
| programmer | A device used to write data or instructions into a memory chip. |
| fuses | Tiny parts in PROM that are burned to store data permanently. |
| quartz window | A clear opening in an EPROM chip that lets ultraviolet light reach it. |
| circuit/ˈsɜːkɪt/ | A complete path through which electric current can flow. |
| byte/baɪt/ | A group of eight bits, commonly used as a unit of data storage. |
| Flash memory/flæʃ ˈmeməri/ | A derivative optimised for erasing whole blocks quickly. |
| blocks | Groups of memory locations that flash memory can erase together. |
| electrical signal | A changing electrical quantity that carries information through an electronic device. |
| mask ROM | A type of ROM whose contents are fixed when the chip is made. |
זיכרון ארוג ביד
- מחשב ההנחיה אפולו שעלה לירח שמר את התוכניות שלו בזיכרון core rope: חוטים שזורזו ביד דרך או סביב טבעות מגנטיות קטנות, מעבר אחד עבור 1, השני עבור 0.
- לאחר האריגה, לא ניתן was to change anything. This was read-only memory in its purest form, and it meant the flight software had to be finished months before launch.
- הנתונים העובדים שלה היו שמורים בזיכרון נפרד וניתן למחיקה שאיבד הכל כאשר ההספק נכבה.
- כל מחשב מאז לו את אותם שני סוגי זיכרון ראשיים. שיעור זה עוסק בהבחנה ביניהם ובבחירה ביןיהם.

הכרטיס הזה תוקן, לכן הוא מוצג באנגלית עד שהתרגום שלו יעודכן.
RAM and ROM
- RAM 随机存取存储器 (Random Access Memory) is volatile 易失性: its contents are lost when the power is off. It holds the operating system 操作系统, the running programs and their data, and it is read and written constantly.
- ROM 只读存储器 (Read-Only Memory) is non-volatile 非易失性: it keeps its contents without power. In normal use it is only read, although some types can be erased and rewritten.
- ROM holds the firmware 固件 and bootstrap 引导程序 that start the computer, or the whole program of an embedded system 嵌入式系统. RAM is large and can usually be increased; ROM is small and fixed.

RAM is volatile and read/write; ROM is non-volatile and read-only
Device and storage lab
Classify computing examples by what job they do in a system.
Which statement is true?
רמת קושי 1/5 · 100 מטבעות + בונוס קטן בהשלמה הראשונה היום
RAM loses its contents without power (volatile); ROM keeps them (non-volatile).
ROM typically holds:
רמת קושי 1/5 · 100 מטבעות + בונוס קטן בהשלמה הראשונה היום
ROM is non-volatile and its contents are not changed in normal use, so it stores the start-up firmware. Running programs live in RAM.
דוגמה פותרת: שתי שאלות אהובות
- הסבר מדוע מחשב עם יותר RAM ביצועיו טובים יותר. הוא יכול להחזיק יותר תוכניות ונתונים בזיכרון בו-זמנית, ולכן מבצע החלפה (swap) פחותה בין הזיכרון לדיסק, ולכן עובד מהר יותר.
- צין את השימוש ב-ROM במחשב ובמכונת כביסה. במחשב: קוד ההפעלה לבדיקת ה-hardware ולהטענת מערכת ההפעלה. במכונת כביסה: תוכנת הבקרה המלאה, שלא משתנה לעולם.
- שתי התשובות מציין מה נשומר וגם מדוע זה חייב להיות שם.
A computer with more RAM holds more programs and data at once, so it swaps less between memory and ____, so it runs faster.
רמת קושי 1/5 · 100 מטבעות + בונוס קטן בהשלמה הראשונה היום
When RAM is full the operating system moves pages out to secondary storage and back, and every swap is thousands of times slower than a memory access.
סדר ההפעלה
- הדלקת חשמל. המעבד קורא את ההוראות הראשונות שלו מ-ROM, משום שה-RAM עדיין ריקה.
- ה-firmware בודק את ה-hardware, ולאחר מכן מטעין את מערכת ההפעלה מ-אחסון משני לתוך RAM.
- מאז ועד כן, המעבד עובד מ-RAM. ROM מפעילה את המערכת; RAM מחזיקה את העבודה הפעילה.

מודול RAM: מהיר, נדיף, וריק עד שה-firmware ממלא אותו

Put the start-up sequence in order.
רמת קושי 3/5 · 200 מטבעות + בונוס קטן בהשלמה הראשונה היום
ROM is non-volatile so its firmware is there at power-on; it then loads the OS into volatile RAM.
SRAM ו-DRAM
- SRAM (RAM סטטית) מאחסנת כל ביט ב-flip-flop המורכב מספר טרנזיסטורים. היא מהירה וצורכת מעט חשמל בשקט, אך היא יקרה ומאחסנת פחות ביטים בכל שבב.
- DRAM (RAM דינמית) מאחסנת כל ביט כמטען על קבל capacitor אחד מיניאטורי עם טרנזיסטור אחד. היא זולה וצפופה יותר, אך איטית יותר, והמטען דולף, ולכן כל תא חייב לעבור refresh אלפי פעמים בשנייה.
- לכן SRAM משמשת ל-cache הקטן והמהיר של המעבד, ו-DRAM לזיכרון הראשי הגדול.

SRAM is fast but expensive, so it is mainly used for:
רמת קושי 1/5 · 100 מטבעות + בונוס קטן בהשלמה הראשונה היום
SRAM (flip-flops) is fast but not dense, ideal for small fast cache. DRAM is used for large main memory.
DRAM must be refreshed (rewritten) thousands of times a second to keep its data.
רמת קושי 1/5 · 100 מטבעות + בונוס קטן בהשלמה הראשונה היום
DRAM stores each bit as charge on a capacitor, which leaks away — so it is constantly refreshed. SRAM does not need this.
Match each memory type to its key trait.
רמת קושי 2/5 · 140 מטבעות + בונוס קטן בהשלמה הראשונה היום
RAM/ROM split on volatility; SRAM/DRAM split on speed vs density.
דוגמה פותרת: מדוע זיכרון זה כאן?
- הסבר מדוע מערכת מובנית משתמשת ב-DRAM לזיכרון הראשי שלה. היא זקוקה לכמות גדולה של זיכרון בעלות נמוכה ובמרחב קטן, ודרישות המהירות שלה צנועות, ולכן ה-DRAM הזולה והצפופה היא הבחירה הנכונה.
- הסבר מדוע זיכון המעבד הוא SRAM. הזיכון קטן וצריך להיות מהיר ככל האפשר, ו-SRAM אינו דורש מחזור רענון שיאט אותו, ולכן העלות הגבוהה יותר לכל ביט משתלמת.
- תשובה אחת טוענת מטעמי עלות וצפיפות, השנייה מטעמי מהירות. ציין מה חשוב עבור ההתקן בשאלה.
Why does an embedded system use DRAM rather than SRAM for its main memory? Select כולם that apply.
רמת קושי 2/5 · 140 מטבעות + בונוס קטן בהשלמה הראשונה היום
Cost and density are DRAM's advantages. It is slower and it does need refreshing; the device accepts both because its speed requirement is modest.
PROM, EPROM ו-EEPROM
- PROM (זיכון ROM ניתן לתכנות) נכתב פעם אחת על ידי המשתמש באמצעות מתכנן, על ידי שריפת פיוזים. לא ניתן למחוק אותו.
- EPROM (זיכון ROM ניתן לתכנות וניתן למחיקה) נמחק על ידי אור אולטרבהולט חזק דרך חלון קוורץ, את כל השבב יחד, ויש להוציא אותו מהמעגל כדי לבצע זאת.
- EEPROM (זיכון ROM ניתן לתכנות ומחיקה חשמלית) נמחק ונכתב מחדש חשמלית, בייט בייט, בעוד שהוא נשאר במעגל. זיכון Flash הוא גרסה משופרת המותאמת למחיקה מהירה של בלוקים שלמים.

EEPROM differs from EPROM because it can be:
רמת קושי 1/5 · 100 מטבעות + בונוס קטן בהשלמה הראשונה היום
EEPROM is erased electrically a byte at a time in place; EPROM needs UV to erase the whole chip; PROM is write-once.
דוגמה פותרת: "תן שתי הבדלים"
- תן שתי הבדלים בין EPROM ל-EEPROM. כל הבדל מצויין עבור שני הסוגים.
- EPROM נמחק על ידי אור אולטרבהולט, **בניגוד ל-**EEPROM שנמחק על ידי אות חשמלי.
- EPROM מוחק את כל השבב יחד וצריך להוסף מהמעגל, **בניגוד ל-**EEPROM שמוחק בייט בייט ונשאר במקומו.
- הבדל שהוזכר לצד אחד בלבד הוא חצי מתשובה.
Match each ROM type to how it is erased or rewritten.
רמת קושי 2/5 · 140 מטבעות + בונוס קטן בהשלמה הראשונה היום
The names say it: Programmable, Erasable Programmable, Electrically Erasable Programmable.
בחירת הזיכון למשימה
- זיכון מעבד: SRAM, כי הוא צריך להיות המהיר ביותר ואינו חייב להיות גדול.
- זיכון ראשי של מחשב אישי, טלפון או מערכת embedded: DRAM, כי הוא צריך להיות גדול וזול.
- פירמוויר שייתכן ויידרש עדכון בשטח: EEPROM או Flash, כדי שניתן יהיה להתקין תיקון ללא פתיחת ההתקן.
- פירמוויר שאינו צריך לשנות לעולם, המיוצר בפרטים מיליוניים: Mask ROM או PROM, הזולים והבטוחים ביותר.

A router's firmware may need a security update after it is sold. Which memory should hold it?
רמת קושי 1/5 · 100 מטבעות + בונוס קטן בהשלמה הראשונה היום
It must survive without power, so not RAM, and it must be rewritable in place, so not PROM. EEPROM or flash can be reprogrammed electrically without opening the device.
סימונים נופלים מהיד
- המשפט "ROM לא ניתן לכתיבה" נכון רק ל-Mask ROM. PROM נכתב פעם אחת; EPROM ו-EEPROM ניתנים לכתיבה מחדש, לפי הדרך שצוינה לעיל.
- רענון שייך רק ל-DRAM. SRAM שומר ביט שלו בקרבע (flip-flop) ואינו זקוק לרענון.
- SRAM ו-DRAM הם סוגי RAM; PROM, EPROM ו-EEPROM הם סוגי ROM. אל תערבב בין הרשימות.
- "Volatile" (מתנדנד/לא נשמר) עניינו חשמל, לא מהירות. יש לומר "מאבד את תוכנו כאשר החשמל ננתק".
SRAM must be refreshed thousands of times a second to keep its contents.
רמת קושי 1/5 · 100 מטבעות + בונוס קטן בהשלמה הראשונה היום
Refresh is a DRAM requirement, because a capacitor's charge leaks. A flip-flop holds its state for as long as the power is on.
הבנתך מושלמת
- RAM נדחף, קריאה/כתיבה, מאחסן תוכניות רצות; ROM לא נדחף, קריאה בלבד, מאחסן פירמוויר; ROM מפעיל את המערכת, RAM מבצע את העבודה
- SRAM פליפ-פלופים, מהיר, ללא רענון → מטמון; DRAM קבל, צפוף וזול יותר, זקוק לרענון → זיכרון ראשי
- PROM נכתב פעם אחת; EPROM נמחק באור UV, כל השבב, מחוץ למעגל; EEPROM נמחק חשמלית, ביט אחד אחר אחד, בתוך המעגל (פלאש = מחיקה בבלוקים)
- תשובת "הבדל" מציינת שני הצדדים; תשובת "למה זיכרון זה" טוענת מכיוון המהירות או מכיוון העלות והצפיפות
מה השתבש? רק צוות האתר רואה זאת.