Plugins are an exciting feature of the ARMSim# simulator. They
enable the user to extend the functionality by adding simulated
external hardware with GUIs, adding hypothetical hardware
and/or instructions (e.g. the 64 bit register given below),
or by adding hypothetical instructions alone.
In order to install any Plugin you must have
ARMSim# itself installed.
The installation of version 1.91 comes packaged with 2 Plugins:
PlugIn for the I/O SWI instructions codes and the Plugin
for the emulation of the board view based on the Embest
board's I/O devices (see below for more details).
All that is required to install a Plugin is
to copy the corresponding .dll files to the same directory
as the ARMSim# executable. The Plugin is automatically enabled
when ARMSim# starts. Each Plugin is composed of two .dll files:
- ARMPluginInterfaces.dll - this is the main interface to any other Plugin and is required at all times.
- PluginName.dll - this is the local Plugin for a particular example.
Once a Plugin is installed in the same directory
as the ARMSim# executable, they are automatically
available in the list found at File/Preferences ->Plugins
tab. A Plugin is not however automatically enabled. The checkbox
must be ticked next to its name in the File/Preferences ->Plugins
tab list. See also the user
Writing New Plugins
Some initial instructions are available from
the documentation page.
Each example Plugin provided will soon include the full source
code and the binaries.
Studying the source code of the example Plugins together
with the Writing
Plugins document, should provide sufficient information enable
the user to implement new plugins.