全文预览已结束
下载本文档
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
浙江工业大学浙西分校信电系系毕业论文(中英文资料)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. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- Unit 6 Lets go Lesson 35 公开课教学课件【七年级英语上册(冀教版)】
- 2024年火电电力职业技能鉴定考试-热工程控保护笔试参考题库含答案
- 2024年湖北住院医师-湖北住院医师医学影像科笔试参考题库含答案
- 2024年浙江住院医师-浙江住院医师儿科笔试参考题库含答案
- 2024年中国冷缩终端行业研究报告
- 2024年机械制造行业技能考试-模型工笔试参考题库含答案
- 2024年机关事业单位技能资格考试-公务员岗前培训笔试参考题库含答案
- 金属硫蛋白(MT)、高纯度MT、MT多糖项目商业计划书及实施方案|瑞克咨询|2024年编|
- 航空障碍灯项目市场研究报告及运营管理方案|瑞克咨询|2024年编|
- 2024年新闻出版传媒行业技能考试-电影放映员笔试参考题库含答案
- 中国地图标准版(可编辑颜色)
- 基于三菱电机E60数控车床电气控制电路设计
- 申请办理电解铜所需手续
- 巴歇尔槽流量公式计算对照表
- 复习中考英语不规则动词表(过去式、过去分词)(默写版)
- 铝酸钠的物化性质和制备方法
- 电商直播小镇项目可行性研究报告写作范文
- 二类医疗器械经营质量管理制度及工作程序
- 资产负债表模板
- 新教师自我诊断报告(共9页)
- 陕西省2020年中考化学试题(副卷)
评论
0/150
提交评论