Motorola DSP Developer's Kit    

Instantiating the Motorola DSP Simulator

A simulator library and executable exist for each supported Motorola DSP family.

The simulator is run in the background by instantiating a MOTDSP_IssCustom class object or run interactively with the full simulator graphical user interface (GUI) by using the MOTDSP_IssStandAlone class. First, you must use the CREATE_SIMS macro outside of the try block to create the required simulator class. To switch between the two modes rebuild your MEX-file by using compiler directives. For example, the templates and supplied functions use STANDALONE.

The constructors for each class are identical and take four string arguments:

For example, use the INSTANCE_SIMS macro

or the C++ style instantiation

When the simulator is instantiated, it loads the assembly or C-code binary and reads its symbol information.


 Instantiating Input and Output Objects Running the Simulation