外文文献翻译基于单片机的频率计设计本科学位论文.docx

上传人:b****3 文档编号:607752 上传时间:2022-10-11 格式:DOCX 页数:13 大小:90.66KB
下载 相关 举报
外文文献翻译基于单片机的频率计设计本科学位论文.docx_第1页
第1页 / 共13页
外文文献翻译基于单片机的频率计设计本科学位论文.docx_第2页
第2页 / 共13页
外文文献翻译基于单片机的频率计设计本科学位论文.docx_第3页
第3页 / 共13页
外文文献翻译基于单片机的频率计设计本科学位论文.docx_第4页
第4页 / 共13页
外文文献翻译基于单片机的频率计设计本科学位论文.docx_第5页
第5页 / 共13页
点击查看更多>>
下载资源
资源描述

外文文献翻译基于单片机的频率计设计本科学位论文.docx

《外文文献翻译基于单片机的频率计设计本科学位论文.docx》由会员分享,可在线阅读,更多相关《外文文献翻译基于单片机的频率计设计本科学位论文.docx(13页珍藏版)》请在冰豆网上搜索。

外文文献翻译基于单片机的频率计设计本科学位论文.docx

外文文献翻译基于单片机的频率计设计本科学位论文

原文:

ThisdesigntakeatMCS-51monolithicintegratedcircuitasthecorefullusehardwaresourcedesign'sonekindoffrequencymeter,thisfrequencymeterwillbemeasuredfirstthatsignalenlargementreshapingprocessing,turnssatisfiesTTL/whichthemonolithicintegratedcircuitI/OmouthacceptstheCMOScompatiblesignalfrommonolithicintegratedcircuit'sT1inputportinputdirectsummationpulsenumber,themonolithicintegratedcircuitinteriortimerfixedtimeis1S,bynowaccumulatedthepulsenumbernamelyforismeasuredthesignalthefrequency.Finallypassesthroughmonolithicintegratedcircuitprocessingtodelivertothelcdliquidcrystaldisplaymonitordemonstration.

CentralProcessingUnitDesigns

TheCPUisthekeycomponentofadigitalcomputer.Itspurposeistodecodeinstructionreceivedfrommemoryandperformtransfers,arithmetic,logic,andcontroloperationswithdatastoredininternalregisters,memory,orI/Ointerfaceunits.Externally,theCPUprovidesoneormorebusesfortransferringinstructions,data,andcontrolinformationtoandfromcomponentsconnectedtoit.Inthegenericcomputeratthebeginningofchapter1,theCPUisapartoftheprocessorandisheavilyshaded.CPUs,however,mayalsoappearincomputers.Small,relativelysimplecomputerscalledmicrocontrollersareusedincomputersandinotherdigitalsystemstoperformlimitedorspecializedtasks.Forexample,amicrocontrollerispresentinthekeyboardandinthemonitorinthegenericcomputer;thus,thesecomponentsarealsoshaded.Insuchmicrocontrollers,theCPUmaybequitedifferentfromthosediscussedinthischapter.Thewordlengthsmaybeshort(say,fouroreightbits),thenumberofregisterssmall,andtheinstructionsetslimited.Performanee,relativelyspeaking,ispoor,butadequateforthetask.Mostimportant,thecostofthesemicrocontrollersisverylow,makingtheirusecosteffective.

Inthefollowingpages,weconsidertwocomputerCPUs,oneforacomplexinstructionsetcomputer(CISC)andtheotherforareducedinstructionsetcomputer(RISC).Afteradetailedexaminationofthedesigns,wecomparetheperformaneeofthetwoCPUsandpresentabriefoverviewofsomemethodsusedtoenhancethatperformanee.Finally,werelatethedesignideasdiscussedtogeneraldigitalsystemdesign.

1、Thecomplexinstructionsetcomputer

Thefirstdesignwepresentisforacomplexinstructionsetcomputerwithanon-pipelineddatapathandmicroprogrammedcontrolunit.Webeginbydescribingtheinstructionsetarchitecture,includingtheCPUregisterset,instructionformats,andaddressingmodes.The

CISCnatureoftheinstructionsetarchitectureisdemonstratedbyitsmemory-to-memoryaccessfordatamanipulationinstructions,eightaddressingmodes,twoinstructionformatlengths,andinstructionsthatrequiresignificantsequencesofoperationsfortheirexecution.

WedesignadatapathforimplementingtheCISCarchitecture.ThedatapathisbasedontheoneinitiallydescribedinSection7-9andincorporatedintoaCPUinsection8-10.modificationsaremadetotheregisterfile,thefunctionunit,andthebusestosupportthepresentinstructionsetarchitecture.

Oncethedatapathhasbeenspecified,acontrolunitisdesignedtocompletetheimplementationoftheinstructionsetarchitecture.Thedesignofthecontrolunitmustinvolveacoordinateddefinitionofboththehardwareorganizationandthemicroprogramorganization.Inparticular,dividingthemicroprogramintomicroroutines,whileatthesametimedesigningthesequencerwithwhichtheyinteract,isakeypartofthedesign.Eventheinstructionfieldsandopposedaretiedtothiscoordinatedeffort.Followingthedefinitionofthehardwareandmicrocodeorganizations,wedetailessentialpartsofthemicrocodeandthemicroroutinesforrepresentativeoperations.

Instructionsetarchitecture

Figure10-1showstheCISCregistersetaccessibletotheprogrammer.Allregistershave16bits.Theregisterfilehaseightregisters,ROthoughR7.R0isaspecialregisterthatalwayssuppliesthevaluezerowhenitisusedasasourceanddiscardstheresultwhenitisusedasadestination.

□FIGURE10-1

CPURegisterDiagrGmForCISC

Inadditionaltotheregisterfile,thereisaprogramcounterPCandstackpointerSP.Thepresenceofastackpointerindicatesthatamemorystackisapartofthearchitecture.thefinalregisteristheprocessorstatusregistePSRwhichcontainsinformationonlyinitsrightmostthefivebits;theremainderoftheregisterisassumedtocontainzero.ThePSRcontainsthefourstoredstatusbitvaluesZ,N,C,andVinpositions3through0,respectively.Inadditional,astoredi

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > IT计算机 > 电脑基础知识

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1