Docsity

Understanding Stored-Program Concept and Instruction Set Architecture in Computing, Study notes of Design

Toggle sidebar
bg1
Stored program concept
• Stored-program concept is designed by
Hungarian mathematician John Von Neumann.
• The von Neumann architecture is a design
model for a stored-program digital computer that
uses a processing unit and a single separate
storage structure to hold both instructions and
data.
• A stored-program digital computer is one that
keeps its programmed instructions, as well as its
data, in read-write, random access memory
(RAM).
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e
pf2f
pf30
pf31
pf32
pf33
pf34
pf35
pf36
pf37
pf38
pf39
pf3a
pf3b
pf3c
pf3d
pf3e
pf3f
pf40
pf41
pf42
pf43
pf44
pf45
pf46
pf47
pf48
pf49
pf4a
pf4b
pf4c
pf4d
pf4e
pf4f
pf50
pf51
pf52
pf53
pf54
pf55
pf56
pf57
pf58
pf59
pf5a
pf5b
pf5c
pf5d
pf5e
pf5f
pf60
pf61
pf62
pf63
pf64

Partial preview of the text

Download Understanding Stored-Program Concept and Instruction Set Architecture in Computing and more Study notes Design in PDF only on Docsity!

Stored program concept

  • Stored-program concept is designed by Hungarian mathematician John Von Neumann.
  • The von Neumann architecture is a design model for a stored-program digital computer that uses a processing unit and a single separate storage structure to hold both instructions and data.
  • A stored-program digital computer is one that keeps its programmed instructions, as well as its data, in read-write, random access memory (RAM).

Design of the von Neumann architecture

CPU INPUT OUTPUT SYSTEM BUS MAIN MEMORY M STORED PROGRAMS AND DATA Data (^) Instruction

  • You store programs and data in a slow-to- access storage medium (such as a hard disk) and work on them in a fast-access, volatile storage medium (RAM).
  • The idea behind stored-program concept was to design a computer that includes an instruction set architecture and can store in memory a set of instructions (a program) that details the computation.
  • A stored-program design also lets programs modify themselves while running
  • An instruction set is a list of all the instructions, and all their variations, that a processor can execute.
  • Instructions include:
  • Arithmetic such as add and subtract
  • Logic instructions such as and, or, and not
  • Data instructions such as move, input, output, load, and store
  • Control flow instructions such as goto, if ... goto, call, and return

Flynn’s classification of computers

  • Michael J Flynn classified computers on the basis of multiplicity of instruction stream and data streams in a computer system.
  • It gives how sequence of instructions or data will be executed upon a single processor
  • Instruction stream: is the sequence of instructions as executed by the machine
  • Data Stream is a sequence of data including input, or partial or temporary result, called by the instruction Stream.

The four classifications defined by Flynn are based upon the number of concurrent instruction (or control) and data streams available in the architecture: Flynn's taxonomy Single Instruction Multiple Instruction Single Data SISD MISD Multiple Data SIMD MIMD

  • Instructions are decoded by the control unit and then ctrl unit send the instructions to the processing units for execution.
  • Data Stream flows between the processors and memory bi directionally.

MISD COMPUTER SYSTEMS

M CU (^) P M CU (^) P M CU (^) P

    • Memory Instruction stream Data stream Characteristics
  • There is no computer at present that can be classified as MISD

SIMD COMPUTER SYSTEMS

Control Unit Memory Alignment network P P (^) • • • P M (^) M • • • M Data bus Instruction stream Data stream Processor units Memory modules Characteristics

  • Only one copy of the program exists
  • A single controller executes one instruction at a time

SHARED MEMORY MULTIPROCESSORS

Characteristics All processors have equally direct access to one large memory address space Example systems Bus and cache-based systems

  • Sequent Balance, Encore Multimax Multistage IN-based systems
  • Ultracomputer, Butterfly, RP3, HEP Crossbar switch-based systems
  • Alliant FX/ Interconnection Network(IN)
  • • • P P • • • P M M M Buses, Multistage IN, Crossbar Switch

MESSAGE-PASSING MULTICOMPUTER

Characteristics

  • Interconnected computers
  • Each processor has its own memory, and communicate via message-passing Example systems
  • Tree structure: Teradata, DADO
  • Mesh-connected: Rediflow, Series 2010, J-Machine
  • Hypercube: Cosmic Cube, iPSC, NCUBE, FPS T Series, Mark III Message-Passing Network P P • • • P M (^) M (^) • • • M Point-to-point connections

The Computer Level Hierarchy

Level 0 : Digital Logic Level

  • This level is where we find digital circuits (the chips).
  • Digital circuits consist of gates and wires.
  • These components implement the mathematical logic of all other levels.
  • This level is where we view physical devices as just switches (On/Off)
  • Instead of viewing their physical behavior (i.e. in terms of voltages and currents) we use two value logic i.e. 0 (off) and 1 (on)

Hardwired Control

  • Hardwired control units consist of hardware that directly executes machine instructions.
  • The control logic is implemented with gates, flip flops, decoders, and other digital circuits.
  • It has the advantage that it can be optimized to produce a fast mode of operation
  • Making any change is difficult

Microprogrammed Control

  • Microprogramed control unit is built around a storage unit called control memory where all control signals are stored in program like format.
  • Control memory stores a set of microprograms which are designed to implement instruction set.
  • Each instruction causes a set of microprogram to be fetched.
  • And its control information is extracted in a manner that resembles the fetching and execution of program from main memory.
  • Design changes can be easy by just altering the contents of the control memory. A microprogram is a program written in a low-level language that is implemented by the hardware.