tgen-dram-ctrl.cfg revision 10218
17977Shsul@eecs.umich.edu# This format supports comments using the '#' symbol as the leading
27977Shsul@eecs.umich.edu# character of the line
37977Shsul@eecs.umich.edu#
47977Shsul@eecs.umich.edu# The file format contains [STATE]+ [INIT] [TRANSITION]+ in any order,
57977Shsul@eecs.umich.edu# where the states are the nodes in the graph, init describes what
67977Shsul@eecs.umich.edu# state to start in, and transition describes the edges of the graph.
77977Shsul@eecs.umich.edu#
87977Shsul@eecs.umich.edu# STATE <id> <duration (ticks)> <type>
97977Shsul@eecs.umich.edu#
107977Shsul@eecs.umich.edu# State IDLE idles
117977Shsul@eecs.umich.edu#
127977Shsul@eecs.umich.edu# States LINEAR and RANDOM have additional <percent reads> <start addr>
137977Shsul@eecs.umich.edu# <end addr> <access size (bytes)> <min period (ticks)> <max period (ticks)>
147977Shsul@eecs.umich.edu# <data limit (bytes)>
157977Shsul@eecs.umich.edu#
167977Shsul@eecs.umich.edu# State TRACE plays back a pre-recorded trace once
177977Shsul@eecs.umich.edu#
187977Shsul@eecs.umich.edu# Addresses are expressed as decimal numbers, both in the
197977Shsul@eecs.umich.edu# configuration and the trace file. The period in the linear and
207977Shsul@eecs.umich.edu# random state is from a uniform random distribution over the
217977Shsul@eecs.umich.edu# interval. If a specific value is desired, then the min and max can
227977Shsul@eecs.umich.edu# be set to the same value.
237977Shsul@eecs.umich.eduSTATE 0 100 IDLE
247977Shsul@eecs.umich.eduSTATE 1 1000000000 LINEAR 100 0 134217728 64 30000 30000 0
257977Shsul@eecs.umich.eduSTATE 2 1000000 IDLE
267977Shsul@eecs.umich.eduSTATE 3 1000000000 RANDOM 50 0 134217728 64 28000 32000 0
277977Shsul@eecs.umich.eduINIT 0
287977Shsul@eecs.umich.eduTRANSITION 0 1 1
297977Shsul@eecs.umich.eduTRANSITION 1 2 1
307977Shsul@eecs.umich.eduTRANSITION 2 3 1
317977Shsul@eecs.umich.eduTRANSITION 3 3 1
327977Shsul@eecs.umich.edu