112047Schristian.menard@tu-dresden.de# Copyright (c) 2015, University of Kaiserslautern 212047Schristian.menard@tu-dresden.de# All rights reserved. 312047Schristian.menard@tu-dresden.de# 412047Schristian.menard@tu-dresden.de# Redistribution and use in source and binary forms, with or without 512047Schristian.menard@tu-dresden.de# modification, are permitted provided that the following conditions are 612047Schristian.menard@tu-dresden.de# met: 712047Schristian.menard@tu-dresden.de# 812047Schristian.menard@tu-dresden.de# 1. Redistributions of source code must retain the above copyright notice, 912047Schristian.menard@tu-dresden.de# this list of conditions and the following disclaimer. 1012047Schristian.menard@tu-dresden.de# 1112047Schristian.menard@tu-dresden.de# 2. Redistributions in binary form must reproduce the above copyright 1212047Schristian.menard@tu-dresden.de# notice, this list of conditions and the following disclaimer in the 1312047Schristian.menard@tu-dresden.de# documentation and/or other materials provided with the distribution. 1412047Schristian.menard@tu-dresden.de# 1512047Schristian.menard@tu-dresden.de# 3. Neither the name of the copyright holder nor the names of its 1612047Schristian.menard@tu-dresden.de# contributors may be used to endorse or promote products derived from 1712047Schristian.menard@tu-dresden.de# this software without specific prior written permission. 1812047Schristian.menard@tu-dresden.de# 1912047Schristian.menard@tu-dresden.de# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 2012047Schristian.menard@tu-dresden.de# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 2112047Schristian.menard@tu-dresden.de# TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 2212047Schristian.menard@tu-dresden.de# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER 2312047Schristian.menard@tu-dresden.de# OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 2412047Schristian.menard@tu-dresden.de# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 2512047Schristian.menard@tu-dresden.de# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 2612047Schristian.menard@tu-dresden.de# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 2712047Schristian.menard@tu-dresden.de# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 2812047Schristian.menard@tu-dresden.de# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 2912047Schristian.menard@tu-dresden.de# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 3012047Schristian.menard@tu-dresden.de# 3112047Schristian.menard@tu-dresden.de# Authors: Matthias Jung 3212047Schristian.menard@tu-dresden.de 3312047Schristian.menard@tu-dresden.de 3412047Schristian.menard@tu-dresden.de# This format supports comments using the '#' symbol as the leading 3512047Schristian.menard@tu-dresden.de# character of the line 3612047Schristian.menard@tu-dresden.de# 3712047Schristian.menard@tu-dresden.de# The file format contains [STATE]+ [INIT] [TRANSITION]+ in any order, 3812047Schristian.menard@tu-dresden.de# where the states are the nodes in the graph, init describes what 3912047Schristian.menard@tu-dresden.de# state to start in, and transition describes the edges of the graph. 4012047Schristian.menard@tu-dresden.de# 4112047Schristian.menard@tu-dresden.de# STATE <id> <duration (ticks)> <type> 4212047Schristian.menard@tu-dresden.de# 4312047Schristian.menard@tu-dresden.de# State IDLE idles 4412047Schristian.menard@tu-dresden.de# 4512047Schristian.menard@tu-dresden.de# States LINEAR and RANDOM have additional <percent reads> <start addr> 4612047Schristian.menard@tu-dresden.de# <end addr> <access size (bytes)> <min period (ticks)> <max period (ticks)> 4712047Schristian.menard@tu-dresden.de# <data limit (bytes)> 4812047Schristian.menard@tu-dresden.de# 4912047Schristian.menard@tu-dresden.de# State TRACE plays back a pre-recorded trace once 5012047Schristian.menard@tu-dresden.de# 5112047Schristian.menard@tu-dresden.de# Addresses are expressed as decimal numbers. The period in the linear 5212047Schristian.menard@tu-dresden.de# and random state is from a uniform random distribution over the 5312047Schristian.menard@tu-dresden.de# interval. If a specific value is desired, then the min and max can 5412047Schristian.menard@tu-dresden.de# be set to the same value. 5512047Schristian.menard@tu-dresden.deSTATE 0 1000000 LINEAR 50 0 256 4 5000 5000 64 5612047Schristian.menard@tu-dresden.deINIT 0 5712047Schristian.menard@tu-dresden.deTRANSITION 0 0 1 58