3.3.5.2 Simulator Options Used with the Set Command

The following table provides additional information for simulator options used with the set command.

Important: The set command, including the tool property options, must be executed before the Hwtool command is issued, otherwise the changes to the tool properties will be ignored.
Note: For the following table, the break options allow you to set the conditions that will cause program execution to halt. In general, the program will either break on option, ignore the option, or report the option.
Table 3-8. Simulator Options Used with the Set Command
Simulator Options Values Device or Runtime Dependent
warningmessagebreakoptions.[see list in Table 3-9]

Sets the condition if an error or warning occurs.

Example:

set warningmessagebreakoptions.W0001_CORE_BITREV_MODULO_EN Break

Break, Ignore, Report No
codecoverage.enabled

Enables or disables code coverage

Example:

set codecoverage.enabled Disable

Disable,
   Enabled_Reset_on_POR
   Enabled_Reset_on_Run
No
codecoverage.enableoutputtofile

Enables write to file

Example:

set codecoverage.enableoutputtofile true

true, false No
codecoverage.outputtofile

Absolute path to output file

Example:

set codecoverage.outputtofile “c:\path\to\file.txt”

String path No
oscillator.auxfrequency

Auxiliary PLL Frequency, used by PWM and ADC

Example:

set oscillator.auxfrequency 4400

Numeric Yes
oscillator.auxfrequencyunit

Auxiliary PLL Frequency Units

Example:

set oscillator.auxfrequencyunit None

Mega, Kilo, None Yes
oscillator.frequency

Instruction Execution Frequency

Example:

set oscillator.frequency 4700

Numeric No
oscillator.frequencyunit

Instruction Frequency Units

Example:

set oscillator.frequencyunit Kilo

Mega, Kilo, None No
oscillator.rcfrequency

RC Oscillator Frequency

Example:

set oscillator.rcfrequency 4500

Numeric No
oscillator.rcfrequencyunit

RC Oscillator Frequency Units

Example:

set oscillator.rcfrequencyunit None

Mega, Kilo, None No
periphADC1.altscl

Use MPLAB 8 style ADC

Example:

set periphADC1.altscl true

true, false Yes
periphADC1.minTacq

Specifies minimum acquisition time (Tacq) in seconds

Example:

set periphADC1.minTacq 10

Numeric Yes
periphADC1.tacqunits

Units for minimum acquisition time (Tacq)

Example:

set periphADC1.tacqunits nanoseconds

milliseconds, microseconds, nanoseconds Yes
periphADC2.altscl

Use MPLAB 8 style ADC

Example:

set periphADC2.altscl true

true, false Yes
periphADC2.minTacq

Specifies minimum acquisition time (Tacq) in seconds

Example:

set periphADC2.minTacq 20

Numeric Yes
periphADC2.tacqunits

Units for minimum acquisition time (Tacq)

Example:

set periphADC2.tacqunits milliseconds

milliseconds, microseconds, nanoseconds Yes
uartNio.output

Specifies location of UART output

N represents the UART number 1 through 6

Example:

set uart1io.output file

file, window Yes
uartNio.uartioenabled

If true, the system will enable the UART I/O; if false the system will disable it

N represents the UART number 1 through 6

Example:

set uart1io.uartioenabled false

true, false Yes

uartNio.outputfile

Passes in a string containing the root (absolute path) of the file system to the file used for UART output

N represents the UART number 1 through 6

Example:

set uart1io.outputfile “c:\path\to\outputfile.txt”

Absolute path to file Yes