Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
en:multiasm:cs:chapter_3_1 [2026/02/23 10:29] – [Buses] ktokarzen:multiasm:cs:chapter_3_1 [2026/03/01 14:00] (current) – [Buses] ktokarz
Line 1: Line 1:
-====== Overall View on Computer Architecture: Processor, Memory, IO, Buses ======+====== Overall View on Computer Architecture: Processor, Memory, I/O, Buses ======
 The computers we use every day are all designed around the same general idea of cooperation among three base elements: processor, memory and peripheral devices. Their names represent their functions in the system: memory stores data and program code, the processor manipulates data by executing programs, and peripherals maintain contact with the user, the environment and other systems. To exchange information, these elements communicate through interconnections named buses. The generic block schematic diagram of the exemplary computer is shown in Fig. {{ref>compblock}}. The computers we use every day are all designed around the same general idea of cooperation among three base elements: processor, memory and peripheral devices. Their names represent their functions in the system: memory stores data and program code, the processor manipulates data by executing programs, and peripherals maintain contact with the user, the environment and other systems. To exchange information, these elements communicate through interconnections named buses. The generic block schematic diagram of the exemplary computer is shown in Fig. {{ref>compblock}}.
  
Line 8: Line 8:
  
 ===== Processor ===== ===== Processor =====
-It is often called “the brain” of the computer. Although it doesn’t think, the processor is the element which controls all other units of the computer. The processor is the device that manages everything in the machine. Every hardware component of the computer is controlled, to some extent, by the main processor. Even if the device has its own processor - for example, a keyboard - it works under the control of the main one. The processor handles events. We can say that synchronous events are those that the processor handles periodically. The processor can’t stop. Of course, when it has the power, even when you don’t see anything special happening on the screen. On a PC with an operating system without a graphical user interface, for example, plain Linux, or in a command box in Windows, if you see only „C:\>”, the processor is working. In this situation, it executes the system's main loop. In such a loop, it’s waiting for the asynchronous events. Such an asynchronous event occurs when the user presses a key or moves the mouse, when the sound card stops playing a sound, or when the hard disk begins transmitting data. For all of those actions, the processor handles executing the programs - or, if you prefer, procedures.+It is often called “the brain” of the computer. Although it doesn’t think, the processor is the element which controls all other units of the computer. The processor is the device that manages everything in the machine. Every hardware component of the computer is controlled, to some extent, by the main processor. Even if the device has its own processor - for example, a keyboard - it works under the control of the main one. The processor handles events, which can be synchronous or asynchronous. We can say that synchronous events are those that the processor handles periodically. The processor can’t stop. Of course, when it has the power. Even when you don’t see anything special happening on the screen. On a PC with an operating system without a graphical user interface, for example, plain Linux, or in a command box in Windows, if you see only „C:\>”, the processor is working. In this situation, it executes the system's main loop. In such a loop, it’s waiting for the asynchronous events. Such an asynchronous event occurs when the user presses a key or moves the mouse, when the sound card stops playing a sound, or when the hard disk begins transmitting data. For all of those actions, the processor handles executing the programs - or, in other words, procedures.
  
 A processor is characterised by its main parameters, including its operating frequency and class. A processor is characterised by its main parameters, including its operating frequency and class.
Line 22: Line 22:
 <note info> The byte is historically assumed to be 8 bits of information and used as the base unit to express the size of data in the world of computers. </note> <note info> The byte is historically assumed to be 8 bits of information and used as the base unit to express the size of data in the world of computers. </note>
 The size of the memory installed on the computer does not have to match the size of the address space, the maximum size of memory which is addressable by the processor. In modern machines, it would be impossible or hardly achievable. For example, for x64 architecture, the theoretical address space is 2^64 (16 exabytes). Even the address space currently supported by processors' hardware is as large as 2^48, which equals 256 terabytes. On the opposite side, in constrained devices, the physical memory size can exceed what the processor supports. To enable access to memory beyond the processor's addressing space or to support flexible placement of programs in a large address space, the paging mechanism is used. It is a hardware support unit that maps the processor's address into the physical memory installed in the computer.  The size of the memory installed on the computer does not have to match the size of the address space, the maximum size of memory which is addressable by the processor. In modern machines, it would be impossible or hardly achievable. For example, for x64 architecture, the theoretical address space is 2^64 (16 exabytes). Even the address space currently supported by processors' hardware is as large as 2^48, which equals 256 terabytes. On the opposite side, in constrained devices, the physical memory size can exceed what the processor supports. To enable access to memory beyond the processor's addressing space or to support flexible placement of programs in a large address space, the paging mechanism is used. It is a hardware support unit that maps the processor's address into the physical memory installed in the computer. 
-<note info> To learn more about paging please refer to https://connormcgarr.github.io/paging/ </note>+<note info>To learn more about pagingplease refer to the website 
 +https://connormcgarr.github.io/paging/</note>
  
 ===== Peripherals ===== ===== Peripherals =====
Line 40: Line 41:
 **Control bus** is formed by lines mainly used for synchronisation between the elements of the computer. The minimal implementation includes the read and write lines. Read line (#RD) is the information that other elements use to indicate that the processor wants to read data from the unit. In such a situation, the element, e.g. memory, puts the data from the addressed cell on the data bus. Active write signal (#WR) informs the element that the data which is present on the data bus should be stored at the specified address. **Control bus** is formed by lines mainly used for synchronisation between the elements of the computer. The minimal implementation includes the read and write lines. Read line (#RD) is the information that other elements use to indicate that the processor wants to read data from the unit. In such a situation, the element, e.g. memory, puts the data from the addressed cell on the data bus. Active write signal (#WR) informs the element that the data which is present on the data bus should be stored at the specified address.
 The control bus can also include other signals specific to the system, e.g., interrupt signals, DMA control lines, clock pulses, signals distinguishing memory and peripheral access, signals activating selected modules, and others. The control bus can also include other signals specific to the system, e.g., interrupt signals, DMA control lines, clock pulses, signals distinguishing memory and peripheral access, signals activating selected modules, and others.
 +
 +<note info>
 +The "#" symbol before a signal name means that the active signal on the line is a LOW state, while idle is a HIGH state.
 +</note>
  
en/multiasm/cs/chapter_3_1.1771835386.txt.gz · Last modified: by ktokarz
CC Attribution-Share Alike 4.0 International
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0