4. Computer Components Flashcards
Components of Von Neumann Architecture
Two types of units:
1) Units that process information
2) Units that store information
This units are:
1) Memory Unit
2) Arithmetic/Logic Unit (ALU)
3) Input unit
4) Output Unit
5) Control Unit
Bus
Set of wires that connect all major sections of Von Neumann Machine
Role:
transfer data, signals or power between components
Size/jwidth of bus is how many bits it carries in parallel
Memory
Collection of cells, each with a unique physical address
Number of bits that the OS operates at determines the number of addresses that can be accessed and the amount that can be stored in each address
Arithmetic / Logic Unit (ALU)
Performs basic arithmetic operations
INclude a small amnount of special storage units –> registers
Input Unit
Device used to enter external data into computer
Output Unit
Device through which results are made available
Control Unit
Organizing force in the computer
Components:
1) Instruction register
2) Program Counter
Instruction Register (IR)
Contains the instruction that is being executed
Program Counter (PC)
Contains the address of the next instruction to be executed#
Increments one by one, to the point of the next instruction to be executed
Central Processing Unit (CPU)
ALU + Control Unit
Throughput
Measure of how many units of information a system can process in a given amount of time
Pros of VN Architecture
Data and instructions to manipulate data are logically the same –> could be stored in the same place
Cons of VN Architecture
VN Bottleneck (reasons performance is limited):
-Single data bus can only access one of the two classes of memory at a time
-Data transfer rate is lower than rate that CPU can process (Bottleneck)
Fetch-Execute Cycle
1) Fetch next instruction
2) Decode instruction
3) Get data if needed
4) Execute the instruction
5) Store result of execution and check for next instruction
Fetch the next instruction
PC –> CU –> IR