您好,欢迎访问三七文档
当前位置:首页 > 商业/管理/HR > 经营企划 > 2.1,2 CPU (中央处理器)
Chapter2CPUIntroductiontoCPUCentralprocessingunitetchedonsiliconchipcalledmicroprocessorContaintensofmillionsoftinytransistorsKeycomponents:CentralprocessingunitRegistersSystemclockTypesofChipsIntelmakesafamilyofprocessorsPentiumIIIandPentium4processorsinmostPCsCeleronprocessorsoldforlow-costPCsXeonandItaniumforhigh-endworkstationsandnetworkserversOtherprocessorsCyrixandAMDmakeIntel-compatiblemicroprocessorsPowerPCchipsusedprimarilyinMacintoshcomputersHP’sAlphamicroprocessorusedinhigh-endserversMicroprocessorSpeedsMeasureofsystemclockspeedHowmanyelectronicpulsestheclockproducespersecondUsuallyexpressedingigahertz(GHz)BillionsofmachinecyclespersecondSomeoldPCsmeasuredinmegahertz(MHz)ComparisonofclockspeedonlymeaningfulbetweenidenticalmicroprocessorsCPUcycletime–inverseofclockrateCurrentTechnologyCapabilitiesandLimitationsMoore’sLawRateofincreaseintransistordensityonmicrochipsdoublesevery18-24monthswithnoincreaseinunitcostRock’sLawCostoffabricationfacilitiesforchipgenerationdoubleseveryfouryearsIncreasedpackingdensityElectricalresistance3.2ComponentsoftheCPUControlunitMovesdataandinstructionsbetweenmainmemoryandregistersArithmeticlogicunit(ALU)PerformscomputationandcomparisonoperationsSetofregistersStoragelocationsthatholdinputsandoutputsfortheALUActionsPerformedbyCPUFetchcycleCPU:FetchesaninstructionfromprimarystorageIncrementsapointertolocationofnextinstructionSeparatesinstructionintocomponents(instructioncodeanddatainputs)StoreseachcomponentinaseparateregisterExecutioncycleALU:RetrievesinstructioncodefromaregisterRetrievesdatainputsfromregistersPassesdatainputsthroughinternalcircuitstoperformdatatransformationStoresresultsinaregisterCPURegistersPrimaryrolesHolddataforcurrentlyexecutingprogramthatisneededquicklyorfrequently(general-purposeregisters)StoreinformationaboutcurrentlyexecutingprogramandaboutstatusofCPU(special-purposeregisters)General-PurposeRegistersHoldintermediateresultsandfrequentlyneededdataitemsUsedonlybycurrentlyexecutingprogramImplementedwithintheCPU;contentscanbereadorwrittenquicklyIncreasingtheirnumberusuallydecreasesprogramexecutiontimetoapointSpecial-PurposeRegistersTrackprocessorandprogramstatusTypesInstructionregisterInstructionpointerProgramstatusword(PSW)StoresresultsofcomparisonoperationControlsconditionalbranchexecutionIndicatesactualorpotentialerrorconditionsWordSizeNumberofbitsaCPUcanprocesssimultaneouslyIncreasingitusuallyincreasesCPUefficiency,uptoapointOthercomputercomponentsshouldmatchorexceeditforoptimalperformanceImplicationsforsystembusdesignandphysicalimplementationofmemory3.3ThePhysicalCPUElectricaldeviceimplementedassilicon-basedmicroprocessorContainsmillionsofswitches,whichperformbasicprocessingfunctionsPhysicalimplementationofswitchesandcircuitsTransistorsElectronicswitchesthatmayormaynotallowelectriccurrenttopassthroughIfcurrentpassesthrough,switchison,representinga1bitOtherwise,switchisoff,representinga0bitSwitchesandGatesBasicbuildingblocksofcomputerprocessingcircuitsElectronicswitchesControlelectricalcurrentflowinacircuitImplementedastransistorsGatesAninterconnectionofswitchesAcircuitthatcanperformaprocessingfunctiononanindividualbinaryelectricalsignal,orbitElectricalPropertiesConductivityAbilityofanelementtoenableelectronflowResistanceLossofelectricalpowerthatoccurswithinaconductorHeatNegativeeffectsofheat:PhysicaldamagetoconductorChangestoinherentresistanceofconductorDissipateheatwithaheatsinkSpeedandcircuitlengthTimerequiredtoperformaprocessingoperationisafunctionoflengthofcircuitandspeedoflightReducecircuitlengthforfasterprocessingProcessorFabricationPerformanceandreliabilityofprocessorshasincreasedwithimprovementsinmaterialsandfabricationtechniquesTransistorsandintegratedcircuits(ICs)MicrochipsandmicroprocessorsFirstmicroprocessor(1971)–2,300transistorCurrentmemorychip–300milliontransistors3.4FutureTrendsSemiconductorsareapproachingfundamentalphysicalsizelimitsTechnologiesthatmayimproveperformancebeyondsemiconductorlimitationsOpticalprocessingHybridoptical-electricalprocessingQuantumprocessingOpticalProcessingCouldeliminateinterconnectionandsimplifyfabricationproblems;photonpathwayscancrosswithoutinterferingwithoneanotherEliminatingwireswouldimprovefabricationcostandreliabilityNotenougheconomicincentivetobearealityyetElectro-OpticalProcessingDevicesprovideinterfacebetweensemiconductorandpurelyopticalmemoryandstoragedevicesGalliumarsenide(bothopticalandelectricalproperties)Silicon-basedsemiconductordevices(encodedatainexternallygeneratedlaserlight)QuantumProcessingUsesquantumstatestosimultaneouslyencodetwovaluesperbit(qubit)UsesquantumprocessingdevicestoperformcomputationsTheoreticallywell-suitedtosolvingproblemsthatrequiremassiveamountsofcomputation
本文标题:2.1,2 CPU (中央处理器)
链接地址:https://www.777doc.com/doc-3980834 .html