Different Architecture

Von Neumann and Harvard Architecture models

The core elements of today's modern computer devices are consistent with those designed in the dawning phase of technology.

von Neumann described the five subdivisions of a computer system (RICOM)

Since the data is stored in the same memory unit, which is away from the CPU, it must be fetched into the processor with the help of fetch-decode-execute cycle viz. stored program execution.

Untitled

Von Neumann Bottleneck: Instructions are data are placed in the same memory unit, which are fetched through the same path viz. the processor can’t simultaneously read instructions and operate on data.

<aside> πŸ‘‰ Harvard architecture

</aside>

Flynn’s Taxonomy

Classified on the basis of number of processors, the number of programs they can execute, and the memory structures being used.

<aside> πŸ‘‰ SISD (Single Instruction Single Data)

</aside>

<aside> πŸ‘‰ SIMD (Single Instruction Multiple Data)

</aside>

<aside> πŸ‘‰ MISD (Multiple Instruction Single Data)

</aside>

There are multiple instruction stream and single data stream viz. multiple streams are there which are made available to multiple control units, and there is a single data stream which is made available to the first ALU, which will operate on the data, and pass it onto the next ALU.

<aside> πŸ‘‰ MIMD (Multiple Instruction Multiple Data)

</aside>

There are multiple instruction and data streams, which are processed in the control units for instruction decoding, and multiple ALUs operate on multiple data streams.

Untitled

CPU (Central Processing Unit)

Basics

Components of CPU

<aside> πŸ‘‰ Control Unit

</aside>

Controls the data flow between the components of a computer, and supervises the Fetch-Decode-Execute cycle

<aside> πŸ‘‰ ALU (Arithmetic Logic Unit)

</aside>

Consists of the Arithmetic Unit (responsible for performing mathematical operations and stuff) and the Logical Unit (responsible for the logical operations (XOR, OR, AND, NOT etc)

<aside> πŸ‘‰ Registers

</aside>

<aside> πŸ‘‰ CPU Clock and Timers

</aside>

Untitled

<aside> πŸ‘‰ Cache

</aside>

Untitled

Types of registers