XTAL Command

Use the XTAL command to change the value of the simulated external oscillator. This in turn affects the input to the PLL/DCO, and therefore the bus frequency. The P&E simulator is a cycle-based simulator, so changing the XTAL value does not affect the speed of simulation. It does, however, affect the ratio in which peripherals receive cycles. Certain peripherals that run directly from the XTAL will run at different speeds than those that run from the bus clock.

Syntax
  >gdi XTAL <n>  

Where: � <n>, by default, is a hexadecimal number, representing the simulated frequency of an external oscillator. Adding the suffix `t' to the 'n' parameter forces the input value to be interpreted as base 10.

Example
  >gdi XTAL  

Brings up an input window. The default base for this input value is 10. However, this value can be forced to a hexadecimal format through use of the suffix 'h'.