Von Neumann Architecture | Arithmetic and Logic Unit (ALU) | Computer Education for All | FBISE 9th

Опубликовано: 31 Май 2024
на канале: Computer Education For all
107
3

Von Neumann Architecture is an essential concept in computer science that explains how a computer's hardware and software work together to process information. It was first published by John von Neumann in 1945. His computer architecture design consists of a Control Unit, Arithmetic and Logic Unit (ALU), Memory Unit, Registers, and Inputs/Outputs.
Von Neumann's architecture is based on the stored-program computer concept, where instruction data and program data are stored in the same memory. This design is still used in most computers produced today. Modern Von Neumann architecture is shown in Fig. 1.32.

Fig. 1.32 Von Neumann architecture
Central Processing Unit (CPU)
The Central Processing Unit (CPU) is the main electronic circuit responsible for executing the instructions of a computer program. The CPU contains the ALU, CU, and a variety of registers.
Registers
Registers are high-speed storage areas in the CPU. All data must be stored in a register before it can be processed.
MAR Memory Address Register Holds the memory location of data that needs to be accessed.
MDR Memory Data Register Holds data that is being transferred to or from memory
AC Accumulator Where intermediate arithmetic and logic results are stored.
PC Program Counter Contains the memory address of the next instruction to be executed.
CIR Current Instruction Register Contains the current instruction during processing.

Arithmetic and Logic Unit (ALU)
The ALU allows arithmetical (add, subtract, etc.) and logical (AND, OR, NOT, etc.) operations to be carried out.
Control Unit (CU)
The control unit controls the operation of the computer's ALU, memory, and input/output devices, telling them how to respond to the program instructions interpreted from the memory unit. The control unit also provides the timing and control signals required by other computer components. Control Unit is shown in Fig.1.33

Buses
Buses are the pathways or lines by which data is transmitted from one part of a computer to another, connecting all major internal components to the CPU and memory. A standard CPU system bus is comprised of a control bus, data bus and address bus.
Address Bus Carries the addresses of data (but not the data) between the processor
Data Bus Carries data between the processor, the memory unit, and the input/output devices
Control Bus Carries control signals or commands from the CPU to control and coordinate all the activities within the computer.

Memory Unit
In Von Neumann architecture the memory unit consists of RAM and Cache memory, sometimes referred to as primary memory. This memory is fast and also directly accessible by the CPU. RAM is split into partitions. Each partition consists of an address and its contents (both in binary form). The address uniquely identifies every location in the memory. Memory Unit is shown in Fig.1.34

Input/output (1/0) Controller
This component manages the flow of data between the CPU and external devices like hard drives, USB devices, and network interfaces.


Смотрите видео Von Neumann Architecture | Arithmetic and Logic Unit (ALU) | Computer Education for All | FBISE 9th онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Computer Education For all 31 Май 2024, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 10 раз и оно понравилось людям.