首页 《计算机组成》全册配套完整教学课件3

《计算机组成》全册配套完整教学课件3

举报
开通vip

《计算机组成》全册配套完整教学课件3《计算机组成》全册配套完整教学课件3TextbookandReferenceComputerOrganization&ArchitectureDesigningforPerformance(SeventhEdition)ByWilliamStallings计算机组织与体系结构性能设计(第7版)张昆藏译计算机组成与结构(第4版)王爱英主编计算机组成原理(第4版)白中英主编WebresourcesWillamStallings.com/COA/COA7e.htmlWillamStallings.com/Stud...

《计算机组成》全册配套完整教学课件3
《计算机组成》全册配套完整教学 课件 超市陈列培训课件免费下载搭石ppt课件免费下载公安保密教育课件下载病媒生物防治课件 可下载高中数学必修四课件打包下载 3TextbookandReferenceComputerOrganization&ArchitectureDesigningforPerformance(SeventhEdition)ByWilliamStallings计算机组织与体系结构性能 设计 领导形象设计圆作业设计ao工艺污水处理厂设计附属工程施工组织设计清扫机器人结构设计 (第7版)张昆藏译计算机组成与结构(第4版)王爱英主编计算机组成原理(第4版)白中英主编WebresourcesWillamStallings.com/COA/COA7e.htmlWillamStallings.com/StudentSupport.htmlIntelDeveloper’sPagePowerPC:Motorola&IBMTop500SupercomputerSiteCourseFeaturesWhataboutthiscourseSpecifythecomputerarchitectureandcomponentsHowtoorganizethesecomponentsBestoptimizingtheperformanceofwholecomputerMaincoursesinvolvedDigitalLogicOperatingSystemComputerInterfaceAssembleLanguage Whyisthiscourseneeded?FundamentalcourseforprogrammerAcoursecontainingmorehardwarethansoftwareInstructionforfurtherlearninghardwareTheideasandprinciplescontainedinthiscoursecanbeoftenusedinprogrammingCommonknowledgeProgrammershouldholdnecessaryhardwareofcomputerStudyingmethodsAttendlectureearnestlyReviewanddigestintime(justaftertheclass)CompleteourhomeworkFrequentlyconsulttherelatedWebsiteandknowaboutthelatestinformationExaminationFinalmark:Experiment:20%Homeworkandattitude:10%Finalexam:70%Attitudeisanything!GoalsSpecialtyandprofessionalEnglishReadingcarefullythebookRememberthebasicconceptsandimportantprinciplesAfterourclass,wecanreadscienceandtechnologyliteratureswithoutdictionaryWritedissertationabstractContentsPart1:OverviewPart2:ComputersystemPart3:CPUPart4:CUPart5:Parallelorganization17chaptersPartOne:OverviewChapter1:IntroductionIntroducingthecomputercomponentsandtheirfunctionsChapter2:ComputerEvolutionandPerformance1.1Organization&ArchitectureComputerarchitecture:Ch.1–1.1Computerarchitecture:Def.1:designoftheabstractionlayersthatallowustoimplementinformationprocessingapplicationsefficientlyusingavailablemanufacturingtechnologies.Def.2:attributesvisibletoaprogrammerTheseattributeshaveadirectimpactonthelogicalexecutionofaprogramConceptualstructureandfunctioncharacteristicCh.1–1.1ComputerOrganizationDef.1:implementandinterconnectoperationunits(components)specifiedinarchitectureDef.2:FundamentalattributesvisibletoasystemdesignerAnimplementationofthearchitectureCh.1–1.1Computerarchitecturereferstologicaldesignofacomputer;whilecomputerorganizationisimplementationofthislogicaldesignForexample,whetheracomputerwillhaveamultiplicationfunction,itisanarchitectureissue;whilehowtoimplementthemultiplierbelongstotheorganizationconceptCh.1–1.1ComputerImplementationsDef.1:physicalImplementationsofcomputercomponentsinorganizationDef.2:Thehardwareoutofwhichwemakecomputersystems.Transparency/Transparent:Forexistedthingsorattributes,fromapointofview,theyarelookedasnotexisted,thisconceptiscalledtransparencyCh.1–1.1Architecturalattributes:{instructionset,wordlength,I/Omechanism,addressing,etc}Organizationalattributes:{controlsignal,interface,memorytechnology,bustechnology,…hardwaredetailstransparenttoprogrammer}Implementattributes:{IntegratedCircuits(ICs),PrintedCircuits(PC)boards,PowerSupplies,Chassis,ConnectorsandCables,etc}Ch.1–1.1SeriesComputers:computerswiththesamearchitectureanddifferentorganization(Software)compatibility/compatible:Thesoftwarecanoperateinallcomputerswiththesamearchitecture.Theresultisthesame,differenceexistsinrunningtimeCh.1–1.1Upwardcompatibility:programforlowlevelcomputercanrunoverhighlevelcomputerwithoutmodificationBackwardcompatibility:programforcurrentcomputercanrunoverfuturecomputerwithoutmodification1.2StructureandFunctionComputerisacomplexsystemMillionsofbasicelectroniccomponentsHowtodescribeacomputer?HierarchicAteachlevel,onlystructureandfunctionareconcernedforthedesignerCh.1–1.2Structure:thewayinwhichcomponentsrelatetoeachotherFunction:theoperationofindividualcomponentsaspartofthestructureTop-downapproachtodescribeCh.1–1.2Allcomputerfunctionsare:DataprocessingDatastorageDatamovementControlCh.1–1.2AFunctionalviewofthecomputerDataMovementApparatusControlMechanismDataStorageFacilityDataProcessingFacilityCh.1–1.2Datamovemente.g.disktomemoryDataMovementApparatusControlMechanismDataStorageFacilityDataProcessingFacilityCh.1–1.2DataStoragee.g.InternetdownloadtodiskDataMovementApparatusControlMechanismDataStorageFacilityDataProcessingFacilityCh.1–1.2DataProcessingfrom/tostoragee.g.PSapictureDataMovementApparatusControlMechanismDataStorageFacilityDataProcessingFacilityCh.1–1.2ProcessingfromstoragetoI/Oe.g.dealingbyATMDataMovementApparatusControlMechanismDataStorageFacilityDataProcessingFacilityCh.1–1.2StructureCh.1–1.2Structure-TopLevelComputerMainMemoryInputOutputSystemsInterconnectionPeripheralsCentralProcessingUnitComputerCommunicationlinesCh.1–1.2CPUComputerArithmeticandLogicUnitControlUnitInternalCPUInterconnectionRegistersCPUI/OMemorySystemBusCPUCh.1–1.2CUCPUControlMemoryControlUnitRegistersandDecodersSequencingLogicControlUnitALURegistersInternalBusControlUnitCh.1–1.2Whystudythiscourse?Insomedegree,itteacheshowweplaygameincostandperformance.Asadesigner,wecanprogramaprocessorthatisembeddedinsomereal-timeorlargersystem.VocabularyCentralProcessingUnit:中央处理单元/CPUMainmemory:主存I/Osubsystem输入/输出子系统Interconnection:互连Component:部件/组件Arithmeticandlogicunit:算术逻辑单元Register:寄存器Single-chipmicrocomputer:单片机Integratedcircuit:集成电路VocabularyArchitecture&organization:组成与系统结构Attribute:属性Programmer:程序员Instructionset:指令集Addressingmemory:可寻址内存Interface:接口Transparency:透明性Peripheral:外设VocabularyCompatibility:兼容性Reducedinstructionsetcomputer:精简指令集计算机/RISCShort-termdatastorage:短时数据存储Long-termdatastorage:长时数据存储Processor:处理器Parallelandpipeline:并行与流水Microprogram:微程序KeypointsWhatisthecomputerorganization&architecture?TransparencyWhatarecomputerfunctionsMaincomponentsinanormalcomputerMaincomponentsinCPUandCUComputerOrganization&ArchitectureChapter2ComputerEvolutionandPerformance2.1ABriefHistoryofComputer4generationsfromcomputerbirth1950~59Vacuumtube1960~68Transistor1969~77IntegratedCircuits1978~?Large-scaleintegration(LSI)andVery-large-scaleintegration(VLSI)Ch.2-2.1ComputerPre-historyCharlesBabbageAnalyticalEngineApplication–MathematicalTables(Astronomy)andNauticalTables(Navy)Background–AnycontinuousfunctioncanbeapproximatedbyapolynomialTechnology–mechanicalgears,Jacquard’sloom,simplecalculatorsCh.2-2.1Started1943andFinished1946.J.PresperEckert&JohnMauchlyUniversityofPennsylvaniaUseduntil1955Thefirstgeneral-purposecomputer:ENIACCanconditionalJumpandbeprogrammable,distinguisheditfromearlieronesUsedforcomputingartilleryfiringtablesCh.2-2.1ENIAC-detailsDecimal(notbinary)20accumulatorsof10digitsProgrammedmanuallybyswitches18,000vacuumtubes30tons15,000squarefeet140kWpowerconsumption5,000additionspersecondCh.2-2.1VonNeumann/TuringBegin1946,butnotcompleted1952StoredprogramconceptMainmemorystoringprogramsanddataALUoperatingonbinarydataControlunitinterpretinginstructionsfrommemoryandexecutingthemInputandoutputequipmentoperatedbycontrolunitPrincetonInstituteforAdvancedStudies–IASCh.2-2.1StructureoftheIAScomputerCh.2-2.1IAS–details1000x40bitwords(100040bitstorageunits)Binarynumber2x20bitinstructions(8bitopcode,12bitaddress)21instructions:datamove,processing,storageSetofregisters(storageinCPU)MemoryBufferRegister,MemoryAddressRegister,InstructionRegister,InstructionBufferRegisterProgramCounterAccumulatorMultiplierQuotientExpandedstructureofIAScomputerCh.2-2.1IAS:InstituteforAdvancedStudy(1952)Ch.2-2.1IASInstructionSet21InstructionsDataTransferUnconditionalBranchConditionalBranchArithmeticAddressModifyCh.2-2.1CommercialComputerLaterof1946,EckertandMauchlyestablishedthefirstcomputercompany--ElectronicControlCorp.TheirfirstsuccessfulmachinewastheUniversalAutomaticComputer(UNIVAC)I.UNIVACtasksinvolvescientificandcommercialapplications.Ch.2-2.1UNIVAC-1(1951)Ch.2-2.1IBM701(1953)Ch.2-2.12ndGeneration:TransistorComputerTransistorInventedin1947atBellLabsSmaller,CheaperandLessheatdissipationSolidstatedevicemadefromSiliconMorecomplexALUandControlUnitsUseofhigherlevellanguagesSystemSoftwareI/OChannelsNCR&RCAarefront-runnersIBM7000series(1952)DEC(PDP-1:firstDECcomputer)Ch.2-2.1IBM7094700seriesin1952lastmemberof7000in1964Memory2Kto32Kof36bitwordsMemoryCycletimefellfrom30microsecto1.4microsecNumberofOpcodesgrewfrom24to185UseofdatachannelsMultiplexortowhichallchannelsareconnectedCh.2-2.1IBM7090ConsoleCh.2-2.13rdgeneration:ICComputerUseofIntegratedCircuits(IC)SSI&MSIbasedcomputeristhe3rdcomputerExamplesIBMSystem/360andDECPDP-8FamilyconceptSimilaroridenticalinstructionsetSimilaroridenticaloperatingsystemIncreasingspeed,increasingnumberofI/Oports,IncreasingmemorysizeandIncreasingcostCh.2-2.1MicroelectronicsIn1958,revolutionizedachievementinelectronicscame:integratedcircuitwasinvented-TheeraofmicroelectronicsTransistor,resistance,capacitancemadefromsemiconductor,togetherwithwholecircuitcanbeputinasiliconwafer60slater,smallscaleintegrationandmediumscaleintegrationcameforthCh.2-2.1IntegratedCircuits(2007state-of-the-art)BareDiePrimarilyCrystallineSilicon1mm-25mmonaside2007featuresize~65nm=65x10-9m(then45,32,22,and16)100-1000Mtransistors25-100M“logicgates”3-10conductivelayers“CMOS”(complementarymetaloxidesemiconductor)-mostcommon.Ch.2-2.1ChipinPackagePrintedCircuitBoardsCeramicorplasticwithgoldwiresPackageprovides:spreadingofchip-levelsignalpathstoboard-levelheatdissipationfiberglassorceramic1-20conductivelayers1-20inonasideICpackagesaresoldereddown.Provides:MechanicalsupportDistributionofpowerandheatCh.2-2.1Moore’sLaw1965,GordonMoore-cofounderofIntelNumberoftransistorsonachipwilldoubleeveryyearSince1970’sdevelopmenthasslowedalittleNumberoftransistorsdoublesevery18monthsCostofachiphasremainedalmostunchangedHigherpackingdensitymeansshorterelectricalpaths,givinghigherperformanceSmallersizegivesincreasedflexibilityReducedpowerandcoolingrequirementsFewerinterconnectionsincreasesreliabilityCh.2-2.1Ch.2-2.1IBM360:AGeneral-PurposeRegister(GPR)MachineCh.2-2.1ProcessorState16General-Purpose32-bitRegistersmaybeusedasindexandbaseregisterRegister0hassomespecialproperties4FloatingPoint64-bitRegistersAProgramStatusWord(PSW)A32-bitmachinewith24-bitaddressesButnoinstructioncontainsa24-bitaddress!DataFormats8-bitbytes,16-bithalf-words,32-bitwords,64-bitdouble-wordsCh.2-2.1DECPDP-8(1965)FirstminicomputerDidnotneedairconditionedroomSmallenoughtositonalabbench$16,000-$100k+forIBM360BusstructureCh.2-2.1DECPDP-8Ch.2-2.14G:LSI&VLSIComputerSemiconductormemories64MBperchipMicroprocessorsInstructionset>150Addressbuswidth32DataBuswidth32Memoryaddressability4GBBusbandwidth32MB/secCachearchitecturesCh.2-2.1Intel4004DieIntroducedin1970Firstmicroprocessor2,250transistors12mm2108KHzCh.2-2.1Intel8086DieIntroducedin197929,0000transistors33mm25MHzBasicarchitectureoftheIA32PCCh.2-2.1Intel80486DieIntroducedin19891,200,000transistors81mm225MHz1stpipelinedimplementationofIA32PCCh.2-2.1PentiumDieIntroducedin19933,100,000transistors296mm260MHz1stsuperscalarimplementationofIA32Ch.2-2.1PentiumIII9,5000,000transistors125mm2450MHzIntroducedin1999SuperscalarprocessingCh.2-2.1IntelMicroprocessors1971-4004FirstmicroprocessorAllCPUcomponentsonasinglechip4bitFollowedin1972by80088bit1974–8080Intel’sfirstgeneralpurposemicroprocessor8086、8088、80286、80386、80486、pentium1、2、3、4Xeon(2001),Centrino,Itanium1,2,CoreCh.2-2.1SummaryonsingleCoreRISCRevolution~1983,IBM801,UCBRISCproject,StanfordMIPSproject-MakethemicroenginebetheCPU!-Avoidinefficiencyofinterpretationlayer-Letcompilersdotheoptimizing-ImplementonsinglechipGenericUnixBoxCh.2-2.1SuperscalarProcessing~1990(IBMPower-1)topresent(almostallprocessorstoday)Basicidea:issuemultipleinstructionssimultaneously-exploitfine-grainedparallelismwithintheinstructionstreamIn-order(Alpha21164)vs.out-of-order(MIPSR10K,PentiumPro)Aggressive,pipelinedcacheandmemorysubsystemsCh.2-2.1QuantityandUnitincommonuseBitByteK(Hz,bytes):--1024=210M:Mega(bytes,Hz):--10242=220G:Giga(bytes,Hz):--10243=230T:tera(bytes,Hz):--10244=240P:peta(bytes,Hz):--10245=2502.2DesigningforPerformanceMicroprocessorspeedCPU/memorycapacityfollowsMoore’slawSeenextFig.ThetechniquesformeettheCPUspeedBranchpredicionDataflowanalysisSpeculativeexecutionMemoryspeedlagsofCPU’sspeedCPUhastowaitBottleneckReducethewholeperformanceCh.2-2.2DRAMandProcessorCharacteristicsCh.2-2.2SolutionsOptimizesystemstructure,balancingthewholeperformanceofCPU,memoryandI/OImprovetheinterfacebetweenCPUandmemoryTheinterfaceisthekeypathresponsiblefortransferringinstructionanddataIncreasenumberofbitsretrievedatonetimeMakeDRAM“wider”ratherthan“deeper”ChangeDRAMinterfaceCacheReducefrequencyofmemoryaccessMorecomplexcacheandcacheonchipIncreaseinterconnectionbandwidthHighspeedbusesHierarchyofbusesCh.2-2.2EvolutionofPentium8080:thefirstgeneralpurposeCPUintheworld8bit,19748086(8088):16bit,Cache,1Mmainmemory;80286:extendedproductof808816Mmainmemory80386:32bit,multi-taskprocessor;80486:highperformanceCache,pipeline,mathcoprocessor;Pentium:Superscalar,instructionexecutedinparellel;Pentiumpro:branchprediction,dataflowanalysis,speculativeexecutionPⅡ:32bit.64bitinstructions:MMX;PⅢ:newfloatpointinstructions:128bit:SSE,support3-dgraphicsprocessingPⅣ:32bit.Providing128bitinstructions:SSE2Ch.2-2.2ClassificationofComputersSingle-chipSingle-boardMicrocomputerMinicomputerMediumcomputerLargecomputerSupercomputerCh.2-2.2RelationshipbetweensoftwareandhardwareCh.2-2.2SofthierarchiesofaComputerapplicationlanguagehigh-levellanguageassemblylanguageOS(jobcontrollanguage)machinelanguage(machineinstructionsystem)microprogram(microinstructionsystem)topbottomCh.2-2.2VocabularyPipeliningandparallelexecution:流水与并行执行Speculativeexecution:推测执行Cache:快速缓存Decimal:十进制Binary:二进制Generalpurposecomputer:通用计算机VonNeumannMachine:冯-诺依曼计算机Opcode=operationcode:操作码Instructioncycle:指令周期Fetchcycle:取(读)周期VocabularyFlowchart:流程图Conditionbranch:条件转移Datatransfer:数据传送Upwardcompatible:向上兼容Multiplexor:复用器Bus:总线Magnetic-corememory:磁芯存储器Enduser:端用户Speechrecognition:语音识别Videoconferencing:视频会议VocabularyMultimediaauthoring:多媒体编著Workstation:工作站Client-server:客户机-服务器DRAM—dynamicrandomaccessmemory:动态随机存取存储器Branchprediction:转移预测Throughput:吞吐率Trade-off:折衷Supercomputer:超级计算机/巨型机Parallelism:并行性KeypointsWhatisthefirstcomputerintheworld?WhatfeaturesofvonNuemannmachineisthere?Howaboutitsstructure?Moorelaw?Typicalcomputerclassification?ComputerOrganization&ArchitectureChapter3ATop-LevelViewOfComputerFunctionAndInterconnection3.1ComputercomponentsReviewThreekeyconceptsinvonNeumanarchitectureDataandinstructionarestoredinasingleread-writememoryThecontentsofthememoryareaddressedbylocationExecutionoccursinasequentialfashionCh.3-3.1ProgramminginhardwareandsoftwareCh.3-3.1CPUCh.3-3.1MainComponentstheCentralProcessingUnit-CPUInput/output---I/OMainmemorySystembus3.2ComputerFunctionBasicfunctionofacomputerisexecutingprogram(asequenceofinstructions),tocompletespecialtasksCPUisacomponentofexecutinginstructionTheCPUtimeofprocessinganinstructioniscalledInstructionCycleAnexecutionofinstructioncanbesimplyviewedastwosteps:Fetchinstruction-Fetchcycleexecuteinstruction-ExecutecycleCh.3-3.2InstructionCycleFetchExecuteCh.3-3.2FetchCycleProcessorfetchesinstructionfrommemorylocationpointedtobyPCIncrementPCUnlesstoldotherwiseInstructionloadedintoInstructionRegister(IR)ProcessorinterpretsinstructionandperformsrequiredactionsCh.3-3.2OperationsinExecuteCycleProcessor-memorydatatransferbetweenCPUandmainmemoryProcessor-I/ODatatransferbetweenCPUandI/OmoduleDataprocessingSomearithmeticorlogicaloperationondataControlAlterationofsequenceofoperationse.g.jumpCombinationofaboveCh.3-3.21:load2:store5:addCh.3-3.2FlowofanInstructionInstructionaddresscalculationInstructionfetchInstructionoperationdecodingoperandaddresscalculationOperandfetchDataoperationOperandstorageCh.3-3.2Ch.3-3.2InterruptsDef.:amechanismallowingothermoduletobreakCPUexecutingsequenceTheobjectiveofinterruptstoimprovetheutilityoftheCPUtoallowCPUtoprocessurgenteventsCh.3-3.2TypesofinterruptionPrograme.g.overflow,divisionbyzero,illegalinstruction,outsidereferenceTimerGeneratedbyinternalprocessortimerUsedinpre-emptivemulti-tasking?I/OfromI/OcontrollerHardwarefailuree.g.memoryparityerrorCh.3-3.2Ch.3-3.2Ifinterruptispending,theprocessordoesthefollowing:SuspendexecutionofthecurrentprogrambeingexecutedandsaveitscontextSavecurrentcontextofPCandotherdataSetthePCtostartingaddressofaninterrupthandlerroutineTheuserprogramdoesnothavetocontainanyspecialcodetoaccommodateinterruptsTheprocessorandOSareresponsibleforsuspendingtheuserprogramandresumingitCh.3-3.2ProgramTiming:shortI/OwaitCh.3-3.2ProgramTiming:longI/OwaitCh.3-3.2AninterruptcycleisaddedtoinstructioncycleAfteraninstructioncycle,processorchecksforinterrupt,IndicatedbyaninterruptsignalIfnointerrupt,fetchnextinstructionIfinterrupt:SuspendexecutionofcurrentprogramSavecontextSetPCtostartaddressofinterrupthandlerroutineProcessinterruptRestorecontextandcontinueinterruptedprogramCh.3-3.2Ch.3-3.2MultipleInterruptsDef.:aninterrupthandlerisinterruptedThemethodsofprocessingmultipleinterrupt:DisableinterruptsProcessorwillignorefurtherinterruptswhilstprocessingoneinterruptInterruptsremainpendingandarecheckedafterfirstinterrupthasbeenprocessedInterruptshandledinsequenceastheyoccurDefineprioritiesLowpriorityinterruptscanbeinterruptedbyhigherpriorityinterruptsWhenhigherpriorityinterrupthasbeenprocessed,processorreturnstopreviousinterruptCh.3-3.2Ch.3-3.2Ch.3-3.2Ch.3-3.2I/OfunctionExchangedatadirectlywiththeprocessorExchangedatadirectlywiththememory,insomecaseDirectmemoryaccess(DMA)-chapter73.3InterconnectionstructuresDef.:Thecollectionofpathsconnectingthevariousmodules(a)MemoryCh.3-3.3(b)I/OmodulesPort:EachoftheinterfacetoanexternaldeviceGiveeachauniqueaddress(e.g.0,1,…,M-1)Ch.3-3.3Ch.3-3.3Typesoftransfer:MemorytoprocessorProcessortomemoryI/OtoprocessorProcessortoI/OI/Otoorfrommemory-DMA3.4BusinterconnectionDef.:communicationpathsconnectingtwoormorecomponentsKeyfeatureofbus:providingsharedtransferringmediaOftengroupedAnumberofchannelsinonebus,e.g.32bitdatabusis32separatesinglebitchannelsBustypes:systembus,peripheralbusesSystemBus:busconnectingmaincomponentsofcomputerDataBus,AddressBus,ControlBusCh.3-3.4BusInterconnectionSchemeCh.3-3.4DatabusFunction:carrydataRememberthatthereisnodifferencebetween“data”and“instruction”atthislevelEachlinecancarryonly1bitatatimeBuswidth:thenumberoflinesBuswidthisakeyfactorindeterminingofsystemperformance8,16,32,64bitCh.3-3.4AddressbusFunction:identifythesourceordestinationofdatae.g.CPUneedstoreadaninstruction(data)fromagivenlocationinmemoryBuswidthdeterminesmaximummemorycapacityofsysteme.g.8088has20bitaddressbusgiving1MaddressspaceCh.3-3.4ControlbusFunction:transfercontrolsignalsControluseofdataandaddressbusControlsignals:commandandtiminginformationMemoryread/writesignalI/Oread/writeTransferACKBusRequestBusgrantInterruptrequest&ACKClocksignalsResetCh.3-3.4PhysicalstructureofbusWhatdobuseslooklike?ParallellinesoncircuitboardsRibboncablesStripconnectorsonmotherboardse.g.PCISetsofwiresCh.3-3.4Ch.3-3.4Multiple-busHierarchiesSingleBusProblemsLotsofdevicesononebusleadsto:Propagationdelays(bottleneck)Moredevicemeanmorelongbus,andthisleadsgreaterdelay.Longdatapathsmeanthatco-ordinationofbususecanadverselyaffectperformanceIfaggregatedatatransferapproachesbuscapacityMostsystemsusemultiplebusestoovercometheseproblemsCh.3-3.4TraditionalbusarchitectureCh.3-3.4High-performancebusCh.3-3.4ElementsofBusDesignTypeBuswidthDedicatedaddressMultiplexeddataMethodofarbitrationDatatransfertypesCentralizedreadDistributedwriteTimingread-modify-writeSynchronousread-after-writeAsynchronousblockCh.3-3.4BusTypesDedicatedBus:Multiplebuses,e.g,Separatedata&addresslinesAdvantage:highthroughputDisadvantage:scaleandcostincreasesMultiplexedBus:Sharedlines,timemultiplexingAddressvalidordatavalidcontrollineAdvantage-fewerlines,space,costDisadvantagesMorecomplexcontrolUltimateperformanceCh.3-3.4BusArbitrationMorethanonemoduleusingthebuse.g.CPUandDMAcontrollerOnlyonemodulemaycontrolbusatonetimeArbitrationmethod:centralised:abuscontroller/arbiterisresponsibleforbususageandtime.AseparatemoduleorpartofCPUDaisychainpollingCountertimingpollingSeparaterequestdistributed:nocentralizedcontroller,everymodulecontainsaaccesscontrollogicCh.3-3.4ChainpollingAdv.:scalableDisadv.:sensitivetocircuitfailureCh.3-3.4CounterpollingAdv.:flexiblepriority,insensitivetocircuitfailureDisadv.:complexc
本文档为【《计算机组成》全册配套完整教学课件3】,请使用软件OFFICE或WPS软件打开。作品中的文字与图均可以修改和编辑, 图片更改请在作品中右键图片并更换,文字修改请直接点击文字进行修改,也可以新增和删除文档中的内容。
该文档来自用户分享,如有侵权行为请发邮件ishare@vip.sina.com联系网站客服,我们会及时删除。
[版权声明] 本站所有资料为用户分享产生,若发现您的权利被侵害,请联系客服邮件isharekefu@iask.cn,我们尽快处理。
本作品所展示的图片、画像、字体、音乐的版权可能需版权方额外授权,请谨慎使用。
网站提供的党政主题相关内容(国旗、国徽、党徽..)目的在于配合国家政策宣传,仅限个人学习分享使用,禁止用于任何广告和商用目的。
下载需要: 免费 已有0 人下载
最新资料
资料动态
专题动态
个人认证用户
精品文库
一线资深教师,拥有丰富的教学经验!
格式:ppt
大小:12MB
软件:PowerPoint
页数:984
分类:理学
上传时间:2022-03-04
浏览量:0