User guide
CIF Peripheral Model - SimpleTimer
CoMET Version 5.9 – Tutorial 125
Adding the Target Image
After compiling the target code, you add the Target Image to the SimpleVSP1 Targets.
See Adding a Target Image, page 69.
The example above shows a target compiled for a SimpleVSP using the ARM926EJS1 VPM.
Simulating SimpleVSP1 with SimpleTimer
You can now simulate SimpleVSP1 with the SimpleTimer device and test target code. See
Simulating SimpleVSP1, page 70.
Prior to simulating, you may wish to set up a Metrix trace (See the SimpleVSP1 tutorial,
Obtaining a Metrix Trace on page 77) or VCD output (see the SimpleVSP1 tutorial,
Obtaining a Value Change Dump on page 74). Note that the simulation runs much more
slowly with VCD or Metrix turned on.
With all projects built, SimpleTimer1 selected as the Active Project, and the timer test target
image specified as the active Target:
Click the Simulate button:
or choose Workspace/Simulate (Alt-F5)
Output
SimpleTimer Debug Configuration Software Window Output
Sample output from the target code show, with the SimpleTimer model compiled in Debug
configuration, and Metrix disabled, is as follows:
CoMET is generating the platform configuration file
*** fmx2config - Version v1.4.0 ***
Created output file: VcRelease\config_overrides.pcf
/Top/VastGpReset1 VaST GP Reset Generator Module v3.0.0
/Top/VastGpClock1 VaST GP Clock Module v3.0.0