Creating Simulation Executable Files
You can use the op_mksim utility to create simulation executables that can be run from the command line. This has several advantages:
- The executable files can be debugged using source-level debuggers.
- You can statically bind external archive libraries (
.afiles) to the simulation.
Procedure 1: Creating an Executable File
-
At the command prompt, type
op_mksimfollowed by any necessary preferences. See “op_mksim” on page 182 for details about the op_mksim program.The op_mksim program creates a
.simexecutable file and, by default, places it in the same directory as the network model file.To run the executable file, do one of the following things:
- Move to the network model directory and enter
<executable_name>.<code_type>.<arch_suffix>.simat the command prompt. - Specify the full path name of the
.simfile from the command prompt. - Run the simulation from the Simulation Sequence Editor (you must specify the op_mksim executable program as the simulation program name on the Execution:Advanced:Application page).
- Move to the network model directory and enter