Presentation is loading. Please wait.

Presentation is loading. Please wait.

4 Linking the Components. © 2005 Pearson Addison-Wesley. All rights reserved Figure 4.1 This chapter focuses on how the hardware layer components are.

Similar presentations


Presentation on theme: "4 Linking the Components. © 2005 Pearson Addison-Wesley. All rights reserved Figure 4.1 This chapter focuses on how the hardware layer components are."— Presentation transcript:

1 4 Linking the Components

2 © 2005 Pearson Addison-Wesley. All rights reserved Figure 4.1 This chapter focuses on how the hardware layer components are physically connected and how the operating system layer communicates with the hardware layer.

3 © 2005 Pearson Addison-Wesley. All rights reserved The Bus Internal components are linked by a bus Bus types –Processor bus –Memory bus –Cache bus –Standard I/O bus –Local I/O bus PCI ISA

4 © 2005 Pearson Addison-Wesley. All rights reserved Word Size Computer designed around word size Word size affects: –processing speed –memory capacity –precision –instruction set size –cost

5 © 2005 Pearson Addison-Wesley. All rights reserved Figure 4.2 A machine cycle. a. The instruction control unit sends a fetch command to memory.

6 © 2005 Pearson Addison-Wesley. All rights reserved b. The memory controller copies the contents of the requested memory location onto the bus.

7 © 2005 Pearson Addison-Wesley. All rights reserved c. The instruction moves over the bus and into the instruction register.

8 © 2005 Pearson Addison-Wesley. All rights reserved d. The arithmetic and logic unit executes the instruction in the instruction register.

9 © 2005 Pearson Addison-Wesley. All rights reserved e. The arithmetic and logic unit sends a fetch command to memory.

10 © 2005 Pearson Addison-Wesley. All rights reserved f. The memory controller copies the contents of the requested memory location onto the bus and the data value flows into a work register.

11 © 2005 Pearson Addison-Wesley. All rights reserved Computer Architecture The relationships among a computer’s components.

12 © 2005 Pearson Addison-Wesley. All rights reserved Figure 4.3 Most microcomputers are constructed around a motherboard.

13 © 2005 Pearson Addison-Wesley. All rights reserved Figure 4.4 A schematic drawing of a motherboard highlighting the slots.

14 © 2005 Pearson Addison-Wesley. All rights reserved Figure 4.5 Memory, peripherals, and secondary storage devices are added to the system by plugging the appropriate board into an open slot.

15 © 2005 Pearson Addison-Wesley. All rights reserved Figure 4.6 With single-bus architecture all the components are linked by a common bus.

16 © 2005 Pearson Addison-Wesley. All rights reserved Figure 4.7 An interface board translates between internal and external data forms.

17 © 2005 Pearson Addison-Wesley. All rights reserved Ports and Controllers Port (hardware) –A connection point for a peripheral –Serial port –Parallel port Controller –An interface board chip –Controls the data transfer process Peripheral to/from memory Memory to/from processor

18 © 2005 Pearson Addison-Wesley. All rights reserved External Buses USB – Universal serial bus SCSI – Small computer system interface –Pronounced “skuzzy” Port links one device or external bus Bus can link numerous devices

19 © 2005 Pearson Addison-Wesley. All rights reserved Figure 4.8 On a mainframe, device- independent functions are assigned to a channel and device-dependent functions are assigned to an I/O control unit.

20 © 2005 Pearson Addison-Wesley. All rights reserved Figure 4.9 Most mainframes use multiple-bus architecture. a. The main processor starts an I/O operation by sending a signal to the channel.

21 © 2005 Pearson Addison-Wesley. All rights reserved b. The channel assumes responsibility for the I/O operation and the processor turns its attention to another program.

22 © 2005 Pearson Addison-Wesley. All rights reserved c. The channel sends an interrupt to the processor to signal the end of the I/O operation.

23 © 2005 Pearson Addison-Wesley. All rights reserved The Hardware/Software Interface Primitive –A physical operation performed by an interface or a peripheral device. Open –The process of initially establishing a link to a peripheral device.

24 © 2005 Pearson Addison-Wesley. All rights reserved Logical and Physical I/O Logical I/O –The programmer’s view of I/O. Physical I/O –The act of physically transferring a unit of data between memory and a peripheral device. Access Method –A subroutine that performs application- dependent portions of an I/O operation.

25 © 2005 Pearson Addison-Wesley. All rights reserved Figure 4.10 A programmer’s logical I/O request is converted to the appropriate physical I/O operations by the operating system.

26 © 2005 Pearson Addison-Wesley. All rights reserved Figure 4.11 Some mainframes assign application-dependent portions of the logical-to-physical translation process to access methods.

27 © 2005 Pearson Addison-Wesley. All rights reserved Figure 4.12 The access method is added to the load module at load time.

28 © 2005 Pearson Addison-Wesley. All rights reserved Figure 4.13 The process of converting a logical I/O request to primitive physical commands on a mainframe.

29 © 2005 Pearson Addison-Wesley. All rights reserved Figure 4.14 Microcomputers use device drivers as part of the logical-to-physical I/O conversion process.


Download ppt "4 Linking the Components. © 2005 Pearson Addison-Wesley. All rights reserved Figure 4.1 This chapter focuses on how the hardware layer components are."

Similar presentations


Ads by Google