The Best Way To RAMS, In the world of technology and modernization, we have already come across the uses of computers and programming. But before we can actually get into any of these discussions it does occur to us that how can a computer being a machine perform so many tasks all alone? There must be some sort of things that are present in the motherboard of CPU which helps in its fast functioning. And today let us speak about some features of the digital computer that helps to make the work faster and easier for proper functioning. A digital computer consists of the following main parts:
CPU MEMORY UNIT INPUT-OUTPUT UNIT
Here the CPU stands for Central Processing Unit which acts as the brain of the computer and performs the bulk of data processing operations in a computer. The 2 main parts of the CPU are arithmetic logic units and program control units. The arithmetic logic units help in the proper functioning of the logical operations that are performed in the computer by the user. Whereas the program control unit interprets and sequences the instructions which mean that which sequence is to be executed first.
The memory unit has a purpose to store both instructions and data. It is called the random-access memory or the RAMS because the CPU can access the memory location randomly.
The input-output unit provides an efficient mode of communication between the central system which is the computer and the outside environment. Through the input-output, programs and communications must be recorded and displayed to the user.
Now since we are all talking about the memory, let us speak about some of the memory hierarchy:
Memory can be divided into 3 types. They are 1stly the cache memory 2ndly the main memory and 3rdly the auxiliary or secondary memory. The cache memory is divided into 2 types: 1stly the L1 cache memory that is the primary cache memory and 2nly the L2 cache memory. The 2nd one that we shall speak about has 2 types:
Now these RAM and ROM are further divided into 2 and 3 types respectively:
RAM is divided into static RAM and dynamic RAM whereas ROM is divided into PROM, EPROM, and EEPROM. The last but not least the auxiliary memory can be divided into 4 types:
1. Magnetic disc
2. Magnetic tape
3. Magnetic disc
4. Flash memory
The magnetic disc is further divided into 2 types of hard disc and floppy disc.
When we speak about the random-access memory the memory unit elaborations can never be left out since it is a part of the memory unit. Let us look at the below to get a clearer idea about RAMS further:
It consists of internal flip-flops that store the binary information. Stored information remains valid as long as the power supply is applied to the unit.
A dynamic RAM loses its stored information in a very short time even though the power supply is on.
2 things that are to be kept in mind since we are speaking about memory are the cache memory and virtual memory. Cache memory is a very small but very fast memory. It is the smallest but fastest among all the other memory units. A very high-speed memory, it is sometimes used to increase the speed of processing by making current programs and data available to the CPU at a rapid rate. It lies between the CPU and the main memory unit. Virtual memory is a technique that allows the execution of processes that may not be entirely in the main memory. This concept used in some large computer systems permits the user to construct programs as though a large memory space is available.
Virtual memory is used to give programmers the illusion that they have a large memory at their disposal even though the computer actually has a relatively small main memory. To cope up with the storage capacity of the main memory pages are swapped in and out of the main memory and the secondary memory. When a particular page is required in the main memory and if that page is not there in their memory it is swapped in from the secondary storage area. Dirty bits are used in the page to keep a track of individual pages whether the particular page is modified ever since it is brought to the main memory.
Let us now speak about a different type of RAM known as SRAM:
Static random-access memory or SRAM is a type of semiconductor memory where the word static indicates that, unlike the Dynamic RAM which is DRAM, it does not need to be periodically refreshed as SRAM uses bit stable latching circuitry to store each bit. SRAM exhibits data remanence but still volatile in the conventional sense that data is eventually lost when the memory is not powered. Thus this was all about RAM that we all needed to know whenever the topic of random access memory is thrown to light.