


全文预览已结束
付费下载
下载本文档
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
浙江工业大学浙西分校信电系系毕业论文(中英文资料)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. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 电商直播基地供应链金融与风险防控研究报告
- 2025年医学影像学题库及答案
- 2025年内蒙古自治区鄂尔多斯市导游资格全国导游基础知识模拟题(附答案)
- 2025年高级养老护理员职业技能考试笔试试题2附答案
- 读书会活动通知
- 图形宝宝找家课件
- 工程项目迎接检查方案(3篇)
- 2025年未来出行报告:新能源汽车换电技术与电池资产管理模式创新解析
- 园林景观工程旁站方案(3篇)
- 桔子果树工程技术方案(3篇)
- 光伏电站组件清洗方案计划
- T-CFA 030501-2020 铸造企业生产能力核算方法
- 当代中国外交(外交学院)知到智慧树章节测试课后答案2024年秋外交学院
- 护理工作中的冲突与管理
- 北京地区建筑地基基础勘察设计准则
- 《社区调查报告》课件
- 2025-2025学年外研版七年级英语上册教学计划
- 《胸腔穿刺术》课件
- 《人才选用育留》课件
- 农村土地使用权转让协议书
- 任务1 混合动力汽车动力系统基本组成与原理
评论
0/150
提交评论