Hardware Flashcards
What is the purpose of RISC ?
What is the purpose of CISC ?
Reduced Instruction Set Computer, it is used by developers who want the emphasis to be on the software and instruction sets to be used aiming for faster execution times.
Complex Instruction Set Computer, it is by developers who want the emphasis to be on the hardware being used. The hardware should be chosen to suit the high-level language development
What is a RISC processor ?
- It uses simple fixed length instructions
- Each instruction requires only one clock cycle
- It uses many registers
- It makes use of pipelining
- It has a hardwired control unit
- It uses RAM
- Emphasis is on software
What is a CISC processor ?
- It uses many instruction formats and has variable length
instructions. - Instructions may require multiple clock cycles
- It uses few registers
- It makes use of different addressing modes
- It has a large instruction set
- It requires complex circuits
- It frequently uses cache memory
- It has a programmable control unit
- Emphasis is on hardware
What are the differences between RISC and CISC processors ?
- RISC has fewer instructions
- RISC has more registers
- RISC instructions take one clock cycle
- RISC has a hardwired control unit
- RISC uses simple instructions
- RISC instructions are fixed length
What are the five stages of pipelining ?
IF, Instruction Fetch cycle
ID, Instruction Decode cycle
OF, Operand Fetch cycle
IE, Instruction Execution cycle
WB, Writeback Result Process
What is pipelining ?
Each instruction is divided into 5 stages
- It allows several instructions to be processed simultaneously thus increasing the number of instructions completed per unit time
- Each instruction stage is completed during one clock cycle
- No two instructions can execute the same stage of instruction at one clock cycle
- While one instruction is being decoded another one can be fetched
Give example of how it goes cycle by cycle
What is a SISD system ?
Single instruction single data,
A single processor executes the instruction using a single data set.
- One processor, one memory unit and one control unit that execute the instructions sequentially.
- Does not support parallel processing, and so doesn’t support pipelining either
What is a SIMD system ?
Singe instruction multiple data,
Many processors execute the same instruction using different data sets.
Makes use of parallel processing so can use pipelining
What is a MISD system ?
Multiple instruction single data,
Many processors executing different instructions but using the same data set
What is a MIMD system ?
Multiple instruction multiple data,
Many processors executing different instructions using different data sets
All processors work independently
What is a massively parallel computer ?
It is when a large number of processors/separate computers work together collaboratively and simultaneously on the same program while communicating through a messaging interface
What are the characteristics of massively parallel computers ?
- A large number of computer processors/separate computers connected together working simultaneously and collaboratively
- Communicating through a messaging interface
- Network infrastructure
What is the purpose of a flip-flop
To store a binary digit
What is the role of flip-flops in a computer ?
They are electrical components with two states, they are data storage elements used to store 1 bit of data.
What is the difference between an SR and JK flip flop ?
- SR has an undefined state where as JK is stable
- JK has a clock pulse