Chapter 5: Computer Systems OrganizationObjectivesIntroductionPowerPoint PresentationThe Components of a Computer SystemSlide 6Memory and CacheMemory and Cache (continued)Slide 9Slide 10Slide 11Slide 12Slide 13Slide 14Cache MemoryInput/Output and Mass StorageInput/Output and Mass Storage (continued)Slide 18Slide 19Slide 20Slide 21Slide 22The Arithmetic/Logic UnitThe Arithmetic/Logic Unit (continued)Slide 25The Control UnitMachine Language InstructionsSlide 28Machine Language Instructions (continued)Slide 30Control Unit Registers and CircuitsSlide 32Putting All the Pieces Together—the Von Neumann ArchitectureSlide 34Non-Von Neumann ArchitecturesNon-Von Neumann Architectures (continued)Slide 37Slide 38Slide 39Summary of Level 2Summary of Level 2 (continued)SummaryChapter 5: Computer Systems OrganizationInvitation to Computer Science,Java Version, Third EditionInvitation to Computer Science, Java Version, Third Edition2ObjectivesIn this chapter, you will learn aboutThe components of a computer systemPutting all the pieces together—the Von Neumann architectureNon-Von Neumann architecturesInvitation to Computer Science, Java Version, Third Edition3IntroductionComputer organization examines the computer as a collection of interacting “functional units”Functional units may be built out of the circuits already studiedHigher level of abstraction assists in understanding by reducing complexityInvitation to Computer Science, Java Version, Third Edition4Figure 5.1The Concept of AbstractionInvitation to Computer Science, Java Version, Third Edition5The Components of a Computer SystemVon Neumann architecture has four functional unitsMemoryInput/OutputArithmetic/Logic unitControl unitSequential execution of instructionsStored program conceptInvitation to Computer Science, Java Version, Third Edition6Figure 5.2Components of the Von Neumann ArchitectureInvitation to Computer Science, Java Version, Third Edition7Memory and CacheInformation stored and fetched from memory subsystemRandom access memory maps addresses to memory locationsCache memory keeps values currently in use in faster memory to speed access timesInvitation to Computer Science, Java Version, Third Edition8Memory and Cache (continued)RAM (random access memory)Memory made of addressable cellsCurrent standard cell size is 8 bitsAll memory cells accessed in equal timeMemory addressUnsigned binary number N longAddress space is then 2N cellsInvitation to Computer Science, Java Version, Third Edition9Figure 5.3Structure of Random Access MemoryInvitation to Computer Science, Java Version, Third Edition10Memory and Cache (continued)Parts of the memory subsystemFetch/store controllerFetch: Retrieve a value from memoryStore: Store a value into memoryMemory address register (MAR)Memory data register (MDR)Memory cells with decoder(s) to select individual cellsInvitation to Computer Science, Java Version, Third Edition11Memory and Cache (continued)Fetch operationThe address of the desired memory cell is moved into the MARFetch/store controller signals a fetch, accessing the memory cellThe value at the MAR’s location flows into the MDRInvitation to Computer Science, Java Version, Third Edition12Memory and Cache (continued)Store operationThe address of the cell where the value should go is placed in the MARThe new value is placed in the MDRFetch/store controller signals a store, copying the MDR’s value into the desired cellInvitation to Computer Science, Java Version, Third Edition13Memory and Cache (continued)Memory registerVery fast memory locationGiven a name, not an addressServes some special purposeModern computers have dozens or hundreds of registersInvitation to Computer Science, Java Version, Third Edition14Figure 5.7Overall RAM OrganizationInvitation to Computer Science, Java Version, Third Edition15Cache MemoryMemory access is much slower than processing timeFaster memory is too expensive to use for all memory cellsLocality principleOnce a value is used, it is likely to be used againSmall size, fast memory just for values currently in use speeds computing timeInvitation to Computer Science, Java Version, Third Edition16Input/Output and Mass StorageCommunication with outside world and external data storageHuman interfaces: Monitor, keyboard, mouseArchival storage: Not dependent on constant powerExternal devices vary tremendously from each otherInvitation to Computer Science, Java Version, Third Edition17Input/Output and Mass Storage (continued)Volatile storageInformation disappears when the power is turned offExample: RAMNonvolatile storageInformation does not disappear when the power is turned offExample: Mass storage devices such as disks and tapesInvitation to Computer Science, Java Version, Third Edition18Input/Output and Mass Storage (continued)Mass storage devicesDirect access storage deviceHard drive, CD-ROM, DVDUses its own addressing scheme to access dataSequential access storage deviceTape driveStores data sequentiallyUsed for backup storage these daysInvitation to Computer Science, Java Version, Third Edition19Input/Output and Mass Storage (continued)Direct access storage devicesData stored on a spinning diskDisk divided into concentric rings (sectors)Read/write head moves from one ring to another while disk spinsAccess time depends onTime to move head to correct sectorTime for sector to spin to data locationInvitation to Computer Science, Java Version, Third Edition20Figure 5.8Overall Organization of a Typical DiskInvitation to Computer Science, Java Version, Third Edition21Input/Output and Mass Storage (continued)I/O controllerIntermediary between central processor and I/O devicesProcessor sends request and data, then goes on with its workI/O controller interrupts processor when request is completeInvitation to Computer Science, Java Version, Third Edition22Figure 5.9Organization of an I/O ControllerInvitation to Computer Science, Java Version, Third Edition23The Arithmetic/Logic UnitActual computations are performedPrimitive operation circuits Arithmetic (ADD)Comparison (CE)Logic (AND) Data inputs and results stored in registersMultiplexor selects desired outputInvitation to Computer Science, Java Version, Third Edition24The Arithmetic/Logic Unit (continued)ALU
View Full Document