انت هنا الان : شبكة جامعة بابل > موقع الكلية > نظام التعليم الالكتروني > مشاهدة المحاضرة

الذاكرة - البوربوينت المعروض في المحاضرة

Share |
الكلية كلية العلوم للبنات     القسم قسم الحاسبات     المرحلة 3
أستاذ المادة نور كاظم ايوب مهدي المهدي       27/01/2017 10:09:33
Main memory/Part1
By Noor Kadhum
Architecture For 3rd Stage
Computer Science

In the first lecture, we learned about the first level in the hierarchy of memory - registers – they are the only type of memory that resides inside the processor .
This lecture is dedicated to the study of another level in the hierarchicy. The main memory is the central storage unit in acomputer. It is relatively larg and fast memory used to store programs and data during the computer operation.
Random Access Memory(RAM)
Integrated circuit RAM chips are avalable in two possiple operating modes:
1- Static RAM : consists essentially of internal flip-flops that store the binary information.the stored information remains valid as long as power is applied to the unit.The static RAM is easier to use and has shorter read and write cycles.

2- Dynamic RAM: stores the binary information in the form of electric charges that are applied to capacitors(متسعات). The capacitors are provided inside the chip by MOS transistors. The charge on the capacitors tend to discharge with time and the capacitors must be periodically recharge by refreshing the dynamic memories. The dynamic RAM offers reduced power consumption and larger storage capacity in a single memory chip.
RAM was used to refer a Random Access Memory but it is use to designate a read / write memory to distiguish from read only memory (ROM).
Read Only Memory(ROM)
Most of main memory in a general purpose computer is made of RAM integrated circuit chips but a portion of the memory may be constructed with ROM chips.
ROM is needed for storing an initial program called bootstrap loader whosefunction is to start the computer software operating when the power is turened on .
The starup of computer consistes of : Turning the power on and starting the initial program.thus when power is turned on the hardwar of computer sets the program counter (PC) to the first address of the bootstrap loader.
The bootstrap program loads a portion of the operating system (OS) from disk to main memory and control is then transferred to OS which prepare the computer for general use.

Comparission between RAM and ROM
1- Both are random access memory.
2- RAM is used to store the programs and data that are subject to change.while ROM is used to store the programs that are permanently resident in the computer and for tables f constants that do not change in value once the production of computer is completed .
3- RAM is volatile, its contents are destroyed powe is turned off. The cntents of ROM remain unchanged after power in turned off and n again.
RAM an ROM chips
The block diagram of RAM chip is shown in the figure below. The capacity f the memory is 128 byte :
128= 27? 7 bit adress bus
Byte? 8 bit data bus (bidirectional)


8 bit databus



Read and write inputs specify the memory operation and the the two chips select (CS) cntrl inputs are for enabling the chip only when it is selected by CPU.the availablity of more than one control input to select the chip facilitates the decoding of the address when multiple chips are used in CPU.
ROM chip is organized externally in a similar manner. However, since ROM can only read, the data bus can only be in the output mode.could you draw a ROM chip of 512byte?
Your answer:




The format of address with its translation will be :





Example translate the following address:

Sol:
- The selected chip located within RAM because CS2=0
- The selected chip is : 1 because CS1=(01)2 =(1)10
- The selected address within chip is the address no.3 because thevalue of address field is (0000011)2=(3)10

المادة المعروضة اعلاه هي مدخل الى المحاضرة المرفوعة بواسطة استاذ(ة) المادة . وقد تبدو لك غير متكاملة . حيث يضع استاذ المادة في بعض الاحيان فقط الجزء الاول من المحاضرة من اجل الاطلاع على ما ستقوم بتحميله لاحقا . في نظام التعليم الالكتروني نوفر هذه الخدمة لكي نبقيك على اطلاع حول محتوى الملف الذي ستقوم بتحميله .
الرجوع الى لوحة التحكم