SlideShare ist ein Scribd-Unternehmen logo
1 von 46
EE5440
COMPUTER ARCHITECTURE
Mr. Dilawar
Lecturer,
Computer Science Faculty,
Bakhtar University
Kabul, Afghanistan.
Course Objectives
After successfully completing this course, you will be able to:
• Understand the design of computer system and its components.
• Understand different CPU design, ISA, addressing, and
microprogramming.
• Understand different memory management and I/O strategies and
techniques.
Course Outline
• Basic Structure of Computers
• Instruction Set Architecture
• Basic I/O
• I/O Organization
• Basic Processing Unit
• Computer Arithmetic
• The Memory System
Text Books to Follow
• Computer Organization and Embedded Systems by C Hamacher, 6th
Edition 2012.
• Computer Organization and Architecture: Designing for
Performance, by William Stallings 8th Edition, Prentice Hall.
• Structured Computer Organization by Andrew S Tanenbaum 5th
Edition.
Basic Structure of Computers
Chapter 1
Lecture Outline
• The different types of computers
• The basic structure of a computer and its operation
• Machine instructions and their execution
• Integer, floating-point, and character representations
• Addition and subtraction of binary numbers
• Basic performance issues in computer systems
• A brief history of computer development
Computer Types
• Since their introduction in the 1940s, digital computers have evolved
into different types
• Sze, cost, computational power, and intended use.
• Modern computers can be divided into below categories
• Embedded Computers
• Personal Computers
• Servers and Enterprise Systems
• Supercomputers and Grid Computers
• Emerging trend in access to computing facilities – cloud computing.
Functional Units
• Five functional parts
• Input, memory, ALU, output, and
CU.
• Interconnection network
• Exchange information and
coordinate their actions.
Functional Units
• Information handled by computer
• Instruction or data.
• Instructions, are explicit commands
• Transmission of information
• Specify the AL operations.
• Program, is a list of instructions which
performs a task.
• Data are numbers and characters
used as operand by the instructions.
Functional Units
• Instructions must be encoded in a
suitable format.
• Most recent H/W employs digital
circuits that have only two states.
• Everything is encoded as string of
binary digits called bits.
• Having one of two values, 0 or 1.
Functional Units
Input Unit
• Computers accept coded information though input units.
• Keyboard, touchpad, mouse, joystick, and trackball.
• Digital communication facilities, such as internet, can also provide
input to a computer.
Functional Units
Memory Unit
• Primary memory, also called main memory, is a fast memory that
operates at electronic speeds.
• Programs are stored while being executed.
• Consist of large number of semiconductor storage cells, each capable of
storing one bit of information.
• Handled in groups of fixed size called words.
• Number of bits in each word is referred to as word length, typically 16, 32, or 64 bits.
• For access, each word in memory has a distinct address.
Functional Units
Memory Unit
• Instructions and data can be written or read under the control of processor.
• A memory in which any memory location can be accessed in a short of fixed
amount of time after specifying its address is called RAM.
• Memory access time, time required to access one word.
• From few to 100ns – Independent of the location of word being accessed.
Functional Units
Cache Memory
• Smaller, faster RAM unit, called cache.
• Used to hold sections of a program that are currently being executed, along
with any associated data.
• Tightly coupled with the processor and is usually contained on the
same integrated-circuit chip.
• Suppose, execution of a number of execution in a program loop.
• Cache hit and Cache miss operations.
Functional Units
Secondary Storage
• Although primary memory is essential, expensive, and volatile.
• Thus additional, less expensive, permanent secondary storage is used for
large amount of data storage.
• Access times are longer than as compare to primary memory.
• Wide selection of devices such as
• Magnetic disks, optical disks (DVD and CD), and flash memory devices.
Functional Units
Arithmetic and Logic Unit
• Most computer operations are executed in ALU of the processor.
• addition, subtraction, multiplication, division, or comparison of numbers.
• When operands are brought into the processor, they are stored in
high-speed storage elements called registers.
• Access time is shorter as compare to other storage systems.
Functional Units
Output Unit
• Counterpart of the input unit.
• Sends processed results to the outside world such as printer and graphic
displays.
• Often, looks sometimes comes with dual functionality, I/O units.
Functional Units
Control Unit
• The coordination of all the above units are handled through CU.
• It is like a nerve center that sends control signals to other units and senses
their states.
• Processing cycle is all managed by control unit.
Basic Operational Concepts
• We have learned,
• Activity is governed through instructions.
• For performing a task, program is loaded into memory.
• Individual instructions are brought to the processor for processing.
• A typical instruction might be
MOV R2, LOC
ADD R4, R3
MOV LOC, R4
Basic Operational Concepts
• IR holds the instruction that is currently
being executed.
• PC contains the memory address of the
next instruction to be fetched and
executed.
• R0 through Rn-1 are general purpose
registers.
• The processor-memory interface sends
read and write control signals.
• Use of interrupt signal and interrupt-
service routine.
Number Representation and Arithmetic
Operations
• The most natural way to represent a number in a computer system is
by a string of bits, called a binary number.
• We will have discussion on binary representation for Integers as its
arithmetic operations and then floating-point numbers.
Integers
• A bit is the most basic unit of information in a computer.
• It is a state of “on” or “off” in a digital circuit.
• Or “high” or “low” voltage instead of “on” or “off.”
• A byte is a group of eight bits.
• A byte is the smallest possible addressable unit of computer storage.
• A word is a contiguous group of bytes
• Word sizes of 16, 32, or 64 bits are most common.
• Usually a word represents a number or instruction.
Integers
• Start with the least significant bit (rightmost bit)
• Add each pair of bits
• Include the carry in the addition, if present
0 0 0 0 0 1 1 1
0 0 0 0 0 1 0 0
+
0 0 0 0 1 0 1 1
1
(4)
(7)
(11)
carry:
01234bit position: 567
Integers
• There are three ways in which signed binary numbers may be
expressed:
• Signed magnitude,
• One’s complement and
• Two’s complement.
• In an 8-bit word, signed magnitude representation places the
absolute value of the number in the 7 bits to the right of the sign bit.
Integers
• Highest bit indicates the sign. 1 = negative, 0 = positive
1 1 1 1 0 1 1 0
0 0 0 0 1 0 1 0
sign bit
Negative
Positive
Integers
• Binary addition is as easy as it gets. You need to know only four
rules:
0 + 0 = 0 0 + 1 = 1
1 + 0 = 1 1 + 1 = 10
• The simplicity of this system makes it possible for digital circuits to
carry out arithmetic operations.
• We will describe these circuits in Chapter 3.
26
Let’s see how the addition rules work with signed
magnitude numbers . . .
Integers
• Example:
• Using signed magnitude binary arithmetic,
find the sum of 75 and 46.
• First, convert 75 and 46 to binary, and arrange
as a sum, but separate the (positive) sign bits
from the magnitude bits.
27
In this example, we were careful careful to pick two values
whose sum would fit into seven bits. If that is not the case, we
have a problem.
Integers
• Example:
• Using signed magnitude binary
arithmetic, find the sum of 107 and
46.
• We see that the carry from the seventh
bit overflows and is discarded, giving
us the erroneous result:
107 + 46 = 25.
Integers
• Signed magnitude representation is easy for people to understand,
but it requires complicated computer hardware.
• Another disadvantage of signed magnitude is that it allows two
different representations for zero: positive zero and negative zero.
• For these reasons (among others) computers systems employ
complement systems for numeric value representation.
29
Integers
• In complement systems, negative values are represented by some
difference between a number and its base.
• In diminished radix complement systems, a negative value is given
by the difference between the absolute value of a number and one
less than its base.
• In the binary system, this gives us one’s complement. It amounts to
little more than flipping the bits of a binary number.
30
Integers
• For example, in 8-bit one’s complement;
• + 3 is: 00000011
• - 3 is: 11111100
• In one’s complement, as with signed magnitude, negative values are
indicated by a 1 in the high order bit.
• Complement systems are useful because they eliminate the need for
special circuitry for subtraction. The difference of two values is found
by adding the minuend to the complement of the subtrahend.
Integers
• With one’s complement addition, the carry bit
is “carried around” and added to the sum.
• Example: Using one’s complement binary
arithmetic, find the sum of 48 and - 19
We note that 19 in one’s complement is 00010011,
so -19 in one’s complement is: 11101100.
Integers
• Although the “end carry around” adds some complexity, one’s
complement is simpler to implement than signed magnitude.
• But it still has the disadvantage of having two different
representations for zero: positive zero and negative zero.
• Two’s complement solves this problem.
• Two’s complement is the radix complement of the binary numbering
system.
Integers
• To express a value in two’s complement:
• If the number is positive, just convert it to binary and you’re done.
• If the number is negative, find the one’s complement of the number
and then add 1.
• Example:
• In 8-bit one’s complement, positive 3 is: 0 0 0 0 0 0 1 1
• Negative 3 in one’s complement is: 1 1 1 1 1 1 0 0
• Adding 1 gives us -3 in two’s complement form: 11111101.
Integers
starting value 00100100 = +36
step1: reverse the bits (1's complement) 11011011
step 2: add 1 to the value from step 1 + 1
sum = 2's complement representation 11011100 = -36
Sum of an integer and its 2's complement must be zero:
00100100 + 11011100 = 00000000 (8-bit sum)  Ignore Carry
The easiest way to obtain the 2's complement of a binary number is by
starting at the LSB, leaving all the 0s unchanged, look for the first
occurrence of a 1. Leave this 1 unchanged and complement all the bits
after it.
Integers
• With two’s complement arithmetic, all we do is add our two binary
numbers. Just discard any carries emitting from the high order bit.
We note that 19 in one’s complement is: 00010011,
so -19 in one’s complement is: 11101100,
and -19 in two’s complement is: 11101101.
– Example: Using one’s
complement binary
arithmetic, find the sum of
48 and - 19.
Integers
• When we use any finite number of bits to represent a number, we
always run the risk of the result of our calculations becoming too
large to be stored in the computer.
• While we can’t always prevent overflow, we can always detect
overflow.
• In complement arithmetic, an overflow condition is easy to detect.
Integers
• Example:
• Using two’s complement binary arithmetic,
find the sum of 107 and 46.
• We see that the nonzero carry from the seventh
bit overflows into the sign bit, giving us the
erroneous result: 107 + 46 = -103.
Rule for detecting two’s complement overflow: When the
“carry in” and the “carry out” of the sign bit differ, overflow has
occurred.
Integers
• When subtracting A – B, convert B to its 2's complement
• Add A to (–B)
0 0 0 0 1 1 0 0 0 0 0 0 1 1 0 0
0 0 0 0 0 0 1 0 1 1 1 1 1 1 1 0 (2's complement)
0 0 0 0 1 0 1 0 0 0 0 0 1 0 1 0 (same result)
– +
• Carry is ignored, because
• Negative number is sign-extended with 1's
• You can imagine infinite 1's to the left of a negative number
• Adding the carry to the extended 1's produces extended zeros
Character Representation
• ASCII is the most common encoding schema for characters.
• Alphanumeric characters, operators, punctuation symbols, and
control characters are represented by 7-bit codes.
• A byte is used for the representation and storage.
• The sequential increasing order of codes (alphabets and numeric)
when changed to unsigned binary describes sorting operation.
• The low-order four bits of the ASCII describes BCD code.
• Code for 0 to 9 decimal digits.
Performance
• Measure of performance is how quickly it executes program.
• Design of its instruction set, hardware and software, including OS and the
technology in which the hardware is implemented.
• By technology, processor and system organization – This section.
Performance
• Technology
• VLSI is a critical factor of the speed of execution of machine instruction.
• Switching between 0 and 1 in logic circuits is determined by size of transistors
used.
• Smaller transistors switch faster
• Instructions can be executed faster and more transistors can be placed,
leading to more logic functionality and more memory storage capacity.
• Advances in fabrication technology over several decades have reduced
transistor sizes dramatically.
Performance
• Parallelism
• Performing number of operations in parallel.
• Instruction-Level Parallelism – Pipelining.
• complete all steps of the current instruction before starting the steps of the next
instruction – execution of a sequence of instructions.
• overlapping the execution of the steps of successive instruction to reduced total
execution time.
• Multicore Processors
• Multiple processing units (core) on a single chip.
• Dual-core, quad-core, and octo-core processors for chips having 2, 4, and 8 cores
respectively.
Performance
• Parallelism
• Multiprocessors
• Many processors, each possibly containing multiple cores.
• Shared-Memory multiprocessor.
• In contrast, It is also possible to use an interconnected group of complete computers to
achieve high total computational power.
• Message-Passing multicomputer.
Summery
• The different types of computers
• The basic structure of a computer and its operation
• Machine instructions and their execution
• Integer, floating-point, and character representations
• Addition and subtraction of binary numbers
• Basic performance issues in computer systems
• A brief history of computer development
Thank You
For your Patience

Weitere ähnliche Inhalte

Was ist angesagt?

computer organization and assembly language Lec 01 coal_introduction
computer organization and assembly language  Lec 01 coal_introductioncomputer organization and assembly language  Lec 01 coal_introduction
computer organization and assembly language Lec 01 coal_introductionZia3130
 
introduction to microprocessors
introduction to microprocessorsintroduction to microprocessors
introduction to microprocessorsvishi1993
 
Computer architecture
Computer architectureComputer architecture
Computer architectureZuhaib Zaroon
 
Computer organisation -morris mano
Computer organisation  -morris manoComputer organisation  -morris mano
Computer organisation -morris manovishnu murthy
 
OS - Process Concepts
OS - Process ConceptsOS - Process Concepts
OS - Process ConceptsMukesh Chinta
 
Comuputer processor
Comuputer processorComuputer processor
Comuputer processorSanjeev Jain
 
Data transfer and manipulation
Data transfer and manipulationData transfer and manipulation
Data transfer and manipulationSanjeev Patel
 
CS4109 Computer System Architecture
CS4109 Computer System ArchitectureCS4109 Computer System Architecture
CS4109 Computer System Architecturektosri
 
Computer Organisation & Architecture (chapter 1)
Computer Organisation & Architecture (chapter 1) Computer Organisation & Architecture (chapter 1)
Computer Organisation & Architecture (chapter 1) Subhasis Dash
 
Computer Organization and Architecture.
Computer Organization and Architecture.Computer Organization and Architecture.
Computer Organization and Architecture.CS_GDRCST
 
Computer organization & architecture chapter-1
Computer organization & architecture chapter-1Computer organization & architecture chapter-1
Computer organization & architecture chapter-1Shah Rukh Rayaz
 
Computer architecture and organization
Computer architecture and organizationComputer architecture and organization
Computer architecture and organizationTushar B Kute
 
Basic Computer Architecture
Basic Computer ArchitectureBasic Computer Architecture
Basic Computer ArchitectureYong Heui Cho
 
General register organization (computer organization)
General register organization  (computer organization)General register organization  (computer organization)
General register organization (computer organization)rishi ram khanal
 
Chapter 01 - Introduction
Chapter 01 - IntroductionChapter 01 - Introduction
Chapter 01 - IntroductionCésar de Souza
 
Computer Organization and Architecture.pptx
Computer Organization and Architecture.pptxComputer Organization and Architecture.pptx
Computer Organization and Architecture.pptxAshokRachapalli1
 
Computer organization basics
Computer organization  basicsComputer organization  basics
Computer organization basicsDeepak John
 

Was ist angesagt? (20)

computer organization and assembly language Lec 01 coal_introduction
computer organization and assembly language  Lec 01 coal_introductioncomputer organization and assembly language  Lec 01 coal_introduction
computer organization and assembly language Lec 01 coal_introduction
 
introduction to microprocessors
introduction to microprocessorsintroduction to microprocessors
introduction to microprocessors
 
Multicore Processor Technology
Multicore Processor TechnologyMulticore Processor Technology
Multicore Processor Technology
 
Computer architecture
Computer architectureComputer architecture
Computer architecture
 
Computer organisation -morris mano
Computer organisation  -morris manoComputer organisation  -morris mano
Computer organisation -morris mano
 
OS - Process Concepts
OS - Process ConceptsOS - Process Concepts
OS - Process Concepts
 
Comuputer processor
Comuputer processorComuputer processor
Comuputer processor
 
Data transfer and manipulation
Data transfer and manipulationData transfer and manipulation
Data transfer and manipulation
 
computer Architecture
computer Architecturecomputer Architecture
computer Architecture
 
CS4109 Computer System Architecture
CS4109 Computer System ArchitectureCS4109 Computer System Architecture
CS4109 Computer System Architecture
 
Computer Organisation & Architecture (chapter 1)
Computer Organisation & Architecture (chapter 1) Computer Organisation & Architecture (chapter 1)
Computer Organisation & Architecture (chapter 1)
 
Computer Organization and Architecture.
Computer Organization and Architecture.Computer Organization and Architecture.
Computer Organization and Architecture.
 
Computer organization & architecture chapter-1
Computer organization & architecture chapter-1Computer organization & architecture chapter-1
Computer organization & architecture chapter-1
 
Computer architecture and organization
Computer architecture and organizationComputer architecture and organization
Computer architecture and organization
 
Basic Computer Architecture
Basic Computer ArchitectureBasic Computer Architecture
Basic Computer Architecture
 
General register organization (computer organization)
General register organization  (computer organization)General register organization  (computer organization)
General register organization (computer organization)
 
Chapter 01 - Introduction
Chapter 01 - IntroductionChapter 01 - Introduction
Chapter 01 - Introduction
 
Microprocessor ppt
Microprocessor pptMicroprocessor ppt
Microprocessor ppt
 
Computer Organization and Architecture.pptx
Computer Organization and Architecture.pptxComputer Organization and Architecture.pptx
Computer Organization and Architecture.pptx
 
Computer organization basics
Computer organization  basicsComputer organization  basics
Computer organization basics
 

Ähnlich wie EE5440 – Computer Architecture - Lecture 1

Module-1_Part_1 (1).pptx
Module-1_Part_1 (1).pptxModule-1_Part_1 (1).pptx
Module-1_Part_1 (1).pptxkumarloresh143
 
An Introduction To Python - Understanding Computers
An Introduction To Python - Understanding ComputersAn Introduction To Python - Understanding Computers
An Introduction To Python - Understanding ComputersBlue Elephant Consulting
 
Logic design and switching theory
Logic design and switching theoryLogic design and switching theory
Logic design and switching theoryjomerson remorosa
 
BCS 100: Introduction to Computer Science Lesson 3
BCS 100: Introduction to Computer Science Lesson 3BCS 100: Introduction to Computer Science Lesson 3
BCS 100: Introduction to Computer Science Lesson 3Ndubi Amos
 
Week 2 Course Material.pdf
Week 2 Course Material.pdfWeek 2 Course Material.pdf
Week 2 Course Material.pdfssuser0f6a72
 
Transforming data into information
Transforming data into informationTransforming data into information
Transforming data into informationMaryam Fida
 
Arithmetic Logic Unit (ALU)
Arithmetic Logic Unit (ALU)Arithmetic Logic Unit (ALU)
Arithmetic Logic Unit (ALU)Student
 
Basic Structure of Computers: Functional Units, Basic Operational Concepts, B...
Basic Structure of Computers: Functional Units, Basic Operational Concepts, B...Basic Structure of Computers: Functional Units, Basic Operational Concepts, B...
Basic Structure of Computers: Functional Units, Basic Operational Concepts, B...Abhishekn84
 
Ch01.pptxxxxxxxxxcxcxcxxccxxxxxxxxxxxcccccc
Ch01.pptxxxxxxxxxcxcxcxxccxxxxxxxxxxxccccccCh01.pptxxxxxxxxxcxcxcxxccxxxxxxxxxxxcccccc
Ch01.pptxxxxxxxxxcxcxcxxccxxxxxxxxxxxcccccctasheebedane
 
Transforming Data into Information
Transforming Data into InformationTransforming Data into Information
Transforming Data into InformationBint-e- Hawa
 
Chapter1 introduction to computer systems
Chapter1 introduction to computer systemsChapter1 introduction to computer systems
Chapter1 introduction to computer systemsMuhammad Waqas
 
fundamentalofcomputers-postaldeptt-150308230655-conversion-gate01.pdf
fundamentalofcomputers-postaldeptt-150308230655-conversion-gate01.pdffundamentalofcomputers-postaldeptt-150308230655-conversion-gate01.pdf
fundamentalofcomputers-postaldeptt-150308230655-conversion-gate01.pdfAlihaAzmat1
 
introduction COA(M1).pptx
introduction COA(M1).pptxintroduction COA(M1).pptx
introduction COA(M1).pptxBhavanaMinchu
 
Dpsd course introduction
Dpsd  course introductionDpsd  course introduction
Dpsd course introductionPragadeswaranS
 
Module -4_microprocessor (1).pptx
Module -4_microprocessor (1).pptxModule -4_microprocessor (1).pptx
Module -4_microprocessor (1).pptxDrVaibhavMeshram
 

Ähnlich wie EE5440 – Computer Architecture - Lecture 1 (20)

Module-1_Part_1 (1).pptx
Module-1_Part_1 (1).pptxModule-1_Part_1 (1).pptx
Module-1_Part_1 (1).pptx
 
An Introduction To Python - Understanding Computers
An Introduction To Python - Understanding ComputersAn Introduction To Python - Understanding Computers
An Introduction To Python - Understanding Computers
 
DLD-unit-1(2022).pdf
DLD-unit-1(2022).pdfDLD-unit-1(2022).pdf
DLD-unit-1(2022).pdf
 
Logic design and switching theory
Logic design and switching theoryLogic design and switching theory
Logic design and switching theory
 
BCS 100: Introduction to Computer Science Lesson 3
BCS 100: Introduction to Computer Science Lesson 3BCS 100: Introduction to Computer Science Lesson 3
BCS 100: Introduction to Computer Science Lesson 3
 
Week 2 Course Material.pdf
Week 2 Course Material.pdfWeek 2 Course Material.pdf
Week 2 Course Material.pdf
 
Transforming data into information
Transforming data into informationTransforming data into information
Transforming data into information
 
Arithmetic Logic Unit (ALU)
Arithmetic Logic Unit (ALU)Arithmetic Logic Unit (ALU)
Arithmetic Logic Unit (ALU)
 
Basic Structure of Computers: Functional Units, Basic Operational Concepts, B...
Basic Structure of Computers: Functional Units, Basic Operational Concepts, B...Basic Structure of Computers: Functional Units, Basic Operational Concepts, B...
Basic Structure of Computers: Functional Units, Basic Operational Concepts, B...
 
Ch01.pptxxxxxxxxxcxcxcxxccxxxxxxxxxxxcccccc
Ch01.pptxxxxxxxxxcxcxcxxccxxxxxxxxxxxccccccCh01.pptxxxxxxxxxcxcxcxxccxxxxxxxxxxxcccccc
Ch01.pptxxxxxxxxxcxcxcxxccxxxxxxxxxxxcccccc
 
Transforming Data into Information
Transforming Data into InformationTransforming Data into Information
Transforming Data into Information
 
Chapter1 introduction to computer systems
Chapter1 introduction to computer systemsChapter1 introduction to computer systems
Chapter1 introduction to computer systems
 
Unit 3 The processor
Unit 3 The processorUnit 3 The processor
Unit 3 The processor
 
fundamentalofcomputers-postaldeptt-150308230655-conversion-gate01.pdf
fundamentalofcomputers-postaldeptt-150308230655-conversion-gate01.pdffundamentalofcomputers-postaldeptt-150308230655-conversion-gate01.pdf
fundamentalofcomputers-postaldeptt-150308230655-conversion-gate01.pdf
 
introduction COA(M1).pptx
introduction COA(M1).pptxintroduction COA(M1).pptx
introduction COA(M1).pptx
 
Fundamental of Computers
Fundamental of ComputersFundamental of Computers
Fundamental of Computers
 
Dpsd course introduction
Dpsd  course introductionDpsd  course introduction
Dpsd course introduction
 
Arithmetic & Logic Unit
Arithmetic & Logic UnitArithmetic & Logic Unit
Arithmetic & Logic Unit
 
THE PROCESSOR
THE PROCESSORTHE PROCESSOR
THE PROCESSOR
 
Module -4_microprocessor (1).pptx
Module -4_microprocessor (1).pptxModule -4_microprocessor (1).pptx
Module -4_microprocessor (1).pptx
 

Mehr von Dilawar Khan

EE5440 – Computer Architecture - Lecture 3
EE5440 – Computer Architecture - Lecture 3EE5440 – Computer Architecture - Lecture 3
EE5440 – Computer Architecture - Lecture 3Dilawar Khan
 
EE5440 – Computer Architecture - Lecture 2
EE5440 – Computer Architecture - Lecture 2EE5440 – Computer Architecture - Lecture 2
EE5440 – Computer Architecture - Lecture 2Dilawar Khan
 
CS7330 - Electronic Commerce - lecture (3)
CS7330 - Electronic Commerce - lecture (3)CS7330 - Electronic Commerce - lecture (3)
CS7330 - Electronic Commerce - lecture (3)Dilawar Khan
 
CS7330 - Electronic Commerce - lecture (2)
CS7330 - Electronic Commerce - lecture (2)CS7330 - Electronic Commerce - lecture (2)
CS7330 - Electronic Commerce - lecture (2)Dilawar Khan
 
CS3270 - DATABASE SYSTEM - Lecture (2)
CS3270 - DATABASE SYSTEM - Lecture (2)CS3270 - DATABASE SYSTEM - Lecture (2)
CS3270 - DATABASE SYSTEM - Lecture (2)Dilawar Khan
 
CS4443 - Modern Programming Language - I Lecture (2)
CS4443 - Modern Programming Language - I  Lecture (2)CS4443 - Modern Programming Language - I  Lecture (2)
CS4443 - Modern Programming Language - I Lecture (2)Dilawar Khan
 
CS3270 - DATABASE SYSTEM - Lecture (1)
CS3270 - DATABASE SYSTEM -  Lecture (1)CS3270 - DATABASE SYSTEM -  Lecture (1)
CS3270 - DATABASE SYSTEM - Lecture (1)Dilawar Khan
 
EE5440 – Computer Architecture Course Outline
EE5440 – Computer Architecture Course OutlineEE5440 – Computer Architecture Course Outline
EE5440 – Computer Architecture Course OutlineDilawar Khan
 
CS4443 - Modern Programming Language I
CS4443 - Modern Programming Language ICS4443 - Modern Programming Language I
CS4443 - Modern Programming Language IDilawar Khan
 
CS3270 – Database Systems Course Outline
CS3270 – Database Systems Course OutlineCS3270 – Database Systems Course Outline
CS3270 – Database Systems Course OutlineDilawar Khan
 
CS7330 Electronic Commerce Course Outline
CS7330 Electronic Commerce Course OutlineCS7330 Electronic Commerce Course Outline
CS7330 Electronic Commerce Course OutlineDilawar Khan
 
CS4443 - Modern Programming Language - I Lecture (1)
CS4443 - Modern Programming Language - I Lecture (1)CS4443 - Modern Programming Language - I Lecture (1)
CS4443 - Modern Programming Language - I Lecture (1)Dilawar Khan
 
CS7330 - Electronic Commerce - lecture (1)
CS7330 - Electronic Commerce - lecture (1)CS7330 - Electronic Commerce - lecture (1)
CS7330 - Electronic Commerce - lecture (1)Dilawar Khan
 

Mehr von Dilawar Khan (13)

EE5440 – Computer Architecture - Lecture 3
EE5440 – Computer Architecture - Lecture 3EE5440 – Computer Architecture - Lecture 3
EE5440 – Computer Architecture - Lecture 3
 
EE5440 – Computer Architecture - Lecture 2
EE5440 – Computer Architecture - Lecture 2EE5440 – Computer Architecture - Lecture 2
EE5440 – Computer Architecture - Lecture 2
 
CS7330 - Electronic Commerce - lecture (3)
CS7330 - Electronic Commerce - lecture (3)CS7330 - Electronic Commerce - lecture (3)
CS7330 - Electronic Commerce - lecture (3)
 
CS7330 - Electronic Commerce - lecture (2)
CS7330 - Electronic Commerce - lecture (2)CS7330 - Electronic Commerce - lecture (2)
CS7330 - Electronic Commerce - lecture (2)
 
CS3270 - DATABASE SYSTEM - Lecture (2)
CS3270 - DATABASE SYSTEM - Lecture (2)CS3270 - DATABASE SYSTEM - Lecture (2)
CS3270 - DATABASE SYSTEM - Lecture (2)
 
CS4443 - Modern Programming Language - I Lecture (2)
CS4443 - Modern Programming Language - I  Lecture (2)CS4443 - Modern Programming Language - I  Lecture (2)
CS4443 - Modern Programming Language - I Lecture (2)
 
CS3270 - DATABASE SYSTEM - Lecture (1)
CS3270 - DATABASE SYSTEM -  Lecture (1)CS3270 - DATABASE SYSTEM -  Lecture (1)
CS3270 - DATABASE SYSTEM - Lecture (1)
 
EE5440 – Computer Architecture Course Outline
EE5440 – Computer Architecture Course OutlineEE5440 – Computer Architecture Course Outline
EE5440 – Computer Architecture Course Outline
 
CS4443 - Modern Programming Language I
CS4443 - Modern Programming Language ICS4443 - Modern Programming Language I
CS4443 - Modern Programming Language I
 
CS3270 – Database Systems Course Outline
CS3270 – Database Systems Course OutlineCS3270 – Database Systems Course Outline
CS3270 – Database Systems Course Outline
 
CS7330 Electronic Commerce Course Outline
CS7330 Electronic Commerce Course OutlineCS7330 Electronic Commerce Course Outline
CS7330 Electronic Commerce Course Outline
 
CS4443 - Modern Programming Language - I Lecture (1)
CS4443 - Modern Programming Language - I Lecture (1)CS4443 - Modern Programming Language - I Lecture (1)
CS4443 - Modern Programming Language - I Lecture (1)
 
CS7330 - Electronic Commerce - lecture (1)
CS7330 - Electronic Commerce - lecture (1)CS7330 - Electronic Commerce - lecture (1)
CS7330 - Electronic Commerce - lecture (1)
 

Kürzlich hochgeladen

Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppCeline George
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpinRaunakKeshri1
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 

Kürzlich hochgeladen (20)

Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
Staff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSDStaff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSD
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website App
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpin
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 

EE5440 – Computer Architecture - Lecture 1

  • 1. EE5440 COMPUTER ARCHITECTURE Mr. Dilawar Lecturer, Computer Science Faculty, Bakhtar University Kabul, Afghanistan.
  • 2. Course Objectives After successfully completing this course, you will be able to: • Understand the design of computer system and its components. • Understand different CPU design, ISA, addressing, and microprogramming. • Understand different memory management and I/O strategies and techniques.
  • 3. Course Outline • Basic Structure of Computers • Instruction Set Architecture • Basic I/O • I/O Organization • Basic Processing Unit • Computer Arithmetic • The Memory System
  • 4. Text Books to Follow • Computer Organization and Embedded Systems by C Hamacher, 6th Edition 2012. • Computer Organization and Architecture: Designing for Performance, by William Stallings 8th Edition, Prentice Hall. • Structured Computer Organization by Andrew S Tanenbaum 5th Edition.
  • 5. Basic Structure of Computers Chapter 1
  • 6. Lecture Outline • The different types of computers • The basic structure of a computer and its operation • Machine instructions and their execution • Integer, floating-point, and character representations • Addition and subtraction of binary numbers • Basic performance issues in computer systems • A brief history of computer development
  • 7. Computer Types • Since their introduction in the 1940s, digital computers have evolved into different types • Sze, cost, computational power, and intended use. • Modern computers can be divided into below categories • Embedded Computers • Personal Computers • Servers and Enterprise Systems • Supercomputers and Grid Computers • Emerging trend in access to computing facilities – cloud computing.
  • 8. Functional Units • Five functional parts • Input, memory, ALU, output, and CU. • Interconnection network • Exchange information and coordinate their actions.
  • 9. Functional Units • Information handled by computer • Instruction or data. • Instructions, are explicit commands • Transmission of information • Specify the AL operations. • Program, is a list of instructions which performs a task. • Data are numbers and characters used as operand by the instructions.
  • 10. Functional Units • Instructions must be encoded in a suitable format. • Most recent H/W employs digital circuits that have only two states. • Everything is encoded as string of binary digits called bits. • Having one of two values, 0 or 1.
  • 11. Functional Units Input Unit • Computers accept coded information though input units. • Keyboard, touchpad, mouse, joystick, and trackball. • Digital communication facilities, such as internet, can also provide input to a computer.
  • 12. Functional Units Memory Unit • Primary memory, also called main memory, is a fast memory that operates at electronic speeds. • Programs are stored while being executed. • Consist of large number of semiconductor storage cells, each capable of storing one bit of information. • Handled in groups of fixed size called words. • Number of bits in each word is referred to as word length, typically 16, 32, or 64 bits. • For access, each word in memory has a distinct address.
  • 13. Functional Units Memory Unit • Instructions and data can be written or read under the control of processor. • A memory in which any memory location can be accessed in a short of fixed amount of time after specifying its address is called RAM. • Memory access time, time required to access one word. • From few to 100ns – Independent of the location of word being accessed.
  • 14. Functional Units Cache Memory • Smaller, faster RAM unit, called cache. • Used to hold sections of a program that are currently being executed, along with any associated data. • Tightly coupled with the processor and is usually contained on the same integrated-circuit chip. • Suppose, execution of a number of execution in a program loop. • Cache hit and Cache miss operations.
  • 15. Functional Units Secondary Storage • Although primary memory is essential, expensive, and volatile. • Thus additional, less expensive, permanent secondary storage is used for large amount of data storage. • Access times are longer than as compare to primary memory. • Wide selection of devices such as • Magnetic disks, optical disks (DVD and CD), and flash memory devices.
  • 16. Functional Units Arithmetic and Logic Unit • Most computer operations are executed in ALU of the processor. • addition, subtraction, multiplication, division, or comparison of numbers. • When operands are brought into the processor, they are stored in high-speed storage elements called registers. • Access time is shorter as compare to other storage systems.
  • 17. Functional Units Output Unit • Counterpart of the input unit. • Sends processed results to the outside world such as printer and graphic displays. • Often, looks sometimes comes with dual functionality, I/O units.
  • 18. Functional Units Control Unit • The coordination of all the above units are handled through CU. • It is like a nerve center that sends control signals to other units and senses their states. • Processing cycle is all managed by control unit.
  • 19. Basic Operational Concepts • We have learned, • Activity is governed through instructions. • For performing a task, program is loaded into memory. • Individual instructions are brought to the processor for processing. • A typical instruction might be MOV R2, LOC ADD R4, R3 MOV LOC, R4
  • 20. Basic Operational Concepts • IR holds the instruction that is currently being executed. • PC contains the memory address of the next instruction to be fetched and executed. • R0 through Rn-1 are general purpose registers. • The processor-memory interface sends read and write control signals. • Use of interrupt signal and interrupt- service routine.
  • 21. Number Representation and Arithmetic Operations • The most natural way to represent a number in a computer system is by a string of bits, called a binary number. • We will have discussion on binary representation for Integers as its arithmetic operations and then floating-point numbers.
  • 22. Integers • A bit is the most basic unit of information in a computer. • It is a state of “on” or “off” in a digital circuit. • Or “high” or “low” voltage instead of “on” or “off.” • A byte is a group of eight bits. • A byte is the smallest possible addressable unit of computer storage. • A word is a contiguous group of bytes • Word sizes of 16, 32, or 64 bits are most common. • Usually a word represents a number or instruction.
  • 23. Integers • Start with the least significant bit (rightmost bit) • Add each pair of bits • Include the carry in the addition, if present 0 0 0 0 0 1 1 1 0 0 0 0 0 1 0 0 + 0 0 0 0 1 0 1 1 1 (4) (7) (11) carry: 01234bit position: 567
  • 24. Integers • There are three ways in which signed binary numbers may be expressed: • Signed magnitude, • One’s complement and • Two’s complement. • In an 8-bit word, signed magnitude representation places the absolute value of the number in the 7 bits to the right of the sign bit.
  • 25. Integers • Highest bit indicates the sign. 1 = negative, 0 = positive 1 1 1 1 0 1 1 0 0 0 0 0 1 0 1 0 sign bit Negative Positive
  • 26. Integers • Binary addition is as easy as it gets. You need to know only four rules: 0 + 0 = 0 0 + 1 = 1 1 + 0 = 1 1 + 1 = 10 • The simplicity of this system makes it possible for digital circuits to carry out arithmetic operations. • We will describe these circuits in Chapter 3. 26 Let’s see how the addition rules work with signed magnitude numbers . . .
  • 27. Integers • Example: • Using signed magnitude binary arithmetic, find the sum of 75 and 46. • First, convert 75 and 46 to binary, and arrange as a sum, but separate the (positive) sign bits from the magnitude bits. 27 In this example, we were careful careful to pick two values whose sum would fit into seven bits. If that is not the case, we have a problem.
  • 28. Integers • Example: • Using signed magnitude binary arithmetic, find the sum of 107 and 46. • We see that the carry from the seventh bit overflows and is discarded, giving us the erroneous result: 107 + 46 = 25.
  • 29. Integers • Signed magnitude representation is easy for people to understand, but it requires complicated computer hardware. • Another disadvantage of signed magnitude is that it allows two different representations for zero: positive zero and negative zero. • For these reasons (among others) computers systems employ complement systems for numeric value representation. 29
  • 30. Integers • In complement systems, negative values are represented by some difference between a number and its base. • In diminished radix complement systems, a negative value is given by the difference between the absolute value of a number and one less than its base. • In the binary system, this gives us one’s complement. It amounts to little more than flipping the bits of a binary number. 30
  • 31. Integers • For example, in 8-bit one’s complement; • + 3 is: 00000011 • - 3 is: 11111100 • In one’s complement, as with signed magnitude, negative values are indicated by a 1 in the high order bit. • Complement systems are useful because they eliminate the need for special circuitry for subtraction. The difference of two values is found by adding the minuend to the complement of the subtrahend.
  • 32. Integers • With one’s complement addition, the carry bit is “carried around” and added to the sum. • Example: Using one’s complement binary arithmetic, find the sum of 48 and - 19 We note that 19 in one’s complement is 00010011, so -19 in one’s complement is: 11101100.
  • 33. Integers • Although the “end carry around” adds some complexity, one’s complement is simpler to implement than signed magnitude. • But it still has the disadvantage of having two different representations for zero: positive zero and negative zero. • Two’s complement solves this problem. • Two’s complement is the radix complement of the binary numbering system.
  • 34. Integers • To express a value in two’s complement: • If the number is positive, just convert it to binary and you’re done. • If the number is negative, find the one’s complement of the number and then add 1. • Example: • In 8-bit one’s complement, positive 3 is: 0 0 0 0 0 0 1 1 • Negative 3 in one’s complement is: 1 1 1 1 1 1 0 0 • Adding 1 gives us -3 in two’s complement form: 11111101.
  • 35. Integers starting value 00100100 = +36 step1: reverse the bits (1's complement) 11011011 step 2: add 1 to the value from step 1 + 1 sum = 2's complement representation 11011100 = -36 Sum of an integer and its 2's complement must be zero: 00100100 + 11011100 = 00000000 (8-bit sum)  Ignore Carry The easiest way to obtain the 2's complement of a binary number is by starting at the LSB, leaving all the 0s unchanged, look for the first occurrence of a 1. Leave this 1 unchanged and complement all the bits after it.
  • 36. Integers • With two’s complement arithmetic, all we do is add our two binary numbers. Just discard any carries emitting from the high order bit. We note that 19 in one’s complement is: 00010011, so -19 in one’s complement is: 11101100, and -19 in two’s complement is: 11101101. – Example: Using one’s complement binary arithmetic, find the sum of 48 and - 19.
  • 37. Integers • When we use any finite number of bits to represent a number, we always run the risk of the result of our calculations becoming too large to be stored in the computer. • While we can’t always prevent overflow, we can always detect overflow. • In complement arithmetic, an overflow condition is easy to detect.
  • 38. Integers • Example: • Using two’s complement binary arithmetic, find the sum of 107 and 46. • We see that the nonzero carry from the seventh bit overflows into the sign bit, giving us the erroneous result: 107 + 46 = -103. Rule for detecting two’s complement overflow: When the “carry in” and the “carry out” of the sign bit differ, overflow has occurred.
  • 39. Integers • When subtracting A – B, convert B to its 2's complement • Add A to (–B) 0 0 0 0 1 1 0 0 0 0 0 0 1 1 0 0 0 0 0 0 0 0 1 0 1 1 1 1 1 1 1 0 (2's complement) 0 0 0 0 1 0 1 0 0 0 0 0 1 0 1 0 (same result) – + • Carry is ignored, because • Negative number is sign-extended with 1's • You can imagine infinite 1's to the left of a negative number • Adding the carry to the extended 1's produces extended zeros
  • 40. Character Representation • ASCII is the most common encoding schema for characters. • Alphanumeric characters, operators, punctuation symbols, and control characters are represented by 7-bit codes. • A byte is used for the representation and storage. • The sequential increasing order of codes (alphabets and numeric) when changed to unsigned binary describes sorting operation. • The low-order four bits of the ASCII describes BCD code. • Code for 0 to 9 decimal digits.
  • 41. Performance • Measure of performance is how quickly it executes program. • Design of its instruction set, hardware and software, including OS and the technology in which the hardware is implemented. • By technology, processor and system organization – This section.
  • 42. Performance • Technology • VLSI is a critical factor of the speed of execution of machine instruction. • Switching between 0 and 1 in logic circuits is determined by size of transistors used. • Smaller transistors switch faster • Instructions can be executed faster and more transistors can be placed, leading to more logic functionality and more memory storage capacity. • Advances in fabrication technology over several decades have reduced transistor sizes dramatically.
  • 43. Performance • Parallelism • Performing number of operations in parallel. • Instruction-Level Parallelism – Pipelining. • complete all steps of the current instruction before starting the steps of the next instruction – execution of a sequence of instructions. • overlapping the execution of the steps of successive instruction to reduced total execution time. • Multicore Processors • Multiple processing units (core) on a single chip. • Dual-core, quad-core, and octo-core processors for chips having 2, 4, and 8 cores respectively.
  • 44. Performance • Parallelism • Multiprocessors • Many processors, each possibly containing multiple cores. • Shared-Memory multiprocessor. • In contrast, It is also possible to use an interconnected group of complete computers to achieve high total computational power. • Message-Passing multicomputer.
  • 45. Summery • The different types of computers • The basic structure of a computer and its operation • Machine instructions and their execution • Integer, floating-point, and character representations • Addition and subtraction of binary numbers • Basic performance issues in computer systems • A brief history of computer development
  • 46. Thank You For your Patience