1.3 Types of Processors Flashcards
Who and when was the stored program concept introduced?
1940s, John von Neumann and Alan Turing
Stored program concept
- A program must be loaded into main memory to be executed by the processor
- Instructions are fetched one at a time, decoded and executed sequentially by the processor
- The sequence of instructions can only be changed by a conditional or unconditional jump instruction
What is the most common implementation of the stored program concept?
von Neumann architecture
von Neumann architecture
Instructions and data are stored in a common main memory and transferred using a single shared bus
Harvard architecture
Program instructions are no longer competing for the same bus
Where are the Harvard architecture principles implemented?
In embedded systems and digital signal processing (DSP), where speed is more important in the design
Advantages of von Neumann architecture
- Owing primarily to cost and programming complexity, almost all general purpose computers are based on von Neumann’s principles
- Simplifies the design of the Control Unit
- Data from memory and from devices are accessed in the same way
What do most modern CPU architectures utilise (stored program concept)?
- Both aspects of von Neumann and Harvard architecture
- Cache is split into instruction and data cache
- Main memory holds both data and instructions (some digital processors have multiple parallel data buses (2 write, 3 read) and one instruction bus
CISC (Complex Instruction Set Computers)
- A large instruction set is used to accomplish tasks in as few lines of assembly language as possible
- A CISC combines a “load/store” instruction with the instruction that carries out the actual calculation
RISC (Reduced Instruction Set Computers)
A minimum number of very simple instructions, each taking one clock cycle, are used to accomplish all the required operations in multiple general purpose registers.
Advantages of RISC
- Quicker to code programs
- Compiler has very little work to do to translate a high-level language statement into machine code
- Because the code is relatively short, very little RAM is required to store the instructions
Advantages of RISC
- The hardware is simpler to build with fewer circuits needed for carrying out complex instructions
- Because each instruction takes the same amount of time, pipelining is possible
- Ram is now cheap, and RISC use of RAM and software allows better performance processors at less cost
Parallel systems
Multi-core processors are able to distribute workload across multiple processor cores, thus achieving significantly higher performance by performing several tasks in parallel
How does a computer use parallel processing?
Software has to be written to take advantage of multiple cores (for example using tabbed browsing can make cores simultaneously process requests, videos or running software in different windows)
Co-processor systems
An extra processor used to supplement the functions of the primary proessor