19242SN/A# This format supports comments using the '#' symbol as the leading
29242SN/A# character of the line
39242SN/A#
49242SN/A# The file format contains [STATE]+ [INIT] [TRANSITION]+ in any order,
59242SN/A# where the states are the nodes in the graph, init describes what
69242SN/A# state to start in, and transition describes the edges of the graph.
79242SN/A#
89242SN/A# STATE <id> <duration (ticks)> <type>
99242SN/A#
109242SN/A# State IDLE idles
1110218Sandreas.hansson@arm.com#
1210218Sandreas.hansson@arm.com# States LINEAR and RANDOM have additional <percent reads> <start addr>
1310218Sandreas.hansson@arm.com# <end addr> <access size (bytes)> <min period (ticks)> <max period (ticks)>
149242SN/A# <data limit (bytes)>
159242SN/A#
169242SN/A# State TRACE plays back a pre-recorded trace once
179242SN/A#
189242SN/A# Addresses are expressed as decimal numbers, both in the
199242SN/A# configuration and the trace file. The period in the linear and
209242SN/A# random state is from a uniform random distribution over the
219242SN/A# interval. If a specific value is desired, then the min and max can
229242SN/A# be set to the same value.
2310218Sandreas.hansson@arm.comSTATE 0 100 IDLE
249392SN/ASTATE 1 1000000000 LINEAR 100 0 134217728 64 30000 30000 0
2510218Sandreas.hansson@arm.comSTATE 2 1000000 IDLE
2610218Sandreas.hansson@arm.comSTATE 3 1000000000 RANDOM 50 0 134217728 64 28000 32000 0
279242SN/AINIT 0
289242SN/ATRANSITION 0 1 1
2910218Sandreas.hansson@arm.comTRANSITION 1 2 1
3010218Sandreas.hansson@arm.comTRANSITION 2 3 1
3110218Sandreas.hansson@arm.comTRANSITION 3 3 1
32