全文预览已结束
下载本文档
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
浙江工业大学浙西分校信电系系毕业论文(中英文资料)Modelingmicro-controllerperipheralsforhigh-levelco-simulationandsynthesisMappingabehavioronanembeddedsysteminvolveshardware-softwarepartitioningandassignmentofsoftwareandhardwaretaskstodifferentcomponents.Inparticular,softwaretasksinembeddedcontrollersaremostlyassignedtoamicro-controller.However,somemicro-controllerperipheralsareimplementedwithpartlyprogrammablecomponentsthatcanberegardedasverysimpleco-processorswithlimitedinstructionsetsandcapabilities.Embeddedsystemdesignersareusedtomappingsomesimplesoftwaretasksontothesesimpleco-processors,obtainingoverallperformancesthatcanbeordersofmagnitudesuperiortotheonesobtainedmappingallsoftwaretaskstothemicro-controlleritself.Inthispaper,weproposeamethodologytospecify,simulate,andpartitiontasksthatcanbeimplementedonprogrammablemicro-controllerperipheralssuchasTimingProcessingUnitsPUS).Followingourgeneralphilosophy,weletthedesignerproposeapartition,andweprovideanenvironment0toefficientlysimulateandevaluateaparticularimplementationchoice0toautomatedownstreamsynthesisforsoftware,hardware,aswellasperipheralprogrammingroutines.1ImplementationandCaseStudyWehaveimplementedsuchalibraryforthe68hcllfamilyofmicro-controllersfromMotorola.Itincludes:0Thetimerunit,implementinginputcaptureandoutputcomparefunctions,thatmeasuretimebetweeninputand0TheALIIconvertoutputeventsusinga16bitfreerunningcounter.0ThePWMgeneratorspresentonaspecificfamilymembertargetedforautomotiveapplications.EachfunctionofthetimerunitandofthePWMgeneratorisdescribedbothatthebehaviorallevel,usingthesimulatortimingfunctionstoimplementtime,andattheRegisterTransferlevel,usingacycle-accuratemodelofthehardware.Thelatterisalsousedforhardwareandsoftwaresynthesis,iftheperipheralisnotused.Croutinesareusedtointerfacetotheperipheral.TheprecisionoftheRTLmodelcanbescaled,bydividingtheclock.Asinglesimulationparametercontrolsthisscalingwithoutaffectingtheoverallbehavior(apartfromthelossofprecision).Wehavespecifiedthefunctionalityofacompletedashboardcontroller,thatusesthe68hcl1peripherals.Note,withthestandardco-designmethods,usingonlyfullyprogrammableprocessorsorhardware,allthetasksimplementedbytheperipheralscouldbeimplementedonlyassoftwaretasks,thusyieldingalessperformingsolution,orashardwaretasks,thusyieldingahighercostandlessflexiblesolution.Hencethemethodpresentedhereisrequiredinordertoobtainasolutionqualitycomparable浙江工业大学浙西分校信电系系毕业论文(中英文资料)withmanualdesign.Thespeedofthebehavioralsimulationwasabout260,000clockcyclespersecond.ThespeedoftheRTLsimulationrangedalmostlinearlyfrom2,000clockcyclespersecondto50,000clockcyclesdependingontheclockscalingfactor,from1to32.Theexperimentswereperformedona60MHzULTRAsparc.Atsynthesistime,theappropriateU0driversareextractedfromthelibraryandcustomizedbytheco-designtools.WealsosynthesizedahardwareimplementationforthePWMgeneratorsofthedashboardcontroller,becausetheyarenotavailableonallmembersofthe68hcllfamily.Weanalyzedthecosttrade-offsofusingsomesmallASICtoimplementthatfunction.Ahardwareimplementation,usingXILINXFPGAsforrapidprototypingpurposesrequired374CLBs(with203flip-flops)and60U0pads,thatwouldfitonaXILINX4010chip.2ConclusionTheproposedsolutionforhigh-levelspecificationofmicro-controllerperipheralsretainsmostoftheadvantagesandflexibilityofhardwaresoftwareco-design(uniformmodeling,fastco-simulation,formalverification,flexibilityintargetimplementation,.Thelimitisthatthedesignerhastodecideonwhetherornotafunctionisimplementableusingaparticularperipheral,andsometimessuchadecisionmustbemadeaboutperipheralsthatmaybeonlyslightlydifferentbetweendifferentmicro-controllers.Furtherresearchisstillneededtodevelopmappingtechniquesfromanunbiasedspecificationtopartiallyprogrammabledevices.浙江工业大学浙西分校信电系系毕业论文(中英文资料)模拟单片机外设的高级共仿真和综合映射在一个嵌入系统上的行为包括硬件-软件区分和对于不同成分上硬件和软件的任务。特别的,在嵌入控制上的软件任务由单片机执行。但是,一些单片机外围设备一起实现部分可设计的成分,这些成分被当作限制性的指令组合和能力的非常简单的共处理器。嵌入系统设计者习惯于把一些简单的软件工作映射到这些简单的共处理器,以获得把大规模指令转向获得映射所有软件任务的单片机本身。本文,我们打算一种方法去叙述,仿真,和区分那些可能是被用于可设计的单片机外围设备,比如时间处理单元(TPUs)。通过我们的一般原理,我们让设计者计划分割,且我们提供一个环境去有效仿真和评估一个特殊执行选择。为软件,硬件和外围设备规划常式自动化下游的综合。1、落实和个案研究我们已经实现了来自摩托罗拉的单片机68hcll系列。它包括:定时单元,实现输入摄入输出比较功能,使用16位自由运行计算器的输入和输出两者间的测试时间。A/D转换器PWM产生器在一个特定的系列成员上为汽车的申请对准。我们已经叙述完全的仪表板控制器的功能性,这些控制器使用68hcl1外围设备。注意共设计方法的标准,使用只有完全可设计的处理器或硬件,所有的被外设实现的工作能仅仅如软件工作那样实现,如此产生一个更高的成本和更少灵活的方法。因此,在这里呈现的方法被要求为了获得一个解决特性相比较手动设计。行为模拟速度大约是260000时钟循环每秒。RTL模拟速度范围从2000时钟循环每秒到5000时钟循环每秒线性变化,依靠时钟计数因素,从1到32。试验在60MHZ的ULTRAsparc上被运行。综合时间,适当的I/O驱动从图书馆和有共设计工具的客户上被修改。我们也为仪表板控制器的PWM产生器综合硬件实现,因为他们在68hcll单片机系列所有成员不是适当的
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 《新编高等数学》课件4高等数学-第四章 中值定理及导数应用
- 中广酷特丙酮废气处理项目招标文件
- 中考满分作文素材化用小标题题记记叙文
- 年产3000吨功能糖项目环评可研资料环境影响
- 护理礼仪概论课件
- 合金片式固定电阻行业总体规模、主要企业国内外市场占有率及排名
- 《耳与听觉作业设计方案-2023-2024学年科学华东师大版2012》
- 2024南外+金陵中学+海安中学高考考前模拟英语试题+答案
- 铝合金车轮项目风险管理方案
- 2024年南昌市高三二模(第二次模拟测试)物理试卷(含答案)
- 2024年湖南华电长沙发电有限公司招聘笔试参考题库含答案解析
- 《现场道路检测》课件
- 我国农村社会保障体系问题及对策研究
- 如何与癌症患者沟通与支持
- 微创介入医疗器械发展前景分析
- 闽教版三年级英语上册各单元单词默写练习卷
- 陕西烟草考试题库2024
- 河南数字经济人才需求与培养策略
- 挂靠运输协议
- 哈姆雷特课件
- 玉米烘干塔项目可行性实施实施计划书
评论
0/150
提交评论