User guide

CIF Peripheral Model - SimpleTimer
CoMET Version 5.9 – Tutorial 127
debug output from the SimpleTimer1 module instance
lines beginning with
Scheduler Debug: /Top/VirtualPlatform1/SimpleTimer1:
CoMET simulation statistics:
lines beginning
Total Instructions Executed
SimpleTimer Release Configuration Software Window Output
Sample output from the target code show, with the SimpleTimer model compiled in Debug
configuration, and Metrix enabled, is as follows. Note that the SimpleTimer output is
missing. Note from the CoMET simulation statistics, beginning "Total Instructions
Executed", that the simulation takes much longer.
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
/Top/VirtualPlatform1/VastGpStdLogic01 VaST GP Standard Logic 0 Module
v3.0.0
/Top/VirtualPlatform1/GenericMemory1[0] VaST GP Memory Module v3.8.0:
Start Address 0x0, Size 0x800000, Memory width 4 bytes
/Top/VirtualPlatform1/GenericMemory1[1] VaST GP Memory Module v3.8.0:
Start Address 0xa0000000, Size 0x4000000, Memory width 4 bytes
/Top/VirtualPlatform1/GenericMemory1[2] VaST GP Memory Module v3.8.0:
Start Address 0xe0000000, Size 0x100000, Memory width 4 bytes
/Top/VirtualPlatform1/ARM926EJS1 VaST ARM926EJS Virtual Processor Model v4.4.5
/Top/VirtualPlatform1/ARM926EJS1 (C) 2000-2003 VaST Systems Technology Corp. All
rights reserved.
/Top/VirtualPlatform1/ARM926EJS1 Starting
'/Top/VirtualPlatform1/ARM926EJS1.ARM926EJS' ...
/Top/VirtualPlatform1/StdBus1 VaST StdBus Module, v3.8.1, protocol set to
StdBus
/Top/VirtualPlatform1/SimpleTimer1 VaST SimpleTimer v1.0.0
Probing StdBus Net: /Top/VirtualPlatform1/StdBus1Net
Probing StdLogic Net: /Top/VirtualPlatform1/IrqNet
Probing StdClock Net: /Top/VirtualPlatform1/PlatformClock
Loading 'Elf' File
'C:\work\cometprojects\SimpleVSP\TimerTest\ArmCcDebug\TimerTest.axf' to
'/Top/VirtualPlatform1/ARM926EJS1'
Loaded ELF file with start address 0x00000194.
/Top/VirtualPlatform1/ARM926EJS1 Target: Testing the SimpleTimer
/Top/VirtualPlatform1/ARM926EJS1 Target: Interrupt 1 handled at GTR value 0xff53.
/Top/VirtualPlatform1/ARM926EJS1 Target: Interrupt 2 handled at GTR value 0xff50.
/Top/VirtualPlatform1/ARM926EJS1 Target: Interrupt 3 handled at GTR value 0xff51.
/Top/VirtualPlatform1/ARM926EJS1 Finished running
/Top/VirtualPlatform1/ARM926EJS1 Total Instructions Executed 52646 using 200194
cycles in 2 mSec (Simulated Time)
/Top/VirtualPlatform1/ARM926EJS1 in 2995 mSec (Real Time)
With Metrix disabled and in Release mode, the simulation is quickest. Sample CoMET
simulation statistics are as follows:
/Top/VirtualPlatform1/ARM926EJS1 Total Instructions Executed 52646 using 200194
cycles in 2 mSec (Simulated Time)
/Top/VirtualPlatform1/ARM926EJS1 in 68 mSec (Real Time)