首页> 中文期刊>计算机技术与发展 >基于状态机的CAN2.0总线协议的实现

基于状态机的CAN2.0总线协议的实现

     

摘要

The types and formats of frame and the bus control states, specified in CAN 2.0 bus protocol, are complex. For the realization of its protocol function and state control,in the actual circuit design process,use state machine to simplify and achieve the process of the status control and protocol function in CAN bus controller system. In this paper,based on this method,design the status control state machine and packet receiver state machine of CAN bus controller,build the hardware circuit by RTL code. Through the software platform of E language based Specman Elite and modelsim 6. 2 for simulation and verification, the circuit function is correct and meet the requirements of design and application.%CAN2.0总线协议中所规定的帧的种类和格式以及总线的状态控制过程较为复杂,在实际电路设计过程中,为能更好地实现其协议功能和状态控制,可以采用状态机来简化和实现CAN总线控制器系统中的协议功能和状态控制过程.文中基于这种方法设计出CAN总线控制器状态控制状态机和报文接收状态机,通过编写RTL级代码,设计出硬件电路.在设计完成后,使用基于e语言的SpecmanElite和modelsim6.2软件平台进行仿真和验证,结果表明该电路功能正确,满足设计要求和使用要求.

著录项

相似文献

  • 中文文献
  • 外文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号