SlideShare a Scribd company logo
(6.1) 
Top Ranking colleges in India 
By: 
Admission.edhole.com
(6.2) Central Processing Unit Architecture 
· Architecture overview 
· Machine organization 
– von Neumann 
· Speeding up CPU operations 
–multiple registers 
– pipelining 
– superscalar and VLIW 
· CISC vs. RISC 
Admission.edhole.com
(6.3) Computer Architecture 
· Major components of a computer 
–Central Processing Unit (CPU) 
–memory 
– peripheral devices 
· Architecture is concerned with 
– internal structures of each 
– interconnections 
» speed and width 
– relative speeds of components 
· Want maximum execution speed 
– Balance Admission.e idsh oofltee.nco cmritical issue
(6.4) Computer Architecture (continued) 
· CPU 
– performs arithmetic and logical operations 
– synchronous operation 
–may consider instruction set architecture 
» how machine looks to a programmer 
– detailed hardware design 
Admission.edhole.com
(6.5) Computer Architecture (continued) 
· Memory 
– stores programs and data 
– organized as 
» bit 
» byte = 8 bits (smallest addressable location) 
» word = 4 bytes (typically; machine dependent) 
– instructions consist of operation codes and 
addresses oprn 
oprn 
oprn 
addr 1 
addr 2 
addr 2 addr 3 
addr 1 
addr 1 
Admission.edhole.com
(6.6) Computer Architecture (continued) 
· Numeric data representations 
– integer (exact representation) 
» sign-magnitude 
» 2’s complement 
s magnitude 
•negative values change 0 to 1, add 1 
– floating point (approximate representation) 
» scientific notation: 0.3481 x 106 
» inherently imprecise 
» IEEE Standard 754-1985 
s exp significand 
Admission.edhole.com
(6.7) Simple Machine Organization 
· Institute for Advanced Studies machine (1947) 
– “von Neumann machine” 
» ALU performs transfers between memory and 
I/O devices 
» note two instructions per memory word 
main 
memory 
Input- 
Output 
Equipment 
Arithmetic - 
Logic Unit 
Program 
Control Unit 
0 8 20 28 39 
Admission.edhole.com 
op code address op code address
(6.8) Simple Machine Organization (continued) 
· ALU does arithmetic and logical comparisons 
– AC = accumulator holds results 
– MQ = memory-quotient holds second portion of 
long results 
– MBR = memory buffer register holds data while 
operation executes 
Admission.edhole.com
(6.9) Simple Machine Organization (continued) 
· Program control determines what computer does 
based on instruction read from memory 
– MAR = memory address register holds address of 
memory cell to be read 
– PC = program counter; address of next instruction 
to be read 
– IR = instruction register holds instruction being 
executed 
– IBR holds right half of instruction read from memory 
Admission.edhole.com
(6.10) Simple Machine Organization (continued) 
· Machine operates on fetch-execute cycle 
· Fetch 
– PC MAR 
– read M(MAR) into MBR 
– copy left and right instructions into IR and IBR 
· Execute 
– address part of IR MAR 
– read M(MAR) into MBR 
– execute opcode 
Admission.edhole.com
(6.11) Simple Machine Organization (continued) 
Admission.edhole.com
(6.12) Architecture Families 
· Before mid-60’s, every new machine had a 
different instruction set architecture 
– programs from previous generation didn’t run on 
new machine 
– cost of replacing software became too large 
· IBM System/360 created family concept 
– single instruction set architecture 
– wide range of price and performance with same 
software 
· Performance improvements based on different 
detailed implementations 
– memory path width (1 byte to 8 bytes) 
– faster, more complex CPU design 
– greater I/O throughput and overlap 
· “Software compatibility” now a major issue 
Admission.edhole.com 
– partially offset by high level language (HLL) software
(6.13) Architecture Families 
Admission.edhole.com
(6.14) Multiple Register Machines 
· Initially, machines had only a few registers 
– 2 to 8 or 16 common 
– registers more expensive than memory 
· Most instructions operated between memory 
locations 
– results had to start from and end up in 
memory, so fewer instructions 
» although more complex 
–means smaller programs and (supposedly) 
faster execution 
» fewer instructions and data to move between 
memory and ALU 
· But registers are much faster than memory 
A–d3m0i stsimioen.se fdahsoteler.com
(6.15) Multiple Register Machines (continued) 
· Also, many operands are reused within a 
short time 
–waste time loading operand again the next 
time it’s needed 
· Depending on mix of instructions and 
operand use, having many registers may 
lead to less traffic to memory and faster 
execution 
· Most modern machines use a multiple 
register architecture 
–maximum number about 512, common 
number 32 integer, Admission.edhole.com 32 floating point
(6.16) Pipelining 
· One way to speed up CPU is to increase 
clock rate 
– limitations on how fast clock can run to 
complete instruction 
· Another way is to execute more than one 
instruction at one time 
Admission.edhole.com
(6.17) Pipelining 
· Pipelining breaks instruction execution down 
into several stages 
– put registers between stages to “buffer” data 
and control 
– execute one instruction 
– as first starts second stage, execute second 
instruction, etc. 
– speedup same as number of stages as long as 
pipe is full 
Admission.edhole.com
(6.18) Pipelining (continued) 
· Consider an example with 6 stages 
– FI = fetch instruction 
– DI = decode instruction 
–CO = calculate location of operand 
– FO = fetch operand 
– EI = execute instruction 
–WO = write operand (store result) 
Admission.edhole.com
(6.19) Pipelining Example 
Admission.edhole.com 
· Executes 9 instructions in 14 cycles rather than 54 for 
sequential execution
(6.20) Pipelining (continued) 
· Hazards to pipelining 
– conditional jump 
» instruction 3 branches to instruction 15 
» pipeline must be flushed and restarted 
– later instruction needs operand being 
calculated by instruction still in pipeline 
» pipeline stalls until result ready 
Admission.edhole.com
(6.21) Pipelining Problem Example 
· IAs dthmisi srseioanlly.e ad hporoleb.lceomm?
(6.22) Real-life Problem 
· Not all instructions execute in one clock 
cycle 
– floating point takes longer than integer 
– fp divide takes longer than fp multiply which 
takes longer than fp add 
– typical values 
» integer add/subtract 1 
» memory reference 1 
» fp add 2 (make 2 stages) 
» fp (or integer) multiply 6 (make 2 stages) 
» fp (or integer) divide 15 
Admission.edhole.com 
· Break floating point unit into a sub-pipeline 
– execute up to 6 instructions at once
(6.23) Pipelining (continued) 
· This is not simple to implement 
– note all 6 instructions could finish at the same time!! 
Admission.edhole.com
(6.24) More Speedup 
· Pipelined machines issue one instruction 
each clock cycle 
– how to speed up CPU even more? 
· Issue more than one instruction per clock 
cycle 
Admission.edhole.com
(6.25) Superscalar Architectures 
· Superscalar machines issue a variable 
number of instructions each clock cycle, up 
to some maximum 
– instructions must satisfy some criteria of 
independence 
» simple choice is maximum of one fp and one 
integer instruction per clock 
» need separate execution paths for each 
possible simultaneous instruction issue 
– compiled code from non-superscalar 
implementation of same architecture runs 
unchanged, but slower 
Admission.edhole.com
(6.26) Superscalar Example 
0 1 2 3 4 5 6 7 8 clock 
Admission.edhole.com 
· Each instruction path may be pipelined
(6.27) Superscalar Problem 
· Instruction-level parallelism 
–what if two successive instructions can’t be 
executed in parallel? 
» data dependencies, or two instructions of slow 
type 
· Design machine to increase multiple 
execution opportunities 
Admission.edhole.com
(6.28) VLIW Architectures 
· Very Long Instruction Word (VLIW) 
architectures store several simple instructions 
in one long instruction fetched from memory 
– number and type are fixed 
» e.g., 2 memory reference, 2 floating point, one 
integer 
– need one functional unit for each possible 
instruction 
» 2 fp units, 1 integer unit, 2 MBRs 
» all run synchronized 
– each instruction is stored in a single word 
» requires wider memory communication paths 
» many instructions may be empty, meaning 
Admiswsiaosnte.edd choodlee.c sopmace
(6.29) VLIW Example 
Memory 
Ref 1 
Memory 
Ref 2 
FP 1 FP 2 Integer 
LD F0, 0(R1) LD F6, 8(R1) 
LD F10, 
16(R1) 
LD F14, 
24(R1) 
SB 
R1,R1,#4 
8 
LD 
F18,32(R1) 
LD 
F22,40(R1) 
AD F4,F0,F2 AD F8,F6,F2 
LD 
F26,48(R1) 
AD 
F12,F10,F2 
AD 
F16,F14,F2 
Admission.edhole.com
(6.30) Instruction Level Parallelism 
· Success of superscalar and VLIW machines 
depends on number of instructions that occur 
together that can be issued in parallel 
– no dependencies 
– no branches 
· Compilers can help create parallelism 
· Speculation techniques try to overcome 
branch problems 
– assume branch is taken 
– execute instructions but don’t let them store 
results until Admission.edh ostlae.tcuos mof branch is known
(6.31) CISC vs. RISC 
· CISC = Complex Instruction Set Computer 
· RISC = Reduced Instruction Set Computer 
Admission.edhole.com
(6.32) CISC vs. RISC (continued) 
· Historically, machines tend to add features 
over time 
– instruction opcodes 
» IBM 70X, 70X0 series went from 24 opcodes to 
185 in 10 years 
» same time performance increased 30 times 
– addressing modes 
– special purpose registers 
· Motivations are to 
– improve efficiency, since complex instructions 
can be implemented in hardware and 
execute faster 
–make life easier for compiler writers 
– support more complex higher-level languages 
Admission.edhole.com
(6.33) CISC vs. RISC 
· Examination of actual code indicated many 
of these features were not used 
· RISC advocates proposed 
– simple, limited instruction set 
– large number of general purpose registers 
» and mostly register operations 
– optimized instruction pipeline 
· Benefits should include 
– faster execution of instructions commonly 
used 
– faster design Admission.edholea.ncdom implementation
(6.34) CISC vs. RISC 
· Comparing some architectures 
Year Instr. Instr. 
Size 
Addr 
Modes 
Registers 
IBM 
370/168 
1973 208 2 - 6 4 16 
VAX 
11/780 
1978 303 2 - 57 22 16 
I 80486 1989 235 1 - 11 11 8 
M 88000 1988 51 4 3 32 
MIPS 
1991 94 4 1 32 
R4000 
IBM 6000 1990 184 4 2 32 
Admission.edhole.com
(6.35) CISC vs. RISC 
· Which approach is right? 
· Typically, RISC takes about 1/5 the design 
time 
– but CISC have adopted RISC techniques 
Admission.edhole.com

More Related Content

What's hot

Presentation on risc pipeline
Presentation on risc pipelinePresentation on risc pipeline
Presentation on risc pipeline
Arijit Chakraborty
 
EC6703 unit-4
EC6703 unit-4EC6703 unit-4
EC6703 unit-4
RajalakshmiSermadurai
 
Chapter6 pipelining
Chapter6  pipeliningChapter6  pipelining
Chapter6 pipelining
Gurpreet Singh
 
CPU Scheduling - Part2
CPU Scheduling - Part2CPU Scheduling - Part2
CPU Scheduling - Part2
Amir Payberah
 
Ch2 embedded processors-i
Ch2 embedded processors-iCh2 embedded processors-i
Ch2 embedded processors-i
Ankit Shah
 
RISC Vs CISC, Harvard v/s Van Neumann
RISC Vs CISC, Harvard v/s Van NeumannRISC Vs CISC, Harvard v/s Van Neumann
RISC Vs CISC, Harvard v/s Van Neumann
Ravikumar Tiwari
 
Chapter 3
Chapter 3Chapter 3
Chapter 3
Rozase Patel
 
Instruction Pipelining
Instruction PipeliningInstruction Pipelining
Instruction Pipelining
Raihan Mahmud (RAM)
 
Pipelining in computer architecture
Pipelining in computer architecturePipelining in computer architecture
Pipelining in computer architecture
Ramakrishna Reddy Bijjam
 
Pipelining In computer
Pipelining In computer Pipelining In computer
Pipelining In computer
Talesun Solar USA Ltd.
 
Pipelining of Processors
Pipelining of ProcessorsPipelining of Processors
Pipelining of Processors
Gaditek
 
pipelining
pipeliningpipelining
pipelining
Sadaf Rasheed
 
INSTRUCTION LEVEL PARALLALISM
INSTRUCTION LEVEL PARALLALISMINSTRUCTION LEVEL PARALLALISM
INSTRUCTION LEVEL PARALLALISMKamran Ashraf
 
Pipeline hazard
Pipeline hazardPipeline hazard
Pipeline hazard
AJAL A J
 
Pipelining , structural hazards
Pipelining , structural hazardsPipelining , structural hazards
Pipelining , structural hazards
Munaam Munawar
 
CS6303 - Computer Architecture
CS6303 - Computer ArchitectureCS6303 - Computer Architecture
CS6303 - Computer Architecture
Sree sowdambika College of Engineering
 
Pipelining, processors, risc and cisc
Pipelining, processors, risc and ciscPipelining, processors, risc and cisc
Pipelining, processors, risc and cisc
Mark Gibbs
 
instruction cycle
instruction cycle instruction cycle
instruction cycle
faiqa saleem
 

What's hot (20)

Presentation on risc pipeline
Presentation on risc pipelinePresentation on risc pipeline
Presentation on risc pipeline
 
EC6703 unit-4
EC6703 unit-4EC6703 unit-4
EC6703 unit-4
 
Chapter6 pipelining
Chapter6  pipeliningChapter6  pipelining
Chapter6 pipelining
 
CPU Scheduling - Part2
CPU Scheduling - Part2CPU Scheduling - Part2
CPU Scheduling - Part2
 
Ch2 embedded processors-i
Ch2 embedded processors-iCh2 embedded processors-i
Ch2 embedded processors-i
 
RISC Vs CISC, Harvard v/s Van Neumann
RISC Vs CISC, Harvard v/s Van NeumannRISC Vs CISC, Harvard v/s Van Neumann
RISC Vs CISC, Harvard v/s Van Neumann
 
Chapter 3
Chapter 3Chapter 3
Chapter 3
 
Risc vs cisc
Risc vs ciscRisc vs cisc
Risc vs cisc
 
Instruction Pipelining
Instruction PipeliningInstruction Pipelining
Instruction Pipelining
 
Pipelining in computer architecture
Pipelining in computer architecturePipelining in computer architecture
Pipelining in computer architecture
 
Pipelining In computer
Pipelining In computer Pipelining In computer
Pipelining In computer
 
Pipelining of Processors
Pipelining of ProcessorsPipelining of Processors
Pipelining of Processors
 
pipelining
pipeliningpipelining
pipelining
 
INSTRUCTION LEVEL PARALLALISM
INSTRUCTION LEVEL PARALLALISMINSTRUCTION LEVEL PARALLALISM
INSTRUCTION LEVEL PARALLALISM
 
Pipeline hazard
Pipeline hazardPipeline hazard
Pipeline hazard
 
Arch 1112-6
Arch 1112-6Arch 1112-6
Arch 1112-6
 
Pipelining , structural hazards
Pipelining , structural hazardsPipelining , structural hazards
Pipelining , structural hazards
 
CS6303 - Computer Architecture
CS6303 - Computer ArchitectureCS6303 - Computer Architecture
CS6303 - Computer Architecture
 
Pipelining, processors, risc and cisc
Pipelining, processors, risc and ciscPipelining, processors, risc and cisc
Pipelining, processors, risc and cisc
 
instruction cycle
instruction cycle instruction cycle
instruction cycle
 

Similar to Top ranking colleges in india

unit 1ARM INTRODUCTION.pptx
unit 1ARM INTRODUCTION.pptxunit 1ARM INTRODUCTION.pptx
unit 1ARM INTRODUCTION.pptx
KandavelEee
 
Pipeline Computing by S. M. Risalat Hasan Chowdhury
Pipeline Computing by S. M. Risalat Hasan ChowdhuryPipeline Computing by S. M. Risalat Hasan Chowdhury
Pipeline Computing by S. M. Risalat Hasan Chowdhury
S. M. Risalat Hasan Chowdhury
 
Bindura university of science education
Bindura university of science educationBindura university of science education
Bindura university of science education
Innocent Tauzeni
 
Co notes3 sem
Co notes3 semCo notes3 sem
Co notes3 sem
dilshad begum
 
asap2013-khoa-presentation
asap2013-khoa-presentationasap2013-khoa-presentation
asap2013-khoa-presentationAbhishek Jain
 
Pipelining in Computer System Achitecture
Pipelining in Computer System AchitecturePipelining in Computer System Achitecture
Pipelining in Computer System Achitecture
YashiUpadhyay3
 
CISC & RISC Architecture
CISC & RISC Architecture CISC & RISC Architecture
CISC & RISC Architecture
Suvendu Kumar Dash
 
Pipeline
PipelinePipeline
Pipeline
saman Iftikhar
 
POLITEKNIK MALAYSIA
POLITEKNIK MALAYSIAPOLITEKNIK MALAYSIA
POLITEKNIK MALAYSIA
Aiman Hud
 
Parallel Processing.pptx
Parallel Processing.pptxParallel Processing.pptx
Parallel Processing.pptx
Sheethal Aji Mani
 
Principle of Computer Operation.ppt
Principle of Computer Operation.pptPrinciple of Computer Operation.ppt
Principle of Computer Operation.ppt
AbdulRehman703897
 
IS 139 Lecture 5
IS 139 Lecture 5IS 139 Lecture 5
IS 139 Lecture 5
wajanga
 
VTU 5TH SEM CSE OPERATING SYSTEMS SOLVED PAPERS
VTU 5TH SEM CSE OPERATING SYSTEMS SOLVED PAPERSVTU 5TH SEM CSE OPERATING SYSTEMS SOLVED PAPERS
VTU 5TH SEM CSE OPERATING SYSTEMS SOLVED PAPERS
vtunotesbysree
 
Uni Processor Architecture
Uni Processor ArchitectureUni Processor Architecture
Uni Processor Architecture
Ashish KC
 
Real-Time Scheduling Algorithms
Real-Time Scheduling AlgorithmsReal-Time Scheduling Algorithms
Real-Time Scheduling Algorithms
AJAL A J
 
Top schools in gudgao
Top schools in gudgaoTop schools in gudgao
Top schools in gudgao
Edhole.com
 
Multithreading computer architecture
 Multithreading computer architecture  Multithreading computer architecture
Multithreading computer architecture
Haris456
 

Similar to Top ranking colleges in india (20)

Unit 5-lecture 5
Unit 5-lecture 5Unit 5-lecture 5
Unit 5-lecture 5
 
unit 1ARM INTRODUCTION.pptx
unit 1ARM INTRODUCTION.pptxunit 1ARM INTRODUCTION.pptx
unit 1ARM INTRODUCTION.pptx
 
Bc0040
Bc0040Bc0040
Bc0040
 
Pipeline Computing by S. M. Risalat Hasan Chowdhury
Pipeline Computing by S. M. Risalat Hasan ChowdhuryPipeline Computing by S. M. Risalat Hasan Chowdhury
Pipeline Computing by S. M. Risalat Hasan Chowdhury
 
Bindura university of science education
Bindura university of science educationBindura university of science education
Bindura university of science education
 
Co notes3 sem
Co notes3 semCo notes3 sem
Co notes3 sem
 
asap2013-khoa-presentation
asap2013-khoa-presentationasap2013-khoa-presentation
asap2013-khoa-presentation
 
Pipelining in Computer System Achitecture
Pipelining in Computer System AchitecturePipelining in Computer System Achitecture
Pipelining in Computer System Achitecture
 
CISC & RISC Architecture
CISC & RISC Architecture CISC & RISC Architecture
CISC & RISC Architecture
 
Pipeline
PipelinePipeline
Pipeline
 
POLITEKNIK MALAYSIA
POLITEKNIK MALAYSIAPOLITEKNIK MALAYSIA
POLITEKNIK MALAYSIA
 
Parallel Processing.pptx
Parallel Processing.pptxParallel Processing.pptx
Parallel Processing.pptx
 
Principle of Computer Operation.ppt
Principle of Computer Operation.pptPrinciple of Computer Operation.ppt
Principle of Computer Operation.ppt
 
IS 139 Lecture 5
IS 139 Lecture 5IS 139 Lecture 5
IS 139 Lecture 5
 
VTU 5TH SEM CSE OPERATING SYSTEMS SOLVED PAPERS
VTU 5TH SEM CSE OPERATING SYSTEMS SOLVED PAPERSVTU 5TH SEM CSE OPERATING SYSTEMS SOLVED PAPERS
VTU 5TH SEM CSE OPERATING SYSTEMS SOLVED PAPERS
 
CSC204PPTNOTES
CSC204PPTNOTESCSC204PPTNOTES
CSC204PPTNOTES
 
Uni Processor Architecture
Uni Processor ArchitectureUni Processor Architecture
Uni Processor Architecture
 
Real-Time Scheduling Algorithms
Real-Time Scheduling AlgorithmsReal-Time Scheduling Algorithms
Real-Time Scheduling Algorithms
 
Top schools in gudgao
Top schools in gudgaoTop schools in gudgao
Top schools in gudgao
 
Multithreading computer architecture
 Multithreading computer architecture  Multithreading computer architecture
Multithreading computer architecture
 

More from Edhole.com

Ca in patna
Ca in patnaCa in patna
Ca in patna
Edhole.com
 
Chartered accountant in dwarka
Chartered accountant in dwarkaChartered accountant in dwarka
Chartered accountant in dwarka
Edhole.com
 
Ca in dwarka
Ca in dwarkaCa in dwarka
Ca in dwarka
Edhole.com
 
Ca firm in dwarka
Ca firm in dwarkaCa firm in dwarka
Ca firm in dwarka
Edhole.com
 
Website development company surat
Website development company suratWebsite development company surat
Website development company surat
Edhole.com
 
Website designing company in surat
Website designing company in suratWebsite designing company in surat
Website designing company in surat
Edhole.com
 
Website dsigning company in india
Website dsigning company in indiaWebsite dsigning company in india
Website dsigning company in india
Edhole.com
 
Website designing company in delhi
Website designing company in delhiWebsite designing company in delhi
Website designing company in delhi
Edhole.com
 
Ca in patna
Ca in patnaCa in patna
Ca in patna
Edhole.com
 
Chartered accountant in dwarka
Chartered accountant in dwarkaChartered accountant in dwarka
Chartered accountant in dwarka
Edhole.com
 
Ca firm in dwarka
Ca firm in dwarkaCa firm in dwarka
Ca firm in dwarka
Edhole.com
 
Ca in dwarka
Ca in dwarkaCa in dwarka
Ca in dwarka
Edhole.com
 
Website development company surat
Website development company suratWebsite development company surat
Website development company surat
Edhole.com
 
Website designing company in surat
Website designing company in suratWebsite designing company in surat
Website designing company in surat
Edhole.com
 
Website designing company in india
Website designing company in indiaWebsite designing company in india
Website designing company in india
Edhole.com
 
Website designing company in delhi
Website designing company in delhiWebsite designing company in delhi
Website designing company in delhi
Edhole.com
 
Website designing company in mumbai
Website designing company in mumbaiWebsite designing company in mumbai
Website designing company in mumbai
Edhole.com
 
Website development company surat
Website development company suratWebsite development company surat
Website development company surat
Edhole.com
 
Website desinging company in surat
Website desinging company in suratWebsite desinging company in surat
Website desinging company in surat
Edhole.com
 
Website designing company in india
Website designing company in indiaWebsite designing company in india
Website designing company in india
Edhole.com
 

More from Edhole.com (20)

Ca in patna
Ca in patnaCa in patna
Ca in patna
 
Chartered accountant in dwarka
Chartered accountant in dwarkaChartered accountant in dwarka
Chartered accountant in dwarka
 
Ca in dwarka
Ca in dwarkaCa in dwarka
Ca in dwarka
 
Ca firm in dwarka
Ca firm in dwarkaCa firm in dwarka
Ca firm in dwarka
 
Website development company surat
Website development company suratWebsite development company surat
Website development company surat
 
Website designing company in surat
Website designing company in suratWebsite designing company in surat
Website designing company in surat
 
Website dsigning company in india
Website dsigning company in indiaWebsite dsigning company in india
Website dsigning company in india
 
Website designing company in delhi
Website designing company in delhiWebsite designing company in delhi
Website designing company in delhi
 
Ca in patna
Ca in patnaCa in patna
Ca in patna
 
Chartered accountant in dwarka
Chartered accountant in dwarkaChartered accountant in dwarka
Chartered accountant in dwarka
 
Ca firm in dwarka
Ca firm in dwarkaCa firm in dwarka
Ca firm in dwarka
 
Ca in dwarka
Ca in dwarkaCa in dwarka
Ca in dwarka
 
Website development company surat
Website development company suratWebsite development company surat
Website development company surat
 
Website designing company in surat
Website designing company in suratWebsite designing company in surat
Website designing company in surat
 
Website designing company in india
Website designing company in indiaWebsite designing company in india
Website designing company in india
 
Website designing company in delhi
Website designing company in delhiWebsite designing company in delhi
Website designing company in delhi
 
Website designing company in mumbai
Website designing company in mumbaiWebsite designing company in mumbai
Website designing company in mumbai
 
Website development company surat
Website development company suratWebsite development company surat
Website development company surat
 
Website desinging company in surat
Website desinging company in suratWebsite desinging company in surat
Website desinging company in surat
 
Website designing company in india
Website designing company in indiaWebsite designing company in india
Website designing company in india
 

Recently uploaded

Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
Pavel ( NSTU)
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
JosvitaDsouza2
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
DeeptiGupta154
 
Jose-Rizal-and-Philippine-Nationalism-National-Symbol-2.pptx
Jose-Rizal-and-Philippine-Nationalism-National-Symbol-2.pptxJose-Rizal-and-Philippine-Nationalism-National-Symbol-2.pptx
Jose-Rizal-and-Philippine-Nationalism-National-Symbol-2.pptx
ricssacare
 
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
MIRIAMSALINAS13
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
Jisc
 
Basic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumersBasic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumers
PedroFerreira53928
 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
kaushalkr1407
 
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
Nguyen Thanh Tu Collection
 
Solid waste management & Types of Basic civil Engineering notes by DJ Sir.pptx
Solid waste management & Types of Basic civil Engineering notes by DJ Sir.pptxSolid waste management & Types of Basic civil Engineering notes by DJ Sir.pptx
Solid waste management & Types of Basic civil Engineering notes by DJ Sir.pptx
Denish Jangid
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
siemaillard
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
Jisc
 
Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345
beazzy04
 
How to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS ModuleHow to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS Module
Celine George
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
Jisc
 
UNIT – IV_PCI Complaints: Complaints and evaluation of complaints, Handling o...
UNIT – IV_PCI Complaints: Complaints and evaluation of complaints, Handling o...UNIT – IV_PCI Complaints: Complaints and evaluation of complaints, Handling o...
UNIT – IV_PCI Complaints: Complaints and evaluation of complaints, Handling o...
Sayali Powar
 
Extraction Of Natural Dye From Beetroot (Beta Vulgaris) And Preparation Of He...
Extraction Of Natural Dye From Beetroot (Beta Vulgaris) And Preparation Of He...Extraction Of Natural Dye From Beetroot (Beta Vulgaris) And Preparation Of He...
Extraction Of Natural Dye From Beetroot (Beta Vulgaris) And Preparation Of He...
SachinKumar945617
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
Delapenabediema
 
Fish and Chips - have they had their chips
Fish and Chips - have they had their chipsFish and Chips - have they had their chips
Fish and Chips - have they had their chips
GeoBlogs
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
joachimlavalley1
 

Recently uploaded (20)

Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
 
Jose-Rizal-and-Philippine-Nationalism-National-Symbol-2.pptx
Jose-Rizal-and-Philippine-Nationalism-National-Symbol-2.pptxJose-Rizal-and-Philippine-Nationalism-National-Symbol-2.pptx
Jose-Rizal-and-Philippine-Nationalism-National-Symbol-2.pptx
 
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
 
Basic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumersBasic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumers
 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
 
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
 
Solid waste management & Types of Basic civil Engineering notes by DJ Sir.pptx
Solid waste management & Types of Basic civil Engineering notes by DJ Sir.pptxSolid waste management & Types of Basic civil Engineering notes by DJ Sir.pptx
Solid waste management & Types of Basic civil Engineering notes by DJ Sir.pptx
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
 
Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345
 
How to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS ModuleHow to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS Module
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
 
UNIT – IV_PCI Complaints: Complaints and evaluation of complaints, Handling o...
UNIT – IV_PCI Complaints: Complaints and evaluation of complaints, Handling o...UNIT – IV_PCI Complaints: Complaints and evaluation of complaints, Handling o...
UNIT – IV_PCI Complaints: Complaints and evaluation of complaints, Handling o...
 
Extraction Of Natural Dye From Beetroot (Beta Vulgaris) And Preparation Of He...
Extraction Of Natural Dye From Beetroot (Beta Vulgaris) And Preparation Of He...Extraction Of Natural Dye From Beetroot (Beta Vulgaris) And Preparation Of He...
Extraction Of Natural Dye From Beetroot (Beta Vulgaris) And Preparation Of He...
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
 
Fish and Chips - have they had their chips
Fish and Chips - have they had their chipsFish and Chips - have they had their chips
Fish and Chips - have they had their chips
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
 

Top ranking colleges in india

  • 1. (6.1) Top Ranking colleges in India By: Admission.edhole.com
  • 2. (6.2) Central Processing Unit Architecture · Architecture overview · Machine organization – von Neumann · Speeding up CPU operations –multiple registers – pipelining – superscalar and VLIW · CISC vs. RISC Admission.edhole.com
  • 3. (6.3) Computer Architecture · Major components of a computer –Central Processing Unit (CPU) –memory – peripheral devices · Architecture is concerned with – internal structures of each – interconnections » speed and width – relative speeds of components · Want maximum execution speed – Balance Admission.e idsh oofltee.nco cmritical issue
  • 4. (6.4) Computer Architecture (continued) · CPU – performs arithmetic and logical operations – synchronous operation –may consider instruction set architecture » how machine looks to a programmer – detailed hardware design Admission.edhole.com
  • 5. (6.5) Computer Architecture (continued) · Memory – stores programs and data – organized as » bit » byte = 8 bits (smallest addressable location) » word = 4 bytes (typically; machine dependent) – instructions consist of operation codes and addresses oprn oprn oprn addr 1 addr 2 addr 2 addr 3 addr 1 addr 1 Admission.edhole.com
  • 6. (6.6) Computer Architecture (continued) · Numeric data representations – integer (exact representation) » sign-magnitude » 2’s complement s magnitude •negative values change 0 to 1, add 1 – floating point (approximate representation) » scientific notation: 0.3481 x 106 » inherently imprecise » IEEE Standard 754-1985 s exp significand Admission.edhole.com
  • 7. (6.7) Simple Machine Organization · Institute for Advanced Studies machine (1947) – “von Neumann machine” » ALU performs transfers between memory and I/O devices » note two instructions per memory word main memory Input- Output Equipment Arithmetic - Logic Unit Program Control Unit 0 8 20 28 39 Admission.edhole.com op code address op code address
  • 8. (6.8) Simple Machine Organization (continued) · ALU does arithmetic and logical comparisons – AC = accumulator holds results – MQ = memory-quotient holds second portion of long results – MBR = memory buffer register holds data while operation executes Admission.edhole.com
  • 9. (6.9) Simple Machine Organization (continued) · Program control determines what computer does based on instruction read from memory – MAR = memory address register holds address of memory cell to be read – PC = program counter; address of next instruction to be read – IR = instruction register holds instruction being executed – IBR holds right half of instruction read from memory Admission.edhole.com
  • 10. (6.10) Simple Machine Organization (continued) · Machine operates on fetch-execute cycle · Fetch – PC MAR – read M(MAR) into MBR – copy left and right instructions into IR and IBR · Execute – address part of IR MAR – read M(MAR) into MBR – execute opcode Admission.edhole.com
  • 11. (6.11) Simple Machine Organization (continued) Admission.edhole.com
  • 12. (6.12) Architecture Families · Before mid-60’s, every new machine had a different instruction set architecture – programs from previous generation didn’t run on new machine – cost of replacing software became too large · IBM System/360 created family concept – single instruction set architecture – wide range of price and performance with same software · Performance improvements based on different detailed implementations – memory path width (1 byte to 8 bytes) – faster, more complex CPU design – greater I/O throughput and overlap · “Software compatibility” now a major issue Admission.edhole.com – partially offset by high level language (HLL) software
  • 13. (6.13) Architecture Families Admission.edhole.com
  • 14. (6.14) Multiple Register Machines · Initially, machines had only a few registers – 2 to 8 or 16 common – registers more expensive than memory · Most instructions operated between memory locations – results had to start from and end up in memory, so fewer instructions » although more complex –means smaller programs and (supposedly) faster execution » fewer instructions and data to move between memory and ALU · But registers are much faster than memory A–d3m0i stsimioen.se fdahsoteler.com
  • 15. (6.15) Multiple Register Machines (continued) · Also, many operands are reused within a short time –waste time loading operand again the next time it’s needed · Depending on mix of instructions and operand use, having many registers may lead to less traffic to memory and faster execution · Most modern machines use a multiple register architecture –maximum number about 512, common number 32 integer, Admission.edhole.com 32 floating point
  • 16. (6.16) Pipelining · One way to speed up CPU is to increase clock rate – limitations on how fast clock can run to complete instruction · Another way is to execute more than one instruction at one time Admission.edhole.com
  • 17. (6.17) Pipelining · Pipelining breaks instruction execution down into several stages – put registers between stages to “buffer” data and control – execute one instruction – as first starts second stage, execute second instruction, etc. – speedup same as number of stages as long as pipe is full Admission.edhole.com
  • 18. (6.18) Pipelining (continued) · Consider an example with 6 stages – FI = fetch instruction – DI = decode instruction –CO = calculate location of operand – FO = fetch operand – EI = execute instruction –WO = write operand (store result) Admission.edhole.com
  • 19. (6.19) Pipelining Example Admission.edhole.com · Executes 9 instructions in 14 cycles rather than 54 for sequential execution
  • 20. (6.20) Pipelining (continued) · Hazards to pipelining – conditional jump » instruction 3 branches to instruction 15 » pipeline must be flushed and restarted – later instruction needs operand being calculated by instruction still in pipeline » pipeline stalls until result ready Admission.edhole.com
  • 21. (6.21) Pipelining Problem Example · IAs dthmisi srseioanlly.e ad hporoleb.lceomm?
  • 22. (6.22) Real-life Problem · Not all instructions execute in one clock cycle – floating point takes longer than integer – fp divide takes longer than fp multiply which takes longer than fp add – typical values » integer add/subtract 1 » memory reference 1 » fp add 2 (make 2 stages) » fp (or integer) multiply 6 (make 2 stages) » fp (or integer) divide 15 Admission.edhole.com · Break floating point unit into a sub-pipeline – execute up to 6 instructions at once
  • 23. (6.23) Pipelining (continued) · This is not simple to implement – note all 6 instructions could finish at the same time!! Admission.edhole.com
  • 24. (6.24) More Speedup · Pipelined machines issue one instruction each clock cycle – how to speed up CPU even more? · Issue more than one instruction per clock cycle Admission.edhole.com
  • 25. (6.25) Superscalar Architectures · Superscalar machines issue a variable number of instructions each clock cycle, up to some maximum – instructions must satisfy some criteria of independence » simple choice is maximum of one fp and one integer instruction per clock » need separate execution paths for each possible simultaneous instruction issue – compiled code from non-superscalar implementation of same architecture runs unchanged, but slower Admission.edhole.com
  • 26. (6.26) Superscalar Example 0 1 2 3 4 5 6 7 8 clock Admission.edhole.com · Each instruction path may be pipelined
  • 27. (6.27) Superscalar Problem · Instruction-level parallelism –what if two successive instructions can’t be executed in parallel? » data dependencies, or two instructions of slow type · Design machine to increase multiple execution opportunities Admission.edhole.com
  • 28. (6.28) VLIW Architectures · Very Long Instruction Word (VLIW) architectures store several simple instructions in one long instruction fetched from memory – number and type are fixed » e.g., 2 memory reference, 2 floating point, one integer – need one functional unit for each possible instruction » 2 fp units, 1 integer unit, 2 MBRs » all run synchronized – each instruction is stored in a single word » requires wider memory communication paths » many instructions may be empty, meaning Admiswsiaosnte.edd choodlee.c sopmace
  • 29. (6.29) VLIW Example Memory Ref 1 Memory Ref 2 FP 1 FP 2 Integer LD F0, 0(R1) LD F6, 8(R1) LD F10, 16(R1) LD F14, 24(R1) SB R1,R1,#4 8 LD F18,32(R1) LD F22,40(R1) AD F4,F0,F2 AD F8,F6,F2 LD F26,48(R1) AD F12,F10,F2 AD F16,F14,F2 Admission.edhole.com
  • 30. (6.30) Instruction Level Parallelism · Success of superscalar and VLIW machines depends on number of instructions that occur together that can be issued in parallel – no dependencies – no branches · Compilers can help create parallelism · Speculation techniques try to overcome branch problems – assume branch is taken – execute instructions but don’t let them store results until Admission.edh ostlae.tcuos mof branch is known
  • 31. (6.31) CISC vs. RISC · CISC = Complex Instruction Set Computer · RISC = Reduced Instruction Set Computer Admission.edhole.com
  • 32. (6.32) CISC vs. RISC (continued) · Historically, machines tend to add features over time – instruction opcodes » IBM 70X, 70X0 series went from 24 opcodes to 185 in 10 years » same time performance increased 30 times – addressing modes – special purpose registers · Motivations are to – improve efficiency, since complex instructions can be implemented in hardware and execute faster –make life easier for compiler writers – support more complex higher-level languages Admission.edhole.com
  • 33. (6.33) CISC vs. RISC · Examination of actual code indicated many of these features were not used · RISC advocates proposed – simple, limited instruction set – large number of general purpose registers » and mostly register operations – optimized instruction pipeline · Benefits should include – faster execution of instructions commonly used – faster design Admission.edholea.ncdom implementation
  • 34. (6.34) CISC vs. RISC · Comparing some architectures Year Instr. Instr. Size Addr Modes Registers IBM 370/168 1973 208 2 - 6 4 16 VAX 11/780 1978 303 2 - 57 22 16 I 80486 1989 235 1 - 11 11 8 M 88000 1988 51 4 3 32 MIPS 1991 94 4 1 32 R4000 IBM 6000 1990 184 4 2 32 Admission.edhole.com
  • 35. (6.35) CISC vs. RISC · Which approach is right? · Typically, RISC takes about 1/5 the design time – but CISC have adopted RISC techniques Admission.edhole.com