Ch. 15 Hardware

15.1 Processors and parallel processing

RISC and CISC processors

RISC: Reduced instruction set computer

CISC: Complex instruction set computer

RISC processors

CISC processors

RISCCISC
Fewer instructionsMore instructions
Simpler instructionsMore complex instructions
Smaller number of instruction formatsMany instruction formats
Single-cycle instructions whenever possibleMulti-cycle instructions
Fixed-length instructionsVariable-length instructions
Only load and and store instructions to address memoryMany types of instructions to address memory
Fewer addressing modesMore addressing modes
Multiple register setsFewer registers
Hard-wired control unitMicroprogrammed control unit
Pipelining easierPipelining more difficult

Pipelining

Interrupts

Parallel processing

SISD (Single instruction single data stream)

SIMD (Single instruction multiple data stream)

MISD (Multiple instruction single data stream)

MIMD (Multiple instruction single data stream)

Parallel computer systems

15.2 Boolean algebra and logic circuits

Boolean algebra

Commutative LawsA + B = B + AA.B = B.A
Associative LawsA + (B + C) = (A + B) + CA.(B.C) = (A.B).C
Distributive LawsA.(B + C) = (A.B) + (A.C)
(A + B).(A + C) = A + B.C
A + (B.C) = (A + B).(A + C)
Idempotent LawsA.A = AA + A = A
Identity Laws1.A = A0 + A = A
Null Laws0.A = 01 + A = 1
Inverse LawsA.!A = 0A + !A = 1
Absorption LawsA.(A + B) = A
A + (A.B) = A
A + (A.B) = A
A + (!A.B) = A + B
De Morgan’s Laws!(A.B) = !A + !B!(A + B) = !A.!B

Further logic circuits

Two important logic circuits used in computers are

Half adder

Full adder

Flip-flop circuits

SR flip-flops

JK flip-flops

Boolean algebra and logic circuits

Karnaugh maps (K-maps)