SlideShare uma empresa Scribd logo
1 de 43
A Top-Level View of
Computer Function
and Interconnection
• This chapter focuses on the basic
  structures used for computer component
  interconnection. As background, the
  chapter begins with a brief examination of
  the basic components and their interface
  requirements. Then a functional overview is
  provided. And also examined the use of
Computer Components
• The Control Unit and the Arithmetic and
  Logic Unit constitute the Central
  Processing Unit
• Data and instructions need to get into the
  system and results out
  – Input/output
• Temporary storage of code and results is
  needed
  – Main memory
Von Neumann Architecture
• Data and Instructions are stored in a
  single read-write memory.
• The contents of this memory are
  addressable by location, without regard to
  the type of data contained there.
• Execution occurs in a sequential fashion
  (unless explicitly modified) from one
  instruction to the next.
Hardware and Software
     Approaches
More Components
• I/O Components: a module that accepts
  data, and instructions and converts them
  into instruction signals usable by the
  system. It can also report results in the
  form of an output module.
• Memory: A place to store instructions and
  data temporarily. (Von Neumann pointed
  out that the same memory could be used
  to store both instructions and data).
Computer Components:
   Top Level View
Computer Function

       The basic function performed by a computer
is execution of a program, which consists of set of
instructions stored in memory. The processor does
the actual work by executing instructions specified
in the program. This section provides an overview
of the key elements of the program execution. In
its simplest form, instruction processing consists of
two steps: The processor reads (fetches)
instructions from the memory one at a time and
execute each instruction.
Fetch Cycle
• Program Counter (PC) holds address of
  next instruction to fetch
• Processor fetches instruction from
  memory location pointed to by PC
• Increment PC
  – Unless told otherwise
• Instruction loaded into Instruction Register
  (IR)
• Processor interprets instruction and
  performs required actions
Execute Cycle
• Processor-memory
  – data transfer between CPU and main memory
• Processor I/O
  – Data transfer between CPU and I/O module
• Data processing
  – Some arithmetic or logical operation on data
• Control
  – Alteration of sequence of operations
  – e.g. jump to other location
Basic Instruction Cycle
Instruction Cycle State Diagram
Interrupts
A mechanism by which other modules
 may interrupt the normal processing of the
 processor.

Classes of Interrupts
Program: Generated by some condition
 that occurs as a result of an instruction
 execution, such as arithmetic overflow,
 division by zero, attempt to execute an
 illegal machine instruction, or reference
 outside a user’s allowed memory space..
Interrupts (cont.)
• Timer: Generated by a timer within the
  processor. This allows the operating
  system to perform certain functions on a
  regular basis.
• I/O: Generated by an I/O controller, to
  signal normal completion of an operation
  or to signal a variety of error conditions.
• Hardware Failure: Generated by failure
  such as power failure or memory parity
  error.
Interrupts.. Why bother?
• Without the use of interrupts, once this
  command is issued, the program must
  wait for the I/O device to perform the
  requested function. The program might
  wait by simply repeatedly performing a
  test operation to determine if the I/O
  operation is done.
Interrupt Cycle
• Added to instruction cycle
• Processor checks for interrupt
   – Indicated by an interrupt signal
• If no interrupt, fetch next instruction
• If interrupt pending:
   – Suspend execution of current program
   – Save context
   – Set PC to start address of interrupt handler
      routine
   – Process interrupt
   – Restore context and continue interrupted
      program
PROGRAM FLOW OF CONTROL
WITHOUT AND WITH INTERRUPTS
Instruction Cycle with Interrupts
Multiple Interrupts
• Disable interrupts
   – Processor will ignore further interrupts whilst
     processing one interrupt
   – Interrupts remain pending and are checked after first
     interrupt has been processed
   – Interrupts handled in sequence as they occur
• Define priorities
   – Low priority interrupts can be interrupted by higher
     priority interrupts
   – When higher priority interrupt has been processed,
     processor returns to previous interrupt
Instruction Cycle (with Interrupts) -
           State Diagram
Transfer of Controls with
   Multiple Interrupts
Interconnection Structure
  – The collection of paths connecting the various
  modules. The design of this structure will
    depend on the exchanges that must be made
    between modules.

     The computer consists of a set of
components or modules of three basic types
(processor, memory, I/O) that communicate
with each other. In effect, computer is a
network of basic modules. Thus, there must
be paths for connecting the modules.
Interconnection Structure (cont.)
•Memory: Typically, a memory module will
consists of N words of equal length. Each word is
assigned a unique numerical address
(0,1………..N-1)
•I/O module: From an internal (to the computer
system) point of view, I/O is functionally similar to
memory. Two operations: read and write.
•Processor: reads in instructions and data, writes
out data after processing, and uses control signals
to control overall operation of the system. It also
receives interrupt signals.
Interconnection Structure (cont.)
Buses
• There are a number of possible
  interconnection systems
• Single and multiple BUS structures are
  most common
• e.g. Control/Address/Data bus (PC)
• e.g. Unibus (DEC-PDP)
What is a Bus?
• A communication pathway connecting two
  or more devices
• Usually broadcast
• Often grouped
  – A number of channels in one bus
  – e.g. 32 bit data bus is 32 separate single bit
    channels
• Power lines may not be shown
Bus Structure
•Consists from about to 50 to hundreds of
separate lines.
•Each line is assigned a particular meaning
or function.
•3 functional groups:
  – Data lines
  – Address lines
  – Control lines
Data Bus
• Carries data
  – Remember that there is no difference
    between “data” and “instruction” at this level
• Path for moving data between system
  modules.
Address bus
• Identify the source or destination of data
  on the data bus
• e.g. CPU needs to read an instruction
  (data) from a given location in memory
Control Bus
• Control and timing information
  – Memory read/write signal
  – Interrupt request
  – Clock signals
Physical Realization of Bus
       Architecture
Traditional Bus
High Performance Bus
Elements of Bus Design

Type: Dedicated, Multiplexed
Method of Arbitration: Distributed, Centralized
Timing: Synchronous, Asynchronous
Bus Width : Address, Data
Data Transfer Type
           Read
           Write
           Read-modify-write
           Read-after-write
           Block
Bus Types
• Dedicated
  – Separate data & address lines
  – Permanently assigned either to one function
    or to physical subset of computer components
• Multiplexed
  – Shared lines
  – Address valid or data valid control line
  – Advantage - fewer lines
  – Disadvantages
     • More complex control
     • Ultimate performance
Method of Arbitration
•Centralized
  – Bus controller or arbiter is
    responsible for allocating time on the
    bus.
•Distributed
  – There is no central controller.
Timing
•Synchronous
  -The occurrence of events on the bus is
  determined by a clock.
•Asynchronous
  -The occurrence of one event on a bus
  follows and depends on the occurrence of
  previous event.
Bus Width

  – The width of the data bus has an impact on
   system performance. The wider the data bus,
   the greater the number of bits transferred at
   one time. The width of the address bus has
   an impact on system capacity. The wider the
   address bus, the greater the range of
   locations that can be referenced.
Data Transfer Types
PCI(Peripheral Component
       Interconnect) Bus
• is a computer bus for attaching hardware
  devices in a computer. The PCI bus
  supports the functions found on a
  processor bus, but in a standardized
  format that is independent of any
  particular processor. Devices connected
  to the bus appear to the processor to be
  connected directly to the processor bus,
  and are assigned addresses in the
  processor's address space.
PCI Bus Lines (required)
• Systems lines
  – Including clock and reset
• Address & Data
  – 32 time mux lines for address/data
  – Interrupt & validate lines
• Interface Control
• Arbitration
  – Not shared
  – Direct connection to PCI bus arbiter
• Error lines
PCI Bus Lines (Optional)
• Interrupt lines
  – Not shared
• Cache support
• 64-bit Bus Extension
  – Additional 32 lines
  – Time multiplexed
  – 2 lines to enable devices to agree to use 64-
    bit transfer
• JTAG/Boundary Scan
  – For testing procedures

Mais conteúdo relacionado

Mais procurados

03 top level view of computer function and interconnection
03 top level view of computer function and interconnection03 top level view of computer function and interconnection
03 top level view of computer function and interconnectionSher Shah Merkhel
 
Chapter 01 - Introduction
Chapter 01 - IntroductionChapter 01 - Introduction
Chapter 01 - IntroductionCésar de Souza
 
Chapter 3 - Top Level View of Computer / Function and Interconection
Chapter 3 - Top Level View of Computer / Function and InterconectionChapter 3 - Top Level View of Computer / Function and Interconection
Chapter 3 - Top Level View of Computer / Function and InterconectionCésar de Souza
 
Wk 4 top_level_view_of_computer_function_and_interconnection
Wk 4 top_level_view_of_computer_function_and_interconnectionWk 4 top_level_view_of_computer_function_and_interconnection
Wk 4 top_level_view_of_computer_function_and_interconnectionlimyamahgoub
 
Input/Output System (Part 2)
Input/Output System (Part 2) Input/Output System (Part 2)
Input/Output System (Part 2) Ajeng Savitri
 
Computer function-and-interconnection 3
Computer function-and-interconnection 3Computer function-and-interconnection 3
Computer function-and-interconnection 3Mujaheed Sulantingan
 
Unit 5 lect-3-multiprocessor
Unit 5 lect-3-multiprocessorUnit 5 lect-3-multiprocessor
Unit 5 lect-3-multiprocessorvishal choudhary
 
Computer Architecture Design (CAD)
Computer Architecture Design (CAD)Computer Architecture Design (CAD)
Computer Architecture Design (CAD)Saira Kanwal
 
Input output in computer Orgranization and architecture
Input output in computer Orgranization and architectureInput output in computer Orgranization and architecture
Input output in computer Orgranization and architecturevikram patel
 
Computer System Architecture
Computer System ArchitectureComputer System Architecture
Computer System ArchitectureBrenda Debra
 
Unit 4-input-output organization
Unit 4-input-output organizationUnit 4-input-output organization
Unit 4-input-output organizationvishal choudhary
 
Computer organization basics and number systems
Computer organization basics and number systemsComputer organization basics and number systems
Computer organization basics and number systemsPrasenjit Dey
 
Unit 4-lecte3-io interface
Unit 4-lecte3-io interfaceUnit 4-lecte3-io interface
Unit 4-lecte3-io interfacevishal choudhary
 

Mais procurados (18)

03 top level view of computer function and interconnection
03 top level view of computer function and interconnection03 top level view of computer function and interconnection
03 top level view of computer function and interconnection
 
Chapter 01 - Introduction
Chapter 01 - IntroductionChapter 01 - Introduction
Chapter 01 - Introduction
 
Chapter 3 - Top Level View of Computer / Function and Interconection
Chapter 3 - Top Level View of Computer / Function and InterconectionChapter 3 - Top Level View of Computer / Function and Interconection
Chapter 3 - Top Level View of Computer / Function and Interconection
 
Wk 4 top_level_view_of_computer_function_and_interconnection
Wk 4 top_level_view_of_computer_function_and_interconnectionWk 4 top_level_view_of_computer_function_and_interconnection
Wk 4 top_level_view_of_computer_function_and_interconnection
 
Input/Output System (Part 2)
Input/Output System (Part 2) Input/Output System (Part 2)
Input/Output System (Part 2)
 
Computer function-and-interconnection 3
Computer function-and-interconnection 3Computer function-and-interconnection 3
Computer function-and-interconnection 3
 
Unit 5 lect-3-multiprocessor
Unit 5 lect-3-multiprocessorUnit 5 lect-3-multiprocessor
Unit 5 lect-3-multiprocessor
 
Unit 2
Unit 2Unit 2
Unit 2
 
07 Input Output
07  Input  Output07  Input  Output
07 Input Output
 
Computer Architecture Design (CAD)
Computer Architecture Design (CAD)Computer Architecture Design (CAD)
Computer Architecture Design (CAD)
 
Chapter 10
Chapter 10Chapter 10
Chapter 10
 
Input output in computer Orgranization and architecture
Input output in computer Orgranization and architectureInput output in computer Orgranization and architecture
Input output in computer Orgranization and architecture
 
03 Buses
03 Buses03 Buses
03 Buses
 
Computer System Architecture
Computer System ArchitectureComputer System Architecture
Computer System Architecture
 
Unit 4-input-output organization
Unit 4-input-output organizationUnit 4-input-output organization
Unit 4-input-output organization
 
Lecture 39
Lecture 39Lecture 39
Lecture 39
 
Computer organization basics and number systems
Computer organization basics and number systemsComputer organization basics and number systems
Computer organization basics and number systems
 
Unit 4-lecte3-io interface
Unit 4-lecte3-io interfaceUnit 4-lecte3-io interface
Unit 4-lecte3-io interface
 

Destaque

Computer Archetecture & Organization
Computer Archetecture & OrganizationComputer Archetecture & Organization
Computer Archetecture & OrganizationOmair Imtiaz Ansari
 
Hardware, software and systems approach to educational
Hardware, software and systems approach to educationalHardware, software and systems approach to educational
Hardware, software and systems approach to educationalAtul Thakur
 
Approaches in educational technology
Approaches in educational technologyApproaches in educational technology
Approaches in educational technologyFaKhalid
 
Computer System Overview,
Computer System Overview, Computer System Overview,
Computer System Overview, Sajid Marwat
 

Destaque (6)

Computer Archetecture & Organization
Computer Archetecture & OrganizationComputer Archetecture & Organization
Computer Archetecture & Organization
 
Input output module
Input output moduleInput output module
Input output module
 
Hardware, software and systems approach to educational
Hardware, software and systems approach to educationalHardware, software and systems approach to educational
Hardware, software and systems approach to educational
 
Approaches in educational technology
Approaches in educational technologyApproaches in educational technology
Approaches in educational technology
 
Input-Output Modules
Input-Output ModulesInput-Output Modules
Input-Output Modules
 
Computer System Overview,
Computer System Overview, Computer System Overview,
Computer System Overview,
 

Semelhante a Report in SAD

03_top-level-view-of-computer-function-and-interconnection.ppt
03_top-level-view-of-computer-function-and-interconnection.ppt03_top-level-view-of-computer-function-and-interconnection.ppt
03_top-level-view-of-computer-function-and-interconnection.pptAmirZaman21
 
03_Top Level View of Computer Function and Interconnection.ppt
03_Top Level View of Computer Function and Interconnection.ppt03_Top Level View of Computer Function and Interconnection.ppt
03_Top Level View of Computer Function and Interconnection.pptChABiDRazZaQ
 
Computer organization & architecture chapter-1
Computer organization & architecture chapter-1Computer organization & architecture chapter-1
Computer organization & architecture chapter-1Shah Rukh Rayaz
 
For students wk4_computer_function_and_interconnection
For students wk4_computer_function_and_interconnectionFor students wk4_computer_function_and_interconnection
For students wk4_computer_function_and_interconnectionlimyamahgoub
 
Computer system architecture
Computer system architectureComputer system architecture
Computer system architecturejeetesh036
 
Computer organisation and architecture module 1
Computer organisation and architecture module 1Computer organisation and architecture module 1
Computer organisation and architecture module 1abinrj123
 
Parallel Processing & Pipelining in Computer Architecture_Prof.Sumalatha.pptx
Parallel Processing & Pipelining in Computer Architecture_Prof.Sumalatha.pptxParallel Processing & Pipelining in Computer Architecture_Prof.Sumalatha.pptx
Parallel Processing & Pipelining in Computer Architecture_Prof.Sumalatha.pptxSumalatha A
 
What is operating system
What is operating systemWhat is operating system
What is operating systemSuvithak
 
Operating System BCA 301
Operating System BCA 301Operating System BCA 301
Operating System BCA 301cpjcollege
 
I/O systems chapter 12 OS
I/O systems chapter 12 OS I/O systems chapter 12 OS
I/O systems chapter 12 OS ssuser45ae56
 

Semelhante a Report in SAD (20)

03_top-level-view-of-computer-function-and-interconnection.ppt
03_top-level-view-of-computer-function-and-interconnection.ppt03_top-level-view-of-computer-function-and-interconnection.ppt
03_top-level-view-of-computer-function-and-interconnection.ppt
 
03_Top Level View of Computer Function and Interconnection.ppt
03_Top Level View of Computer Function and Interconnection.ppt03_Top Level View of Computer Function and Interconnection.ppt
03_Top Level View of Computer Function and Interconnection.ppt
 
03_Buses (1).ppt
03_Buses (1).ppt03_Buses (1).ppt
03_Buses (1).ppt
 
Cs intro-ca
Cs intro-caCs intro-ca
Cs intro-ca
 
Computer organization & architecture chapter-1
Computer organization & architecture chapter-1Computer organization & architecture chapter-1
Computer organization & architecture chapter-1
 
For students wk4_computer_function_and_interconnection
For students wk4_computer_function_and_interconnectionFor students wk4_computer_function_and_interconnection
For students wk4_computer_function_and_interconnection
 
ch4.ppt
ch4.pptch4.ppt
ch4.ppt
 
Computer system architecture
Computer system architectureComputer system architecture
Computer system architecture
 
ch1.pptx
ch1.pptxch1.pptx
ch1.pptx
 
Cao u1
Cao u1Cao u1
Cao u1
 
Computer Architecture
Computer ArchitectureComputer Architecture
Computer Architecture
 
Computer organisation and architecture module 1
Computer organisation and architecture module 1Computer organisation and architecture module 1
Computer organisation and architecture module 1
 
Parallel Processing & Pipelining in Computer Architecture_Prof.Sumalatha.pptx
Parallel Processing & Pipelining in Computer Architecture_Prof.Sumalatha.pptxParallel Processing & Pipelining in Computer Architecture_Prof.Sumalatha.pptx
Parallel Processing & Pipelining in Computer Architecture_Prof.Sumalatha.pptx
 
What is operating system
What is operating systemWhat is operating system
What is operating system
 
Operating System BCA 301
Operating System BCA 301Operating System BCA 301
Operating System BCA 301
 
Microprocessor
MicroprocessorMicroprocessor
Microprocessor
 
Ch 3 95
Ch 3 95Ch 3 95
Ch 3 95
 
Ch1 introduction
Ch1   introductionCh1   introduction
Ch1 introduction
 
Chap 3 CA.pptx
Chap 3 CA.pptxChap 3 CA.pptx
Chap 3 CA.pptx
 
I/O systems chapter 12 OS
I/O systems chapter 12 OS I/O systems chapter 12 OS
I/O systems chapter 12 OS
 

Último

AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfAMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfphamnguyenenglishnb
 
Karra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxKarra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxAshokKarra1
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4MiaBumagat1
 
Global Lehigh Strategic Initiatives (without descriptions)
Global Lehigh Strategic Initiatives (without descriptions)Global Lehigh Strategic Initiatives (without descriptions)
Global Lehigh Strategic Initiatives (without descriptions)cama23
 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxAnupkumar Sharma
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatYousafMalik24
 
4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptxmary850239
 
Culture Uniformity or Diversity IN SOCIOLOGY.pptx
Culture Uniformity or Diversity IN SOCIOLOGY.pptxCulture Uniformity or Diversity IN SOCIOLOGY.pptx
Culture Uniformity or Diversity IN SOCIOLOGY.pptxPoojaSen20
 
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomnelietumpap1
 
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxINTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxHumphrey A Beña
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Mark Reed
 
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...Nguyen Thanh Tu Collection
 
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfJemuel Francisco
 
ACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfSpandanaRallapalli
 
Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Jisc
 
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYKayeClaireEstoconing
 

Último (20)

AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfAMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
 
Karra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxKarra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptx
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4
 
Global Lehigh Strategic Initiatives (without descriptions)
Global Lehigh Strategic Initiatives (without descriptions)Global Lehigh Strategic Initiatives (without descriptions)
Global Lehigh Strategic Initiatives (without descriptions)
 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice great
 
4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx
 
Culture Uniformity or Diversity IN SOCIOLOGY.pptx
Culture Uniformity or Diversity IN SOCIOLOGY.pptxCulture Uniformity or Diversity IN SOCIOLOGY.pptx
Culture Uniformity or Diversity IN SOCIOLOGY.pptx
 
Raw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptxRaw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptx
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choom
 
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxINTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)
 
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
 
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
 
ACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdf
 
Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...
 
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptxFINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
 
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
 

Report in SAD

  • 1. A Top-Level View of Computer Function and Interconnection
  • 2. • This chapter focuses on the basic structures used for computer component interconnection. As background, the chapter begins with a brief examination of the basic components and their interface requirements. Then a functional overview is provided. And also examined the use of
  • 3. Computer Components • The Control Unit and the Arithmetic and Logic Unit constitute the Central Processing Unit • Data and instructions need to get into the system and results out – Input/output • Temporary storage of code and results is needed – Main memory
  • 4. Von Neumann Architecture • Data and Instructions are stored in a single read-write memory. • The contents of this memory are addressable by location, without regard to the type of data contained there. • Execution occurs in a sequential fashion (unless explicitly modified) from one instruction to the next.
  • 6. More Components • I/O Components: a module that accepts data, and instructions and converts them into instruction signals usable by the system. It can also report results in the form of an output module. • Memory: A place to store instructions and data temporarily. (Von Neumann pointed out that the same memory could be used to store both instructions and data).
  • 7. Computer Components: Top Level View
  • 8. Computer Function The basic function performed by a computer is execution of a program, which consists of set of instructions stored in memory. The processor does the actual work by executing instructions specified in the program. This section provides an overview of the key elements of the program execution. In its simplest form, instruction processing consists of two steps: The processor reads (fetches) instructions from the memory one at a time and execute each instruction.
  • 9. Fetch Cycle • Program Counter (PC) holds address of next instruction to fetch • Processor fetches instruction from memory location pointed to by PC • Increment PC – Unless told otherwise • Instruction loaded into Instruction Register (IR) • Processor interprets instruction and performs required actions
  • 10. Execute Cycle • Processor-memory – data transfer between CPU and main memory • Processor I/O – Data transfer between CPU and I/O module • Data processing – Some arithmetic or logical operation on data • Control – Alteration of sequence of operations – e.g. jump to other location
  • 13. Interrupts A mechanism by which other modules may interrupt the normal processing of the processor. Classes of Interrupts Program: Generated by some condition that occurs as a result of an instruction execution, such as arithmetic overflow, division by zero, attempt to execute an illegal machine instruction, or reference outside a user’s allowed memory space..
  • 14. Interrupts (cont.) • Timer: Generated by a timer within the processor. This allows the operating system to perform certain functions on a regular basis. • I/O: Generated by an I/O controller, to signal normal completion of an operation or to signal a variety of error conditions. • Hardware Failure: Generated by failure such as power failure or memory parity error.
  • 15. Interrupts.. Why bother? • Without the use of interrupts, once this command is issued, the program must wait for the I/O device to perform the requested function. The program might wait by simply repeatedly performing a test operation to determine if the I/O operation is done.
  • 16. Interrupt Cycle • Added to instruction cycle • Processor checks for interrupt – Indicated by an interrupt signal • If no interrupt, fetch next instruction • If interrupt pending: – Suspend execution of current program – Save context – Set PC to start address of interrupt handler routine – Process interrupt – Restore context and continue interrupted program
  • 17. PROGRAM FLOW OF CONTROL WITHOUT AND WITH INTERRUPTS
  • 19. Multiple Interrupts • Disable interrupts – Processor will ignore further interrupts whilst processing one interrupt – Interrupts remain pending and are checked after first interrupt has been processed – Interrupts handled in sequence as they occur • Define priorities – Low priority interrupts can be interrupted by higher priority interrupts – When higher priority interrupt has been processed, processor returns to previous interrupt
  • 20. Instruction Cycle (with Interrupts) - State Diagram
  • 21. Transfer of Controls with Multiple Interrupts
  • 22. Interconnection Structure – The collection of paths connecting the various modules. The design of this structure will depend on the exchanges that must be made between modules. The computer consists of a set of components or modules of three basic types (processor, memory, I/O) that communicate with each other. In effect, computer is a network of basic modules. Thus, there must be paths for connecting the modules.
  • 23. Interconnection Structure (cont.) •Memory: Typically, a memory module will consists of N words of equal length. Each word is assigned a unique numerical address (0,1………..N-1) •I/O module: From an internal (to the computer system) point of view, I/O is functionally similar to memory. Two operations: read and write. •Processor: reads in instructions and data, writes out data after processing, and uses control signals to control overall operation of the system. It also receives interrupt signals.
  • 25. Buses • There are a number of possible interconnection systems • Single and multiple BUS structures are most common • e.g. Control/Address/Data bus (PC) • e.g. Unibus (DEC-PDP)
  • 26. What is a Bus? • A communication pathway connecting two or more devices • Usually broadcast • Often grouped – A number of channels in one bus – e.g. 32 bit data bus is 32 separate single bit channels • Power lines may not be shown
  • 27. Bus Structure •Consists from about to 50 to hundreds of separate lines. •Each line is assigned a particular meaning or function. •3 functional groups: – Data lines – Address lines – Control lines
  • 28. Data Bus • Carries data – Remember that there is no difference between “data” and “instruction” at this level • Path for moving data between system modules.
  • 29. Address bus • Identify the source or destination of data on the data bus • e.g. CPU needs to read an instruction (data) from a given location in memory
  • 30. Control Bus • Control and timing information – Memory read/write signal – Interrupt request – Clock signals
  • 31. Physical Realization of Bus Architecture
  • 34. Elements of Bus Design Type: Dedicated, Multiplexed Method of Arbitration: Distributed, Centralized Timing: Synchronous, Asynchronous Bus Width : Address, Data Data Transfer Type  Read  Write  Read-modify-write  Read-after-write  Block
  • 35. Bus Types • Dedicated – Separate data & address lines – Permanently assigned either to one function or to physical subset of computer components • Multiplexed – Shared lines – Address valid or data valid control line – Advantage - fewer lines – Disadvantages • More complex control • Ultimate performance
  • 36. Method of Arbitration •Centralized – Bus controller or arbiter is responsible for allocating time on the bus. •Distributed – There is no central controller.
  • 37. Timing •Synchronous -The occurrence of events on the bus is determined by a clock. •Asynchronous -The occurrence of one event on a bus follows and depends on the occurrence of previous event.
  • 38. Bus Width – The width of the data bus has an impact on system performance. The wider the data bus, the greater the number of bits transferred at one time. The width of the address bus has an impact on system capacity. The wider the address bus, the greater the range of locations that can be referenced.
  • 40.
  • 41. PCI(Peripheral Component Interconnect) Bus • is a computer bus for attaching hardware devices in a computer. The PCI bus supports the functions found on a processor bus, but in a standardized format that is independent of any particular processor. Devices connected to the bus appear to the processor to be connected directly to the processor bus, and are assigned addresses in the processor's address space.
  • 42. PCI Bus Lines (required) • Systems lines – Including clock and reset • Address & Data – 32 time mux lines for address/data – Interrupt & validate lines • Interface Control • Arbitration – Not shared – Direct connection to PCI bus arbiter • Error lines
  • 43. PCI Bus Lines (Optional) • Interrupt lines – Not shared • Cache support • 64-bit Bus Extension – Additional 32 lines – Time multiplexed – 2 lines to enable devices to agree to use 64- bit transfer • JTAG/Boundary Scan – For testing procedures

Notas do Editor

  1. The top level view is important because of its explanatory power in understanding about the nature of computer.
  2. Hardwired programs – process of connecting the various components in the desired configuration as a form of programming. CPU execution and storing concept dito pumapasok ung mga techniques ng processor example ay branch prediction
  3. In figure (a) programming in hardware the system accepts data and control signals and produce results while, in figure(b) it indicates two major components of a system: an instruction interpreter and a module of general purpose of arithmetic and logic functions. Kailangan pa ng instruction codes tas ay interpret para maging control signal saka pa papasok sa ALU at logic functions saka pa ang result.
  4. Inputs are the signals or data received by the system, and outputs are the signals or data sent from it. Moves data between the computer and its external environment.
  5. The CPU exchanges data from memory with the use of MAR(memory address registers) which specifies the address in memory for the next read or write, and a MBR(memory buffer register) which contains the data. Similar to an IOAR specifies a particular I/O device and an IOBR used for exchange data between I/O module and the CPU.