计算机组成复习重点

整理文档很辛苦,赏杯茶钱您下走!

免费阅读已结束,点击下载阅读编辑剩下 ...

阅读已结束,您可以下载文档离线阅读编辑

资源描述

WilliamStallingsComputerOrganizationandArchitectureChapter1Introduction1.1Architecture&Organization1ArchitectureisthoseattributesvisibletotheprogrammerOrganizationishowfeaturesareimplemented1.2Structure&FunctionStructureisthewayinwhichcomponentsrelatetoeachotherFunctionistheoperationofindividualcomponentsaspartofthestructure1.2.1computerFunctionsAllcomputerfunctionsare:DataprocessingDatastorageDatamovementControl1.2.2StructureofdifferentlevelTopLevelComputerMainMemoryInputOutputSystemsInterconnectionPeripheralsCommunicationlinesCentralProcessingUnitComputerStructure-TheCPUComputerArithmeticandLogicUnitControlUnitInternalCPUInterconnectionRegistersCPUI/OMemorySystemBusCPUStructure-TheControlUnitCPUControlMemoryControlUnitRegistersandDecodersSequencingLogicControlUnitALURegistersInternalBusControlUnitHomework1.1Whatisthecomputerarchitecture.1.2Whatisthecomputerorganization.1.3Whatisthestructureofacomputersystem.1.4Whatarethefunctionsofacomputer.1.5Describetheprincipalelementsofacomputer.1.6DescribetheprincipalelementsofaCPU.WilliamStallingsComputerOrganizationandArchitectureChapter2ComputerEvolutionandPerformance2.vonNeumann/TuringStoredProgramconcept(1945)MainmemorystoringprogramsanddataALUoperatingonbinarydataControlunitinterpretinginstructionsfrommemoryandexecutingInputandoutputequipmentoperatedbycontrolunitStructureofvonNuemannmachineMainMemoryArithmeticandLogicUnitProgramControlUnitInputOutputEquipmentWilliamStallingsComputerOrganizationandArchitectureChapter3SystemBuses3.1ComputerComponentsThreekeyconceptsofvonNeumannarchitecture:Dataandinstructionarestoredinasingleread-writememoryMemoryareaddressableExecutioninstructionfromonetothenextFetchCycleProgramCounter(PC)holdsaddressofnextinstructiontofetchProcessorfetchesinstructionfrommemorylocationpointedtobyPCIncrementPCUnlesstoldotherwiseInstructionloadedintoInstructionRegister(IR)ProcessorinterpretsinstructionandperformsrequiredactionsInterruptCycleAddedtoinstructioncycleProcessorchecksforinterruptIndicatedbyaninterruptsignalIfnointerrupt,fetchnextinstructionIfinterruptpending:SuspendexecutionofcurrentprogramSavecontextSetPCtostartaddressofinterrupthandlerroutineProcessinterruptRestorecontextandcontinueinterruptedprogramMultipleInterruptsDisableinterruptsDefinepriorities1.WhatisaBus?AcommunicationpathwayconnectingtwoormoredevicesUsuallybroadcast3.ThreeGroupsofBusDataBusCarriesdataWidthisakeydeterminantofperformanceAddressbusIdentifythesourceordestinationofdataBuswidthdeterminesmaximummemorycapacityofsystemControlBusControlandtiminginformation5.ElementsofBusDesignBusTypeMethodofArbitrationTimingBusWidthDataTransferTypeBusTypesDedicatedMultiplexedBusArbitrationArbitrationmaybecentralisedordistributedTimingSynchronousAsynchronousWilliamStallingsComputerOrganizationandArchitectureChapter3SystemBuses3.1ComputerComponentsThreekeyconceptsofvonNeumannarchitecture:Dataandinstructionarestoredinasingleread-writememoryMemoryareaddressableExecutioninstructionfromonetothenextFetchCycleProgramCounter(PC)holdsaddressofnextinstructiontofetchProcessorfetchesinstructionfrommemorylocationpointedtobyPCIncrementPCUnlesstoldotherwiseInstructionloadedintoInstructionRegister(IR)ProcessorinterpretsinstructionandperformsrequiredactionsInterruptCycleAddedtoinstructioncycleProcessorchecksforinterruptIndicatedbyaninterruptsignalIfnointerrupt,fetchnextinstructionIfinterruptpending:SuspendexecutionofcurrentprogramSavecontextSetPCtostartaddressofinterrupthandlerroutineProcessinterruptRestorecontextandcontinueinterruptedprogramMultipleInterruptsDisableinterruptsDefinepriorities1.WhatisaBus?AcommunicationpathwayconnectingtwoormoredevicesUsuallybroadcast3.ThreeGroupsofBusDataBusCarriesdataWidthisakeydeterminantofperformanceAddressbusIdentifythesourceordestinationofdataBuswidthdeterminesmaximummemorycapacityofsystemControlBusControlandtiminginformation5.ElementsofBusDesignBusTypeMethodofArbitrationTimingBusWidthDataTransferTypeBusTypesDedicatedMultiplexedBusArbitrationArbitrationmaybecentralisedordistributedTimingSynchronousAsynchronousWilliamStallingsComputerOrganizationandArchitectureChapter4CacheChapter5InternalMemory5.OrganisationindetailMemoryorganizationhomeworkCalculateanddrawthediagram4.3Cache(Highspeedbuffer)SmallamountoffastmemorySitsbetweennormalmainmemoryandCPUMaybelocatedonCPUchipormodule1.PrincipleSmallbutfastLargebutslowCPUCacheMainMemoryWordTransferBlockTransferCacheoperation-overviewCPUrequestscontentsofmemorylocationCheckcacheforthisdataIfpresent,getfromcache(fast)Ifnotpresent,readrequiredblockfrommainmemorytocache(fixednumberofwords)ThendeliverfromcachetoCPUCacheincludestags(mark)toidentifywhichblockofmainmemoryisineachcacheslot(line)3)SetAssociativeMappingCalculateanddrawthediagramK(Two)WaySetAssociativeCacheOrganizationFindNotfindset0set1StarthereWilliamStallingsComputerOrganizationandArchitectureChapter6ExternalMemoryRAIDRedundantArrayofIndependentDisksSetofphysicaldi

1 / 113
下载文档,编辑使用

©2015-2020 m.777doc.com 三七文档.

备案号:鲁ICP备2024069028号-1 客服联系 QQ:2149211541

×
保存成功