P2 T2 L6 Computer Systems Architecture Flashcards
What is a bus? (2 points)
- A Bus is a connection between different devices.
2. This connection will normally consist of multiple wires along which signals, instructions and data will be carried.
What is the stored-program concept? (2 points)
- A program must be in main memory in order for it to be executed.
- The instructions are fetched, decoded and executed one at a time.
Explain the concept of addressable memory (2 points)
- For software programs to save and retrieve data, each unit of data must have an address where it can be individually located.
- This memory organisation allows different programs to be stored in different parts of the main memory.
What are the 2 types of machine architectures?
(NOTE: architecture is a set of rules and methods that describe the functionality, organization, and implementation of computer systems.)
The first one is called Von Neumann architecture and later Harvard architecture was adopted for designing digital computers.
- Von Neumann architecture
- Harvard architecture
Explain the Von Neumann machine (2 points + 3 steps)
1 (point). The computer has single storage area (in memory) for storing data as well as the instruction to be executed.
2 (point). Processor needs two clock cycles to complete an instruction:
3 (step). In the first clock cycle the processor gets the instruction from memory and decodes it.
4 (step). In the next clock cycle the required data is taken from memory.
5 (step). For each instruction this cycle repeats and hence needs two cycles to complete an instruction.
Explain the Harvard machine (3 points)
- The computer has two separate memory areas for storing data and instructions.
- Processor can complete an instruction in one cycle
- This is faster because data can be written to memory at the same time as instructions are read from memory
Explain the difference between von Neumann and Harvard architectures
(4 points)
- Harvard architecture has separate data and instruction busses, allowing transfers to be performed simultaneously on both busses.
- A von Neumann architecture has only one bus which is used for both data transfers and instruction fetches, and therefore data transfers and instruction fetches must be scheduled - they can not be performed at the same time.
- The true distinction of a Harvard machine is that instruction and data memory occupy differentaddress spaces. In other words, a memory address does not uniquely identify a storage location (as it does in a Von Neumann machine); you also need to know the memory space (instruction or data) to which the address belongs.
- In the Von Neumann Architecture, the processor requires two clock cycles to execute an instruction. While in the Harvard Architecture, the processor requires only one cycle to complete an instruction.
Von Neumann’s principles are used in… (1 point)
Harvard principles are used in… (1 point)
… general purpose computers
… specialist embedded systems such as digital signal processing where speed takes priority over the complexities of design