📄 mpsim.txt
字号:
MPSIM Software Simulator
Preface
MPSIM is a discrete-event simulator
designed to imitate operation of Microchip
Technology's PIC 16C54, 16C55, 16C56,
16C57, and to provide core simulation of
the PIC 16C71 and 16C84 microcontrollers.
It is a tool that has been created to
assist the user in debugging software that
will use any of these parts.
A discrete-event simulator, as opposed to
an in-circuit emulator, is designed to aid
in the debugging of the general logic of
your software. The MPSIM discrete-event
simulators allows the user to modify
object code and immediately re-execute,
inject external stimuli to the simulated
processor, and trace the exectution of the
object code. A simulator differs from an
in-circuit emulator in three important
areas: cost, I/O timing, and execution
speed.
The cost of the debugging tool may be an
issue with some developers. For this
reason, Microchip Technology has developed
this simulator to be a cost-effective tool
for debugging application software. MPSIM
does not require any external hardware to
the PC, which keeps the cost at a minimum.
External timing in MPSIM is processed only
once during each instruction cycle.
Transient signals, such as a spike on MCLR
at Q2 will not be simulated but may be
caught by an in-circuit emulator. In
MPSIM, external stimulus is injected just
before the next instruction cycle
execution.
The execution speed of a discrete-event
simulator is several orders of magnitude
less than a hardware-oriented solution.
Users may view slower execution speed as a
handicap or a blessing. Some discrete-
event simulators are unacceptably slow.
MPSIM however, attempts to provide the
fastest possible simulation cycle.
------------------------------------------
Chapter 1 - Introduction
MPSIM is a discrete-event simulator
designed to aid you in debugging your
software applications for Microchip
Technology's PIC 16C5X and 16CXX
microcontrollers.
Whether you are an experienced user or a
beginner, we strongly suggest that you
read this chapter first since it provides
information about:
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -