




版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
WilliamStallings
ComputerOrganization
andArchitecture
8thEditionChapter16Micro-programmedControlControlUnitOrganizationMicro-programmedControlUsesequencesofinstructions(seeearliernotes)tocontrolcomplexoperationsCalledmicro-programmingorfirmwareImplementation(1)AllthecontrolunitdoesisgenerateasetofcontrolsignalsEachcontrolsignalisonoroffRepresenteachcontrolsignalbyabitHaveacontrolwordforeachmicro-operationHaveasequenceofcontrolwordsforeachmachinecodeinstructionAddanaddresstospecifythenextmicro-instruction,dependingonconditionsImplementation(2)Today’slargemicroprocessorManyinstructionsandassociatedregister-levelhardwareManycontrolpointstobemanipulatedThisresultsincontrolmemorythatContainsalargenumberofwordsco-respondingtothenumberofinstructionstobeexecutedHasawidewordwidthDuetothelargenumberofcontrolpointstobemanipulatedMicro-programWordLengthBasedon3factorsMaximumnumberofsimultaneousmicro-operationssupportedThewaycontrolinformationisrepresentedorencodedThewayinwhichthenextmicro-instructionaddressisspecifiedMicro-instructionTypesEachmicro-instructionspecifiessingle(orfew)micro-operationstobeperformed(verticalmicro-programming)Eachmicro-instructionspecifiesmanydifferentmicro-operationstobeperformedinparallel(horizontalmicro-programming)VerticalMicro-programmingWidthisnarrowncontrolsignalsencodedintolog2nbitsLimitedabilitytoexpressparallelismConsiderableencodingofcontrolinformationrequiresexternalmemoryworddecodertoidentifytheexactcontrollinebeingmanipulatedHorizontalMicro-programmingWidememorywordHighdegreeofparalleloperationspossibleLittleencodingofcontrolinformationTypicalMicroinstructionFormatsCompromiseDividecontrolsignalsintodisjointgroupsImplementeachgroupasseparatefieldinmemorywordSupportsreasonablelevelsofparallelismwithouttoomuchcomplexityOrganizationof
ControlMemoryControlUnitControlUnitFunctionSequenceloginunitissuesreadcommandWordspecifiedincontroladdressregisterisreadintocontrolbufferregisterControlbufferregistercontentsgeneratescontrolsignalsandnextaddressinformationSequenceloginloadsnewaddressintocontrolbufferregisterbasedonnextaddressinformationfromcontrolbufferregisterandALUflagsNextAddressDecisionDependingonALUflagsandcontrolbufferregisterGetnextinstructionAdd1tocontroladdressregisterJumptonewroutinebasedonjumpmicroinstructionLoadaddressfieldofcontrolbufferregisterintocontroladdressregisterJumptomachineinstructionroutineLoadcontroladdressregisterbasedonopcodeinIRFunctioningofMicroprogrammed
ControlUnitWilkesControl1951MatrixpartiallyfilledwithdiodesDuringcycle,onerowactivatedGeneratessignalswherediodepresentFirstpartofrowgeneratescontrolSecondgeneratesaddressfornextcycleWilkes'sMicroprogrammedControlUnitAdvantagesandDisadvantagesofMicroprogrammingSimplifiesdesignofcontrolunitCheaperLesserror-proneSlowerTasksDoneByMicroprogrammedControlUnitMicroinstructionsequencingMicroinstructionexecutionMustconsiderbothtogetherDesignConsiderationsSizeofmicroinstructionsAddressgenerationtimeDeterminedbyinstructionregisterOncepercycle,afterinstructionisfetchedNextsequentialaddressCommoninmostdesignedBranchesBothconditionalandunconditionalSequencingTechniquesBasedoncurrentmicroinstruction,conditionflags,contentsofIR,controlmemoryaddressmustbegeneratedBasedonformatofaddressinformationTwoaddressfieldsSingleaddressfieldVariableformatBranchControlLogic:
TwoAddressFieldsBranchControl
Logic:Single
AddressFieldBranchControl
Logic:Variable
FormatAddressGenerationExplicitImplicitTwo-field MappingUnconditionalBranchAdditionConditionalbranchResidualcontrolExecutionThecycleisthebasiceventEachcycleismadeupoftwoeventsFetchDeterminedbygenerationofmicroinstructionaddressExecuteExecuteEffectistogeneratecontrolsignalsSomecontrolpointsinternaltoprocessorRestgotoexternalcontrolbusorotherinterfaceControlUnit
OrganizationATaxonomyofMicroinstructionsVertical/horizontalPacked/unpackedHard/softmicroprogrammingDirect/indirectencodingImprovementsoverWilkesWilkeshadeachbitdirectlyproducedacontrolsignalordirectlyproducedonebitofnextaddressMorecomplexaddresssequencingschemes,usingfewermicroinstructionbits,arepossibleRequiremorecomplexsequencinglogicmoduleControlwordbitscanbesavedbyencodingandsubsequentlydecodingcontrolinformationHowtoEncodeKdifferentinternalandexternalcontrolsignalsWilkes’s:Kbitsdedicated2KcontrolsignalsduringanyinstructioncycleNotallusedTwosourcescannotbegatedtosamedestinationRegistercannotbesourceanddestinationOnlyonepatternpresentedtoALUatatimeOnlyonepatternpresentedtoexternalcontrolbusatatimeRequireQ<2Kwhichcanbeencodedwithlog2Q<KbitsNotdoneAsdifficulttoprogramaspuredecoded(Wilkes)schemeRequirescomplexslowcontrollogicmoduleCompromisesMorebitsthannecessaryusedSomecombinationstha
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2025年中国可充电碱性电池市场调查研究报告
- 2025年中国双人按摩冲浪浴缸市场调查研究报告
- 2025年中国切口手指套市场调查研究报告
- 2025年中国公路路障市场调查研究报告
- 2025年中国偏心磨床市场调查研究报告
- 2025年中国京式压力炸鸭锅市场调查研究报告
- 2025年中国两节竿市场调查研究报告
- 2025年缝制机械零部件项目发展计划
- 2025年中国5,6,7,8-四氢喹喔啉市场调查研究报告
- 2025年运载火箭CAMAC测试系统项目建议书
- XX单线铁路隧道施工设计
- 叶曼讲《道德经》讲义第1~10章
- 地下车库地坪施工工艺工法标准
- 生物化学工程基础(第三章代谢作用与发酵)课件
- 国家开放大学一网一平台电大《可编程控制器应用实训》形考任务1-7终结性考试题库及答案
- 农村户口分户协议书(6篇)
- (部编版一年级下册)语文第七单元复习课件
- SQ-02-绿色食品种植产品调查表0308
- 丽声北极星分级绘本第二级上Dinner for a Dragon 教学设计
- 活跃气氛的开场小游戏「培训破冰前必备」
- 光伏发电项目安全专项投资估算方案
评论
0/150
提交评论