


全文預覽已結束
下載本文檔
版權說明:本文檔由用戶提供并上傳,收益歸屬內容提供方,若內容存在侵權,請進行舉報或認領
文檔簡介
浙江工業大學浙西分校信電系系畢業論文(中英文資料)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咸寧市園林綠化施工承包合同
- 2025員工與公司協商終止的合同協議
- 2025【村路面硬化工程施工合同】村基礎設施提升項目施工合同
- 2025【合同轉讓協議書】普通商品轉讓合同范本
- 2025企業技術研發人員勞動合同
- 2025企業間借款的合同協議書
- 2025買賣合同爭議解決方法
- 2025版權授權合同協議書范本
- CJT 306-2009 建設事業非接觸式CPU卡芯片技術要求
- 臨床檢驗儀器與技術復習
- 燃氣設備維修保養合同范本
- 供貨方案及供貨計劃(2篇)
- CATIA創成式曲面設計經典收藏
- QC/T 922-2023 汽車用空氣濾清器濾芯 (正式版)
- 2024年高考政治必修二 《經濟與社會》(思維導圖+核心考點+易混易錯)
- 個人借車免責協議書完整版
- 中華人民共和國突發事件應對法課件
- SYT5405-2019酸化用緩蝕劑性能試驗方法及評價指標
- 內鏡下內痔套扎治療
評論
0/150
提交評論