Computer Architecture (Structural Composition)
Computer Architecture (Structural Composition)
Computer Architecture (Structural Composition)
The first level cache, L1, is a block of high-speed memory located on the
processor core that holds data from RAM. Storing the main instructions in the
L1 cache improves processor performance, since data from the cache is
processed faster than directly interacting with RAM. The L2 cache is a block of
high-speed memory that performs the same functions as the L1 cache, but is
slower and larger in size. L3 cache is usually even larger and slower.
A typical L1 cache can be several hundred kilobytes. If the processor does not
find what it needs in it, it will proceed to checking the second-level cache
(several megabytes in size), and then the third (already occupying tens of
megabytes). If the necessary data is not available in the third-level cache, then
the search will be performed in the RAM, and then in the drives. With each such
"step", not only the amount of available data increases, but also the delay.
The processor can read data in the internal register in just one or two cycles, in
the first-level cache it will take a little more, in the second-level cache already
about ten, and the third - several tens of cycles. If you have to use memory or
storage, then the processor can take tens of thousands, if not millions of cycles.
Depending on the system, each processor core may have its own L1 cache, a
shared L2 cache with another core, and a L3 cache for a group of four or more
cores.
3. Permanent memory (ROM, English ROM, Read Only Memory - read-only
memory) - non-volatile memory used to store data that will never need to be
changed. The content of the memory is specially sewn into the device during its
manufacture for permanent storage. ROM can only be read.
At the moment the computer is turned on, there is nothing in its RAM - neither
data nor programs, since RAM cannot store anything without recharging the
cells for more than hundredths of a second, but the processor needs commands,
including at the first moment after turning on. Immediately after switching on,
the start address is set on the processor address bus. This happens in hardware,
without the participation of programs (always the same). The processor
addresses the set address for its first command and then begins to work
according to programs. This source address cannot point to RAM, which has
nothing in it yet. It points to another type of memory - ROM. The ROM chip is
capable of storing information for a long time, even when the computer is
turned off. Programs located in ROM are called "wired" - they are written there
at the stage of manufacturing a microcircuit. The set of programs located in ROM
forms the basic input-output system (BIOS - Basic Input Output System). The
main purpose of the programs in this package is to check the composition and
operability of the computer system and to provide interaction with the
keyboard, monitor, hard disk and floppy disk drive. The programs included in the
BIOS allow us to observe on the screen diagnostic messages accompanying the
computer startup, as well as interfere with the startup process using the
keyboard.
External memory (HDD, SSD, flash) is used for long-term storage of information
that can be further used to solve problems.
The clock generator generates a sequence of electrical symbols, the frequency
of which sets the clock frequency of the computer. The time interval between
adjacent pulses determines the cycle of the machine.
The main part of the CPU is called the core, it contains all the necessary blocks,
and also performs logical and arithmetic tasks. Kernel functional block:
The monitor screen contains sets of points of three
primary colors - red, green and blue. These colors are
called basic, because their combinations (in various
proportions) can represent any color of the
spectrum. Physically arranged in triangular triads.
The triad forms a pixel - a point from which an image
is formed (English pixel - picture element).
Raster video monitors - screen pixels are processed line by line The points of
each line are processed sequentially in the order of their position on the screen
- after the processing of the points of the next line is completed, processing of
the next line begins, and so on. This sequence forms a path on the surface of the
media, which is called a line raster. a) 1— 2— 3— 4— 5—… progressive raster
(scan); c) 1— 3— 5— 7—…, then 2— 4— 6— 8—… (interlaced scanning).
The screen of liquid crystal monitors is divided into independent cells, each of
which consists of four parts (for three primary colors and one backup). The
number of such cells in the width and height of the screen is called the screen
resolution.