Highlighted text? Practice this concept. Highlighted passages and figures open related questions.
Practice related questions (198)Progress & bookmarks
Current section
3 Central Processing Unit and Main Memory Unit
p. 46
Practice this section 198 linked exam questions with default filters
Progress
Not marked complete
Related questions in this lesson 207
Cache memory21CPU registers8Interrupt priority10Bus transfer rate2Logic gates and equivalent circuits72Instruction pipelining9Stored-program operation1RAM, ROM and flash memory20RISC and CISC1Instruction addressing modes12Memory interleaving5Instruction and data streams4Memory addresses and bus lines5Half and full adders8Superscalar execution2CPU clock timing1Memory hierarchy3Cache write policies4Flip-flops and sequential circuits8Original weighted cache access-time example1Logical product and bit selection1Original logical operation laws1Write-back cache update timing1Internal interrupt caused by the executing process1Exclusive OR original truth table and symbol1Program counter1Single instruction with multiple data1Bitwise OR and least significant bit1Mask ROM1Half-adder truth table and logic circuits1SRAM flip-flop memory cells1Free lessons
HDD, RAM, register & cache ↗Full Adder Half Adder Logic Gate ↗Logic Gate Select Line ↗p. 46
3 Central Processing Unit and Main Memory Unit
Data processing in computers takes place in the steps of “Input → Processing → Output.” Section 1 explained the CPU (Central Processing Unit) that handles “Processing” in this series of steps is composed of a control unit and an arithmetic and logical unit. This section describes more detailed operating principles of the CPU and the main memory unit that is closely related to the CPU.
3 - 1 Configuration of CPU
(1) Control unit
Control unit is a unit that decodes the instruction to be executed and gives directions to each device. It is composed of a decoder (instruction decoder that interprets the instruction to be executed), etc.
(2) Arithmetic and logical unit
Arithmetic and logical unit is a unit that performs computations inside computers. It is composed of an ALU (Arithmetic and Logical Unit) that uses an adder for addition, a complementer for calculating complements, and such other components.
p. 47
RISC
(3) Register
Register · 8 questions is a device used for temporarily storing various data inside the CPU. Different types of registers are available according to the type of data to be stored. The main registers (details of each register are explained later) are as follows:
- • Instruction register It stores the instructions to be executed. It is composed of an instruction part and an address part.
- • General register It is used for various purposes such as storing the data to be processed.
- • Accumulator It stores the data for performing computations. It is sometimes also substituted with a general register.
- • Base address register It stores the beginning address of a program.
- • Index register It stores the index for address modification.
- • Flag register
It stores the information of a certain status (whether the results of computations are positive or negative, etc.). Depending on the status of this register, the next action, such as branch destination of the condition branch instruction, is decided.
- • PSW (Program Status Word) It stores the running status of a program (value of program counter, value of flag register, etc.)
(4) Clock generator
p. 48
(5) Bus
Bus · 2 questions is the signal path for connecting various devices and registers, and transmitting data and control signals. Concerning the bus, there is a serial bus that sends data in the sequence of 1 bit each, and there is a parallel bus that simultaneously sends multiple bits. Performance of bus is decided by the access mode, such as the number of bits that can be sent in one clock signal (bus width) and clock signal, which is defined for each bus.
[Classification according to connection point]
- 1) Internal bus (CPU internal bus) This is a bus used inside the CPU.
- 2) External bus (CPU external bus) This is a bus that connects the CPU and the external devices. The clock frequency of the external bus is generally different from that of the CPU.
- • System bus: Collective term for the buses directly connected from CPU to outside
- • Memory bus: Bus that is mainly connected to the main memory unit
- • Input/output bus: Bus that is mainly connected to the input/output devices
- 3) Expansion bus This is a bus that connects the PC and the expansion cards.
[Classification according to usage]
- 1) Address bus: Bus for specifying the reference address to the main memory unit
- 2) Control bus: Bus for giving directions to each device from the control unit
- 3) Data bus: Bus for exchanging data
In conventional buses (Neumann architecture), the same bus was used for loading instructions and data. However, in modern-day computers, for loading instructions and data, Harvard architecture is used where independent buses are provided for loading instructions and data.
The main buses presently used in PCs are shown below. Other than in PCs, various buses are used (there are also manufacturers’ specific buses).
p. 49
- • PCI (Peripheral Component Interconnect) This is an external bus specification defined by Intel Corporation, USA. PCI specification of bus width 32 bits, bus clock 33 MHz, and transfer rate of 133 megabytes/second is common.
- • PCI Express (PCIe) This is an external bus specification defined by PCI-SIG to replace PCI. The transfer rate is 500 megabytes/second in full-duplex mode. The specification of "PCI Express x 16" where 16 transmitting lanes are contained is used as a replacement of the specification of AGP (Accelerated Graphics Port) that is used to connect graphics boards.
3 - 2 Main Memory Configuration
3-2-1 Memory Devices
[Classification of memory devices]
- 1) MOS (Metal Oxide Semiconductor) type Although it has a high degree of integration and low power consumption, it is a semiconductor device with somewhat low operating speed. These days, CMOS (Complementary MOS) are most commonly used after improvements were made so that operating speed could be increased by transporting electrical charges by the use of free electrons and holes.
- 2) Bipolar type Although operating speed is high, this semiconductor device has a low degree of integration and power consumption is also large. A typical example of bipolar memory devices is a logic IC TTL (Transistor-Transistor Logic) composed of only bipolar transistors.
(1) RAM (Random Access Memory)
RAM is IC memory where reading and writing of data can be done freely. It is not suitable for storing data for a long time because it has a property (volatility) where data is cleared when the power is off.
p. 50
- • DRAM (Dynamic RAM) While its operating speed is somewhat slow, it uses a simple circuit where electrical charge is retained by condenser or capacitor. Therefore, the degree of integration is high, and large capacity memory can be easily created at low cost. However, electrical charge that records information is lost over time, and therefore it is necessary to rewrite (refresh) the information. Examples include SDRAM (Synchronous DRAM) or DDR SDRAM (Double Data Rate SDRAM) used in main memory, and RDRAM (Rambus DRAM) that uses Rambus technology in the external bus interface.
(2) ROM (Read Only Memory)
ROM is IC memory that can be used only for reading data. It has a property (non-volatility) where data is not lost even when the power is off.
- • User programmable ROM This is a type of ROM where users can write data. On the bases of the writing methods and restrictions on the number of rewritable times, this is classified as follows:
- • PROM (Programmable ROM): This is a type of ROM where user can write information only once.
- • UV-EPROM (UltraViolet-Erasable PROM): This is a type of ROM where data can be rewritten after information is erased by irradiating ultraviolet rays.
- • EEPROM (Electrically EPROM): This is a type of ROM where data can be rewritten after all or a part of information is electrically erased. It has limited life because of deterioration,
and the number of rewritable times is restricted to a few tens of thousands of times to a few million times.
p. 51
- • Flash memory: This is semiconductor memory where data can be rewritten after data is erased in units of blocks through electrical operations. Flash memory is a type of EEPROM. Therefore, the number of rewritable timesis limited. However, it is used for various applications as a portable and convenient storage medium.
3-2-2 Components of Main Memory
In broad terms, the main memory unit is composed of three components. · 5 questions
- • Memory unit This contains memory cells (storage devices) that record data.
- • Read/write feature This reads and writes data in the recording area (collection of memory cells).
- • Address selection feature This interprets the specified address and selects the recording area of data.
Access operation to main memory is done as follows:
p. 52
[Access operation to main memory]
- 1) Through address bus, the specified address is handed over to the address selection feature.
- 2) The address selection feature decodes the specified address by using the address decoder, and selects the recording area to be accessed. (address selection operation)
- 3) The read/write feature reads and writes data in the selected recording area. When data is read, data that is read from the recording area is passed on to the CPU via data bus. When data is written, data that is transferred from the CPU via data bus is written in the recording area.
3-2-3 Capacity Expansion of Main Memory
In the commercially available PCs, the capacity of main memory is fixed beforehand. Below are two methods of further expanding this capacity.
- • Extended memory (additional memory) This is a type of memory added in the expansion slots provided for in desktop PCs so that devices and electronic boards (components) can be added. Examples include SIMM (Single In-line Memory Module) where DRAM memory chips are consolidated and mounted on a small board, and DIMM (Dual In-line Memory Module).
- • Memory card
This IC memory is used in capacity expansion of a notebook PC, and a typical example of this is a flash memory-based memory card. It is standardized by JEIDA (Japan Electronic Industry Development Association) and PCMCIA (Personal Computer Memory Card International Association).
3 - 3 Instruction and Addressing
3-3-1 Types and Configuration of Instructions
The CPU reads the instructions that are stored in main memory one by one, and interprets and executes the instructions. Instructions the CPU can interpret are machine language instructions, which are represented with combinations of 0 and 1, and a programming language (i.e., language used to write the programs) that is used to write such instructions is called the machine language.
p. 53
Below are the main types of machine language instructions.
- • Arithmetic operation instruction This is an instruction for performing arithmetic operations such as addition and subtraction.
- • Logical operation instruction This is an instruction that performs logical operations such as logical product and logical sum operations.
- • Transfer instruction This is an instruction that transfers data such as load and store.
- • Comparison instruction This is an instruction that compares the magnitude relation between two values.
- • Branch instruction This is an instruction that branches (jumps) the control on the basis of the value of a flag register.
- • Shift instruction This is an instruction that performs shift operations such as arithmetic shift and logical shift.
- • Input/output instruction This is an instruction that reads data from or write data to I/O devices.
Moreover, the configuration of machine language instructions includes instructions recorded in 1 word (recording area corresponding to 1 address) of main memory (1-word instructions) and instructions recorded consecutively in multiple words (when recorded in 2 words, it is referred to as 2-word instructions). However, even if the length of instructions is different, there is a similarity in the sense that both of them are composed of an instruction part where the instruction code specifying the process to be executed is recorded, and an address part (or operand part) for specifying the address to be processed.
Based on the number of address parts (operand parts), they are also separately referred to as 0-address instruction, 1-address instruction, 2-address instruction, and 3-address instruction.
p. 54
3-3-2 Execution Sequence of Instructions
Figure 1-16 shows the general execution sequence of instructions. Here, the process until fetching the instruction is called the instruction fetching stage (fetch cycle), and the process until decoding and executing the instruction is called the instruction execution stage (execution cycle).
Figure 1-16 Execution sequence of instructions
Details of the processing sequence from “instruction fetching” until “computing” are explained in order by using the following figure.
p. 55
(1) Instruction fetching
In instruction fetching, on the basis of the directions given by the control unit, an instruction stored in the address shown by the instruction address register is fetched from main memory, and it is stored in the instruction register. After the instruction is fetched, instruction word length L (number of words where 1 instruction fetched is stored) is added to the instruction address register for fetching the next instruction.
(2) Instruction decoding
In instruction decoding, the instruction part of the instruction fetched in the instruction register is decoded by the decoder (instruction decoder) of the control unit.
p. 56
(3) Effective address calculation/operand fetching
In effective address calculation, the storage position (effective address) of data stored in main memory is determined from the address part of the instruction. (This is referred to as address modification) In operand fetching, the effective address calculated is sent to main memory, and the value or variable (operand) to be computed such as arithmetic operation instructions is read into the general register. There may not be any operand in some cases, depending on the type of instruction, and this process may be omitted in such cases.
(4) Computation (instruction execution)
In computation (instruction execution), the arithmetic and logical unit executes the
p. 57
computation based on the decoded instruction. The operation result is recorded in the general register and written in main memory.
3-3-3 Addressing Mode
(1) Method of determining effective address from the value of the address part (address modification)
- 1) Absolute addressing In this method, the value of the address part is used as the effective address as it is.
- 2) Index addressing In this method, the effective address is determined by adding the value of the index register to the value of the address part. A general register is also used as the index register, and it is necessary to specify which general register to use in such cases.
p. 58
- 3) Base addressing In this method, the effective address is determined by adding the value of the base address register to the value of the address part. This means the relative position from the beginning of the program.
- 4) Relative addressing In this method, the effective address is determined by adding the value of the instruction address register (program counter) to the value of the address part. This means the relative position from the instruction being executed.
(2) Method of determining operand from the effective address
- 1) Immediate addressing In this method, the effective address is used as it is as operand. Since it does not reference main memory, execution speed is somewhat faster than other addressing.
p. 59
- 2) Direct addressing In this method, the content (value) of main memory referenced by the effective address is used as operand. Generally, direct addressing where there is no description concerning address modification can be considered as absolute addressing, and it can be considered as direct addressing when only address modification is specified.
- 3) Indirect addressing In this method, the content (value) of main memory referenced by the effective address is used as the address of operand. Double (in the example shown in Figure 1-24, data stored in address 120 is fetched as operand), and triple indirect addressing is also possible.
3-3-4 Interrupt
Interrupt · 10 questions means executing a separate process (instruction) while a series of processes (instructions) are being executed. Instead of user mode (mode where there are restrictions on the use of CPU), which is normally used, the interrupt process is executed in privilege mode (mode where there are no restrictions on the use of CPU).
p. 60
[Processing sequence of processor when interrupt has occurred]
- 1) Switch from user mode to privilege mode.
- 2) Save the values of various registers (program counter, etc.).
- 3) Decide the starting address of the interrupt process routine (interrupt program).
- 4) Execute the interrupt process routine.
- 5) After the execution of the interrupt process routine is complete, restore the values of various registers that are saved in step 2.
- 6) Switch from privilege mode to user mode, and restart the interrupted process.
According to conditions that an interrupt occurs, this can be classified described below. Here, it is assumed that multiple interrupts may occur simultaneously, and therefore priority ranking is assigned to each interrupt.
- 1) External interrupt: This is an interrupt that occurs because of a reason not related to the process being executed.
- • Timer interrupt This is an interrupt that occurs when the time measured in the timer, such as interval timer and watchdog timer, has exceeded the specified time (i.e., the timer has been timed-out).
- • Input/output interrupt (input/output completion interrupt) This is an interrupt that occurs when an input/output operation has been completed.
- • Machine check interrupt
This is an interrupt that occurs because of a hardware malfunction, a power failure, or such other factor.
- • Restart interrupt This is an interrupt that occurs when the user has pressed the external restart switch.
- • SVC (SuperVisor Call) interrupt This is an interrupt that occurs when supervisor (program that offers basic
functions) is requested to invoke a process, such as when input/output instruction is used or storage protection exception happens.
- • Program interrupt
p. 61
This is an interrupt that occurs by the error of a running program (e.g., divide-by-zero or overflow)
3 - 4 Circuit Configuration of ALU
ALU (Arithmetic and Logical Unit) is a unit that performs arithmetic operations and logical operations. This unit is composed of various circuits.
3-4-1 Logic Circuit
Logic circuit · 71 questions is a circuit that performs logical operations for logical processing of instructions by computers. Logical operations refer to arithmetic operations that have only two truth values of True (1) and False (0).
[Main logical operations]
- 3) Negation operation (NOT) The output becomes False (0) when the input value is True (1), and the output is True (1) when the input value is False (0).
- 4) Exclusive logical sum (Exclusive OR) operation (XOR or EOR) The output becomes False (0) when both input values are the same, and the output is True (1) when both input values are different.
The table below summarizes the relations between input and output of the respective logical operation. This kind of table is referred to as a truth table.
p. 62
(1) Sequential circuit
(2) Combination circuit
Combination circuit is a logic circuit where the output is decided on the basis of the input at that time. There are various types of combination circuits, from basic circuits for implementing basic logical operations (logical product, logical sum, negation) to circuits formed by combining these basic circuits.
- 1) AND circuit This circuit performs logical product operation (AND). The truth table and MIL symbol
- 2) OR circuit This circuit performs logical sum operation (OR). The truth table and MIL symbol of OR
p. 63
- 3) NOT circuit This circuit performs negation operation (NOT). The truth table and MIL symbol of NOT circuit are as shown below.
- 4) NAND circuit This circuit performs negative logical product (negative AND) operation (NAND). NAND operation is the arithmetic operation that negates the results of AND operation. The truth table and MIL symbol of NAND circuit are as shown below. NAND circuit is
- 5) NOR circuit This circuit performs negative logical sum operation (NOR). NOR operation is the arithmetic operation that negates the results of OR operation. The truth table and MIL symbol of NOR circuit are as shown below. NOR circuit is formed by combining OR circuit and NOT circuit.
p. 64
- 6) XOR circuit This circuit performs exclusive logical sum operation (XOR). The truth table and MIL
XOR circuit is also formed by combining the basic circuits. However, it cannot be formed with a combination of simple circuits as in the case of NAND circuits and NOR circuits. In such cases, it is called logical design (or circuit design) to think about the combination of basic circuits for achieving the targeted results (truth values).
In logical design, logical expressions (logical functions) obtained from the truth tables are simplified using the rules of logical operations (logical laws), and the optimum combination of basic circuits is determined. (“Optimum” means that the design is performed in consideration of performance, efficiency, and cost.
p. 65
p. 66
By expanding the logical expression F determined in [Logical design of XOR circuit] using logical laws, we can determine different logical circuits.
In the actual logical design, it is common to use NAND circuit, NOR circuit, or XOR circuit as one circuit (basic circuit) as it is.
3-4-2 Arithmetic Operation Circuit
In a computer, subtraction can be performed with addition using complement notation. Similarly, the four basic arithmetic operations can be implemented with addition only. This is because multiplication can be performed with repeated addition, and division can be performed with repeated subtraction (i.e. repeated addition). Therefore, in order to implement the four basic arithmetic operations in a computer, only an adder circuit and a complement
p. 67
The results of the addition of two 1-bit binary numbers are shown below.
Adder circuit of a computer is configured with this half adder as the basis. However, in half adder, carry from low order is not taken into account. Therefore, arithmetic operation of numerical values represented with multiple bits cannot be performed. Because of that, another adder circuit of 3 bits including carry from low order becomes necessary.
The table below summarizes the results of arithmetic operation of 3-bit addition considering carry (c0) from low order.
p. 68
In order to derive circuit configuration from this table, we will get the following if we think about logical expression F1 for determining carry (c1) and logical expression F2 for determining sum (s).
p. 69
By expanding (simplifying) these logical expressions F1 and F2 by using logical laws, we can derive the configuration of a 3-bit adder circuit. However, even expansion of logical expression with this method is difficult, and it can be anticipated that configuration of the circuit will become complicated. Therefore, we will use half adders after 3-bit addition is divided into 2-bit addition.
Full adder shown in Figure 1-33 is the adder circuit configured on the basis of this concept. In a computer, the number of full adders equal to the number of bits of arithmetic operation is arranged to form the arithmetic operation circuit.
(four basic arithmetic operations) with only adders (half adder/full adder), we will need a circuit for determining complement (complementer) in order to perform subtraction by using addition. Inside a computer, binary arithmetic operations are performed. Therefore, it is common to use two types of complementers, namely, 1’s complementer that determines 1’s
p. 70
complement, and 2’s complementer that determines 2’s complement. 1’s complement in binary numbers is determined by inverting the original bit sequence (0 is inverted to 1, and 1 is inverted to 0). Therefore, 1’s complementer can be formed only with NOT circuit. On the other hand, there are various methods of forming 2’s complementer. However, the concept of using an adder to add 1 to 1’s complement determined using 1’s complementer is a relatively easy method.
3 - 5 High Speed Technologies
High speed technologies are technologies that increase the operating speed (processing capacity) of computers by creating new mechanisms using each device.
3-5-1 High Speed Memory Access
Memory is the term that means a device or a medium that records data, and when simply referred to as “memory,” it mostly means the main memory unit (main memory). High speed memory access is a technology that resolves bottlenecks caused by difference in access speeds (access gap) by even slightly accelerating access to main memory (DRAM), which has slower access speed compared with the register (SRAM) of the processor.
(1) Buffer memory
Buffer memory is the medium-speed storage installed between high-speed storage and low-speed storage. Cache memory · 20 questions, which is a buffer memory, is the medium-speed storage composed of SRAM and installed between high-speed register and low-speed main memory.
In a computer system where cache memory is used, if the data required by the processor is available (when it is hit) in cache memory, then cache memory is accessed. On the other hand, when the data is not there (when it is mishit) in cache memory, main memory is accessed (in precise terms, on the basis of the directions of hardware or OS (software for controlling the computer), the data is loaded from main memory into the corresponding block of cache
p. 71
memory). In other words, average access time (effective access time) as seen from the processor is decided on the basis of the extent to which the required data is found in cache memory. Therefore, it is determined by weighted average of access time of cache memory and access time of main memory. Here, the access time is determined by considering both the probability (hit ratio) that the required data is available in cache memory and the probability (NFP (Not Found Probability)) that the required data is not available in cache memory. “Hit
From this example, it is clear that the higher the hit ratio is, the shorter the average access Havard architecture , which time is because of increased access to cache memory . When independently loads instructions and data , is used , cache memory is also separated into instruction cache and data cache . In this case , creating a program consolidating process ( instruction )
cache, which may shorten the average access time (access speed will improve).
sections that are frequently executed will increase the hit ratio of instruction
p. 72
[Writing methods from cache memory]
- 1) Write-through method
That method reflects the update in main memory whenever data is updated . While certainty is high, main memory needs to be accessed for every process, so operating speed is somewhat slow.
- 2) Write-back method
In modern-day computers, there is a large difference in the speed of processor and the speed of main memory. Therefore, it is common to use multi-level cache configuration where cache memory is divided into 2 levels, namely, primary cache and secondary cache. In this case, the processor will access in the sequence of primary cache → secondary cache → main memory.
Meanwhile, there is disk cache, which is another buffer memory. This buffer memory is placed between main memory and auxiliary storage (hard disk), and it may use a part of main memory, or semiconductor memory may be installed separately.
p. 73
(2) Memory interleave
Memory interleave is a method of reading the data in advance, and it is useful for the processing of data that is located in the contiguous area of main memory. However, data may not be referenced in the sequence of storage area at all times, and the average access time may not be always proportionate to the number of banks (even if there are 4 banks, the average
p. 74
access time may not be 1/4).
3-5-2 Speeding-up of Processor
The speeding-up of processors is a technology for increasing the operating speed of processors. It includes various high-speed techniques starting such as a technique for enhancing the performance of the processor itself and a technique for enhancing the apparent operating speed by managing the execution procedure of instructions.
(1) Multi-core processor
In a multi-core processor, two or more processors cores are integrated on one chip (LSI). A processor with only one processor core on one chip (LSI) is referred to as a single-core processor. The multi-core processor enhances processing performance by allocating processes to multiple processor cores (if n-core processors are integrated, the processing performance will become approximately n times greater). Moreover, in comparison with mounting multiple single-core processors, the processing performance of the processor itself can be increased while power consumption is minimized. However, when multiple processor cores operate simultaneously, contention for shared resources may occur.
(2) Pipeline control
p. 75
decline if there are instructions (jump instructions) that change the execution sequence of instruction. Moreover, if the execution time of each instruction is different, the waiting time may be required before starting the execution of a stage, and efficiency will decline.
[Processor architecture]
- 1) RISC (Reduced Instruction Set Computer) Reduced instruction set computer - this is a computer where, by reducing the instruction set (collection of instructions) to the basic instructions with high frequency of use in order to fix the instruction word length, the execution time for a
p. 76
single instruction is shortened and unified as much as possible. Instructions are executed by hardware (wired logic).
- • Wired logic control: Instruction is executed by passing signals through a logic circuit having a certain function. Since logic is formed by connecting signal lines for transmitting signals, it is also called hard-wired logic control.
- 2) CISC (Complex Instruction Set Computer) Complex instruction set computer - this computer implements complex instructions by using software (microprograms), and therefore it can handle multifunction instructions. However, since the length and execution time of each instruction are largely different, it is not suitable for pipeline control.
- • Microprogram control: Micro instruction refers to giving control directions to hardware such as various logic circuits and registers. This method executes instructions with a microprogram where these micro instructions are combined. It is also referred to as stored logic control.
In pipeline control, the execution cycle of instructions is divided into stages that mean “instruction fetching,” “instruction decoding,” “effective address calculation,” “operand fetching,” and “computing.” The method where this division is further broken down is referred to as super-pipeline. Super-pipeline increases the number of stages (depth of pipeline) and thereby reduces the processing time (pipeline pitch) of one stage in order to aim for performance enhancement.
(3) Superscalar/VLIW (Very Long Instruction Word)
p. 77
from the sequence of instructions actually executed (this kind of execution method is referred to as out-of-order execution). On the other hand, VLIW consolidates multiple instructions that can be executed simultaneously into one instruction at the stage of generating the object program (program translated into machine language) by compiling (translating into machine language) the program, and statically allocates the arithmetic and logical units to be used. (VLIW means that multiple instructions (functions) are consolidated into one instruction, and thus the length of instruction) increases. In VLIW, instructions that can be executed simultaneously are not dynamically selected at the time of execution, so the sequence of instructions written in the object program is always same as the sequence of instructions actually executed. (This kind of execution is called in-order execution).
(4) Parallel processing
- • SISD (Single Instruction stream Single Data stream) This computer processes one unit of data with one instruction. General computers that do not have parallelized processors correspond to this architecture.
- • MISD (Multiple Instruction stream Single Data stream) This computer processes a single unit of data with multiple instructions. Computers that use this architecture are not used in practice (although they are closer to pipeline control, strictly speaking, they are different).
- • MIMD (Multiple Instruction stream Multiple Data stream) This computer processes multiple units of data with multiple instructions. Multiprocessors where multiple processors are multiplexed correspond to this architecture.
unnumbered insertion
a) I²C (Inter-Integrated Circuit): I²C is a serial communication protocol commonly used for short-distance communication between integrated circuits. It allows multiple devices to be connected on a single bus, with each device having a unique address. I²C is synchronous, meaning it relies on a shared clock signal for data transmission.
b) PCI Express: PCI Express (PCIe) is a high-speed serial communication standard used for connecting peripheral devices to a computer's motherboard. It provides a point-to-point connection between the host and the device, allowing for faster data transfer rates compared to older parallel bus standards like PCI. PCIe uses differential signaling and is designed for high-bandwidth applications.
c) SPI (Serial Peripheral Interface): SPI is a synchronous serial communication protocol commonly used for communication between microcontrollers and peripheral devices. It allows for full-duplex communication, meaning data can be simultaneously transmitted and received. SPI uses a master-slave architecture and supports multiple devices connected to a single bus.
d) UART (Universal Asynchronous Receiver-Transmitter): UART is a widely used asynchronous serial communication protocol. It is commonly found in microcontrollers, computers, and other devices. UART uses start and stop bits to frame data, allowing for asynchronous communication without relying on a shared clock signal. It is often used for simple and reliable serial communication over short distances.
Each of these serial transmission methods has its own characteristics, advantages, and use cases depending on the requirements of the specific application or system.
Section progress
Original chapter exercises
Original chapter exercises →New FE Textbook Vol.1 · IT Fundamentals · First Edition, April 2015




















































