Professional Documents
Culture Documents
Control unit =coordinates all the activities of the cpu and directs the flow of data between the cpu and
other devices. , it also coordinates and communicates with all parts of the cpu
Program counter = holds the address of the next instruction to be executed
Memory address register= holds the address of the current instruction to be fetched
Memory data register= used to temporarily store the data which is read from or written to memory
Current instruction register =holds the current instruction being executed .the cotents of the mdr are copied
to the cir as it is an instruction.
Arithmetic logic unit= this performs the logical and arithmetic operations of the cpu including,AND,OR,NOT
and binary shifts
Accumulator=the results of calculations are temporarily stored here
Busses; address bus = carries memory addresses that identify where the data is being read from or written
to. Data bus:carries the binary 1s and 0s that make up the actual information being transmitted around the
cpu
Control bus:carries command and control signals to and from every other component of the cpu
01000001 00101101 01001100 01100101 01110110 01100101 01101100 00100000 01000011 01101111 01101101
Fetch= the program counter is checked ,as it holds the address of the next instruction to be executed.The addressed
store is then copied into the memory address register (mar).the address is then sent along the address bus to main
memory where it waits to receive a signal from the control bus. The control unit then sends a read signal along the
control bus to main memory .The data received by the memory data register from memory data register from
memory now gets copied into the current instruction register. Then the PC is incremented so the address it contains
points to the next instruction points to the next instruction to be executed.
Decode=the instruction held in the current instruction register is now decoded by the decode unit .Th einstruction is
made up of the operand and the opcode the opcode is what to do and the operand is what to do it to.
Execute= the address is sent to the memory address register. The control unit sends a read signal along the control bs
to main memory. The contents stored in memory can now be sent along the data bus to the memory data register
Key question: How is the performance of a
01000001 00101101 01001100 01100101 01110110 01100101 01101100 00100000 01000011 01101111 01101101
01110000 01110101 01110100 01100101 01110010 00100000 01010011 01100011 01101001 01100101 01101110
CPU determined?
01100011 01100101 01000001 00101101 01001100 01100101 01110110 01100101 01101100 00100000 01000011
01101111 01101101 01110000 01110101 01110100 01100101 01110010 00100000 01010011 01100011 01101001
Clock speed= this is measured in hertz. It is the number of fetch, decode and execute cycles per second. Modern
processors can process billions of cycles per second this is measured in GHz gigahertz.3.2ghz = 3.2 billion
instructions can be fetched per second
Cache=temporary storage of data and instructions being read to and written from.is faster to access than ram.
Located on or near the cpu. Stores copies of recent instructions and data. We want to avoid getting instructions
and data from memory if we don’t need to as it costs us time.
Number of cores= a core in simple terms is a complete copy of the cpu.Cpus with multiple cores have more power
to run multiple programs at the same time. However doubling the number of cores doesn’t simply double the
overall speed – cpu cores have to communicate with each other which takes time
Many programs are not designed to make use of multiple cores.
Key question: How can the speed of a
01000001 00101101 01001100 01100101 01110110 01100101 01101100 00100000 01000011 01101111 01101101
01110000 01110101 01110100 01100101 01110010 00100000 01010011 01100011 01101001 01100101 01101110
The speed of a processor can be increased further through pipelining. This is when the cpu is
fetching,decoding,executing different instructions at the same time instead of doing one
instruction at a time. This improves the efficiency however a program with a lot of branching
instructions. May not benefit from pipelining as many instructions will be need to flushed and
removed as they are not needed. Pipelining keeps all portions of the processor occupied and
increases the amount of useful work the processor can do in a given time.
Key question: Are there other ways to build a
01000001 00101101 01001100 01100101 01110110 01100101 01101100 00100000 01000011 01101111 01101101
01110000 01110101 01110100 01100101 01110010 00100000 01010011 01100011 01101001 01100101 01101110
processor?
01100011 01100101 01000001 00101101 01001100 01100101 01110110 01100101 01101100 00100000 01000011
01101111 01101101 01110000 01110101 01110100 01100101 01110010 00100000 01010011 01100011 01101001
Von Neumann architecture has a shared memory space for instructions and data .The instructions and
data are stored the same format. It has a single control unit ,processor which follows a linear fetch
decode, execute cycle. Does one instruction at a time. Registers are used as fast access to instructions
and data.
Harvard architecture=instructions and data are stored in separate memory units and each has its own
bus this also means that separate data=instruction buses must also exist.
Contemporary architecture these are more complex than the von Neumann architecture. They are a
mixture of the Harvard and von Neumann architectures as von Neumann is used when working with
data and instructions in main memory but uses Harvard architecture to divide the cache into
instruction cache and data cache
01000001 00101101 01001100 01100101 01110110 01100101 01101100 00100000 01000011 01101111 01101101
Increasing the number of cores affects the performance of the CPU. Explain why this increase in performance is not linear. [2]
This increase in performance is not linear because if the cpu doesn’t need to run multiple programs the performance doesn’t change. Some
programs are not designed to make use of multiple cores therefore the multiple cores are not used.
Name one register other than the PC found in the CPU and describe its purpose. [2]
Alu performs arithmetic and logical operations including AND OR NOT and binary shifts
Explain why the Little Man Computing (LMC) instructions BRA / BRP would cause the contents of the PC to change. [2]
Assessment Target: Overall grade:
Feedback
Breadth Depth Presentation Understanding