您好,欢迎访问三七文档
WilliamStallingsComputerOrganizationandArchitectureChapter1Introduction1.1Architecture&Organization1ArchitectureisthoseattributesvisibletotheprogrammerOrganizationishowfeaturesareimplemented1.2Structure&FunctionStructureisthewayinwhichcomponentsrelatetoeachotherFunctionistheoperationofindividualcomponentsaspartofthestructure1.2.1computerFunctionsAllcomputerfunctionsare:DataprocessingDatastorageDatamovementControl1.2.2StructureofdifferentlevelTopLevelComputerMainMemoryInputOutputSystemsInterconnectionPeripheralsCommunicationlinesCentralProcessingUnitComputerStructure-TheCPUComputerArithmeticandLogicUnitControlUnitInternalCPUInterconnectionRegistersCPUI/OMemorySystemBusCPUStructure-TheControlUnitCPUControlMemoryControlUnitRegistersandDecodersSequencingLogicControlUnitALURegistersInternalBusControlUnitHomework1.1Whatisthecomputerarchitecture.1.2Whatisthecomputerorganization.1.3Whatisthestructureofacomputersystem.1.4Whatarethefunctionsofacomputer.1.5Describetheprincipalelementsofacomputer.1.6DescribetheprincipalelementsofaCPU.WilliamStallingsComputerOrganizationandArchitectureChapter2ComputerEvolutionandPerformance2.vonNeumann/TuringStoredProgramconcept(1945)MainmemorystoringprogramsanddataALUoperatingonbinarydataControlunitinterpretinginstructionsfrommemoryandexecutingInputandoutputequipmentoperatedbycontrolunitStructureofvonNuemannmachineMainMemoryArithmeticandLogicUnitProgramControlUnitInputOutputEquipmentWilliamStallingsComputerOrganizationandArchitectureChapter3SystemBuses3.1ComputerComponentsThreekeyconceptsofvonNeumannarchitecture:Dataandinstructionarestoredinasingleread-writememoryMemoryareaddressableExecutioninstructionfromonetothenextFetchCycleProgramCounter(PC)holdsaddressofnextinstructiontofetchProcessorfetchesinstructionfrommemorylocationpointedtobyPCIncrementPCUnlesstoldotherwiseInstructionloadedintoInstructionRegister(IR)ProcessorinterpretsinstructionandperformsrequiredactionsInterruptCycleAddedtoinstructioncycleProcessorchecksforinterruptIndicatedbyaninterruptsignalIfnointerrupt,fetchnextinstructionIfinterruptpending:SuspendexecutionofcurrentprogramSavecontextSetPCtostartaddressofinterrupthandlerroutineProcessinterruptRestorecontextandcontinueinterruptedprogramMultipleInterruptsDisableinterruptsDefinepriorities1.WhatisaBus?AcommunicationpathwayconnectingtwoormoredevicesUsuallybroadcast3.ThreeGroupsofBusDataBusCarriesdataWidthisakeydeterminantofperformanceAddressbusIdentifythesourceordestinationofdataBuswidthdeterminesmaximummemorycapacityofsystemControlBusControlandtiminginformation5.ElementsofBusDesignBusTypeMethodofArbitrationTimingBusWidthDataTransferTypeBusTypesDedicatedMultiplexedBusArbitrationArbitrationmaybecentralisedordistributedTimingSynchronousAsynchronousWilliamStallingsComputerOrganizationandArchitectureChapter3SystemBuses3.1ComputerComponentsThreekeyconceptsofvonNeumannarchitecture:Dataandinstructionarestoredinasingleread-writememoryMemoryareaddressableExecutioninstructionfromonetothenextFetchCycleProgramCounter(PC)holdsaddressofnextinstructiontofetchProcessorfetchesinstructionfrommemorylocationpointedtobyPCIncrementPCUnlesstoldotherwiseInstructionloadedintoInstructionRegister(IR)ProcessorinterpretsinstructionandperformsrequiredactionsInterruptCycleAddedtoinstructioncycleProcessorchecksforinterruptIndicatedbyaninterruptsignalIfnointerrupt,fetchnextinstructionIfinterruptpending:SuspendexecutionofcurrentprogramSavecontextSetPCtostartaddressofinterrupthandlerroutineProcessinterruptRestorecontextandcontinueinterruptedprogramMultipleInterruptsDisableinterruptsDefinepriorities1.WhatisaBus?AcommunicationpathwayconnectingtwoormoredevicesUsuallybroadcast3.ThreeGroupsofBusDataBusCarriesdataWidthisakeydeterminantofperformanceAddressbusIdentifythesourceordestinationofdataBuswidthdeterminesmaximummemorycapacityofsystemControlBusControlandtiminginformation5.ElementsofBusDesignBusTypeMethodofArbitrationTimingBusWidthDataTransferTypeBusTypesDedicatedMultiplexedBusArbitrationArbitrationmaybecentralisedordistributedTimingSynchronousAsynchronousWilliamStallingsComputerOrganizationandArchitectureChapter4CacheChapter5InternalMemory5.OrganisationindetailMemoryorganizationhomeworkCalculateanddrawthediagram4.3Cache(Highspeedbuffer)SmallamountoffastmemorySitsbetweennormalmainmemoryandCPUMaybelocatedonCPUchipormodule1.PrincipleSmallbutfastLargebutslowCPUCacheMainMemoryWordTransferBlockTransferCacheoperation-overviewCPUrequestscontentsofmemorylocationCheckcacheforthisdataIfpresent,getfromcache(fast)Ifnotpresent,readrequiredblockfrommainmemorytocache(fixednumberofwords)ThendeliverfromcachetoCPUCacheincludestags(mark)toidentifywhichblockofmainmemoryisineachcacheslot(line)3)SetAssociativeMappingCalculateanddrawthediagramK(Two)WaySetAssociativeCacheOrganizationFindNotfindset0set1StarthereWilliamStallingsComputerOrganizationandArchitectureChapter6ExternalMemoryRAIDRedundantArrayofIndependentDisksSetofphysicaldi
本文标题:计算机组成复习重点
链接地址:https://www.777doc.com/doc-2608819 .html