8a Internal Hardware Flashcards
Explain the stored program concept
- Instructions are stored in main memory
- Instructions are fetched, decode and executed by the cpu
- Programs can be moved in and out from main memory
Describe the FDE cycle referencing registers and buses
1.The number stored in the PC goes to the MAR
2. The MAR requests the data from the RAM via the address bus. This data is sent via the data bus to the MBR.
3. At the same time the PC increments.
4. Data from the MBR is transferred to the CIR and decoded and executed.
Which bus is monodirectional?
Address bus (because there are no addresses in the cpu so other computer components cannot request data from it’s addresses)
Name 3 control lines
Memory write
Memory read
I/O write (outputs data on data bus to i/o port)
What is the purpose of the control bus?
Used to specify what operation must be performed with data.
What are all the buses together known as?
The system bus
Why aren’t I/O controllers built into the cpu?
Inconvenient, would need a new CPU if a device requiring a new port was created
What is the purpose of I/O controllers?
They act as a mediator between the CPU and peripherals, allowing data data transfer
What is word size?
Word size refers to the fixed number of bits a processor can handle at once.
Name 5 factors effecting processor performance
- Clockspeed
- Word size
- Bus width
- Number of cores
- Size of cache
What is the difference between von Neumann and Harvard architecture?
There is separate storage and buses for data and addresses in Harvard architecture.
Explain the benefits of Harvard architecture
Addresses and data have their own buses, this means an instruction is executed once each clock cycle instead of once every two clock cycles, as the data address bottle neck is avoided. This means it is not only faster but the CPU can access instructions and write at the same time.
Explain the advantages of Von Neumann architecture
It is cheaper in cost as less buses are required
Explain how address bus width effects the processor
- The address bus is made up of multiple wires, each wire represents one bit
- The number of wires is known as address bus width
- The more wires the more possible combination of memory locations that can be represented, meaning the RAM can be larger as more data can be stored.
Explain how data bus width effects the processor
- The data bus is made up of multiple wires, each wire represents one bit.
- The bus width is determined by the number of wires.
- A larger bus width allows for larger pieces of data to be transferred at anyone one time, making processing faster.