中英文资料-模拟单片机外设的高级共仿真和综合

3.0 闻远设计 2023-09-29 49 4 49.5KB 3 页 15光币
侵权投诉
浙江工业大学浙西分校信电系系毕业论文(中英文资料)
Modeling micro-controller peripherals
for high-level co-simulation and synthesis
Mapping a behavior on an embedded system involves hardware-software
partitioning and assignment of software and hardware tasks to different components.
In particular, software tasks in embedded controllers are mostly assigned to a micro-
controller. However, some micro-controller peripherals are implemented with partly
programmable components that can be regarded as very simple co-processors with
limited instruction sets and capabilities. Embedded system designers are used to
mapping some simple software tasks onto these simple co-processors, obtaining
overall performances that can be orders of magnitude superior to the ones obtained
mapping all software tasks to the micro-controller itself. In this paper, we propose a
methodology to specify, simulate, and partition tasks that can be implemented on
programmable micro-controller peripherals such as Timing Processing Units P U S ) .
Following our general philosophy, we let the designer propose a partition, and we
provide an environment 0 to efficiently simulate and evaluate a particular
implementation choice 0 to automate downstream synthesis for software, hardware, as
well as peripheral programming routines.
1 Implementation and Case Study
We have implemented such a library for the 68hcll family of micro-controllers
from Motorola . It includes: 0 The timer unit, implementing input capture and output
compare functions, that measure time between input and 0 The ALII convert output
events using a 16 bit free running counter. 0 The PWM generators present on a
specific family member targeted for automotive applications.
Each function of the timer unit and of the PWM generator is described both at
the behavioral level, using the simulator timing functions to implement time, and at
the Register Transfer level, using a cycle-accurate model of the hardware. The latter is
also used for hardware and software synthesis, if the peripheral is not used. C routines
are used to interface to the peripheral. The precision of the RTL model can be scaled,
by dividing the clock. A single simulation parameter controls this scaling without
affecting the overall behavior (apart from the loss of precision).
We have specified the functionality of a complete dashboard controller, that uses
the 68hcl1 peripherals. Note, with the standard co-design methods, using only fully
programmable processors or hardware, all the tasks implemented by the peripherals
could be implemented only as software tasks, thus yielding a less performing solution,
or as hardware tasks, thus yielding a higher cost and less flexible solution. Hence the
method presented here is required in order to obtain a solution quality comparable

标签: #单片机

摘要:

浙江工业大学浙西分校信电系系毕业论文(中英文资料)Modelingmicro-controllerperipheralsforhigh-levelco-simulationandsynthesisMappingabehavioronanembeddedsysteminvolveshardware-softwarepartitioningandassignmentofsoftwareandhardwaretaskstodifferentcomponents.Inparticular,softwaretasksinembeddedcontrollersaremostlyassignedtoamic...

展开>> 收起<<
中英文资料-模拟单片机外设的高级共仿真和综合.doc

共3页,预览1页

还剩页未读, 继续阅读

作者:闻远设计 分类:课程设计课件资料 价格:15光币 属性:3 页 大小:49.5KB 格式:DOC 时间:2023-09-29

开通VIP享超值会员特权

  • 多端同步记录
  • 高速下载文档
  • 免费文档工具
  • 分享文档赚钱
  • 每日登录抽奖
  • 优质衍生服务
/ 3
客服
关注