When using the translation scripts files, you will sometimes want to pass additional command-line options to SimSwapper itself. To pass extra command-line options to SimSwapper when using the translation scripts, you set them in the environment variable SYNCAD_SIMSWAPPER_ARGS.
Typically, the main SimSwapper options of interest to users are:
•--config filename for setting up argument substitutions •--create-ini filename for getting a template file for argument substitutions •--debug for debugging the translation of a script command line |
Setting the SYNCAD_SIMSWAPPER_ARGS environment variable:
Each time a translation script is run, it passes the SYNCAD_SIMSWAPPER_ARGS environment variable, the source and destination simulators, and then any other arguments that are in your simulation script. Here is an example of setting the environment variable to pass in a configuration file to perform argument substitutions.
set SYNCAD_SIMSWAPPER_ARGS=--config your_simswapper.ini |