文档介绍:þ ü
1
1
1
ö ö
《现代电子技术》2005 年第 14 期总第 205 期嵌入式与单片机
1
单片机应用系统仿真策略的研究
刘文秀
(广东韶关学院机电系广东韶关 512005)
摘要: 针对大中专院校开设的《单片机原理与接口技术》课程实验教学环节中, 单片机硬件容易损坏及维护问题, 研
制开发了单片机硬、软件系统的仿真软件。他将完全取代单片机硬件仿真器和单片机汇编语言仿真软件, 取而代之的是以
PC 机为平台, 基于VB 的可视化界面、事件驱动原理, 在VB 的环境下, 实现对单片机系统软件的模拟和硬件电路的仿真。
本文阐述了一种基于离散事件系统仿真原理的单片机系统仿真软件的仿真策略。采用进程交互法对单片机的硬、软件系统
实现了仿真。
关键词: 单片机; 仿真策略; 仿真模型; 仿真时钟
中图分类号: T P336. 1 文献标识码: A 文章编号: 1004 373X (2005) 14 025 03
Stud ies on Simulation Protocols for Single Ch ip Application System
L IU W enxiu
(Schoo l of A utom ation, Shaoguan U niversity, Shaoguan, 512005, China)
Abs tra c t: "P rinciple and Interface techno logy of Sigle Ch ip " is a m ain course in engineering co llege, and the p roblem that the
hardw are simulato rs of single ch ip go out of wo rk often happens. T he hardw are simulato rs of single ch ip and the assem ble language of
single ch ip w ill be rep laced by thesimulation softw are of single ch ip, w h ich is based on PC p latfo rm , is p rogramm ed w ith VB6 0, and
is able to simulate the softw are and hardw are of single ch ip T h is paper p resents a simulation p ro toco l fo r single ch ip system
simulation softw are based on discrete event system simulation. P rocess interaction m ethod to simulate single ch ip system including its
hardw are and softw are is used
Ke yw o rds: single ch ip; simulation p ro toco l; si