摘要
CAN2.0总线协议中所规定的帧的种类和格式以及总线的状态控制过程较为复杂,在实际电路设计过程中,为能更好地实现其协议功能和状态控制,可以采用状态机来简化和实现CAN总线控制器系统中的协议功能和状态控制过程。文中基于这种方法设计出CAN总线控制器状态控制状态机和报文接收状态机,通过编写RTL级代码,设计出硬件电路。在设计完成后,使用基于e语言的SpecmanElite和modelsim6.2软件平台进行仿真和验证,结果表明该电路功能正确,满足设计要求和使用要求。
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.
出处
《计算机技术与发展》
2012年第5期141-144,共4页
Computer Technology and Development