Määritelmä
Thecontrolunit,EnglishControlUnit(CU),isoneoftheCPUcomponents,sometimesinstalledoutsidetheCPU.Itsbasicfunctionistoaccessinstructionsfromwithin,analyzeinstructionsandexecuteinstructions.
Thecontrolunitisacontrolinstrumentorcontrolcomponentthatrealizesoneormorecontrollaws.Suchas:multiplexcontrolunit,proxysettingcontrolunit.
Tyyppi
Nomatterwhichtypeofcontrolunit,theprincipleistocontroleachpartoftheCPUthroughthecontrolsignalsentbythecontrolunit.Thecontrolunitcanberoughlydividedintothefollowingtwocategories.
Microprogram,whichreadsandsendsoutcontrolsignalsbymicroprogram.Themicroprogramisexecutedthroughasimpledigitalchannel(microcomputer)calledamicrosequencer.
Hardwarecontrolunit.Thecontrolsignalissentdirectlyfromthedigitalchannel.Duetothescaleofintegratedcircuitsandadvancesindesigntechnology,suchcontrolunitshavebecomepossible.
Toiminto
Accordingtotheuser'spre-programmedprogram,itfetcheseachinstructionfromthememoryinturn,putsitintheinstructionregisterIR,andpassestheinstructionDecoding(analysis)determineswhatoperationshouldbeperformed,andthenthroughtheoperationcontrollerOC,accordingtothedeterminedtimesequence,themicro-operationcontrolsignalissenttothecorrespondingcomponent.TheoperationcontrollerOCmainlyincludescontrollogicsuchasabeatpulsegenerator,acontrolmatrix,aclockpulsegenerator,aresetcircuitandastart-stopcircuit.