TrafficGen.py (9241:6cfb9a7acb1b) TrafficGen.py (9338:97b4a2be1e5b)
1# Copyright (c) 2012 ARM Limited
2# All rights reserved.
3#
4# The license below extends only to copyright in the software and shall
5# not be construed as granting a license to any other intellectual
6# property including but not limited to intellectual property relating
7# to a hardware implementation of the functionality of the software
8# licensed hereunder. You may use the software subject to the license

--- 47 unchanged lines hidden (view full) ---

56# specific generator behaviour. Examples include idling, generating
57# linear address sequences, random sequences and replay of captured
58# traces. By describing these behaviours as states, it is straight
59# forward to create very complex behaviours, simply by arranging them
60# in graphs. The graph transitions can also be annotated with
61# probabilities, effectively making it a Markov Chain.
62class TrafficGen(MemObject):
63 type = 'TrafficGen'
1# Copyright (c) 2012 ARM Limited
2# All rights reserved.
3#
4# The license below extends only to copyright in the software and shall
5# not be construed as granting a license to any other intellectual
6# property including but not limited to intellectual property relating
7# to a hardware implementation of the functionality of the software
8# licensed hereunder. You may use the software subject to the license

--- 47 unchanged lines hidden (view full) ---

56# specific generator behaviour. Examples include idling, generating
57# linear address sequences, random sequences and replay of captured
58# traces. By describing these behaviours as states, it is straight
59# forward to create very complex behaviours, simply by arranging them
60# in graphs. The graph transitions can also be annotated with
61# probabilities, effectively making it a Markov Chain.
62class TrafficGen(MemObject):
63 type = 'TrafficGen'
64 cxx_header = "cpu/testers/traffic_gen/traffic_gen.hh"
64
65 # Port used for sending requests and receiving responses
66 port = MasterPort("Master port")
67
68 # Config file to parse for the state descriptions
69 config_file = Param.String("Configuration file describing the behaviour")
70
71 # System used to determine the mode of the memory system
72 system = Param.System(Parent.any, "System this generator is part of")
65
66 # Port used for sending requests and receiving responses
67 port = MasterPort("Master port")
68
69 # Config file to parse for the state descriptions
70 config_file = Param.String("Configuration file describing the behaviour")
71
72 # System used to determine the mode of the memory system
73 system = Param.System(Parent.any, "System this generator is part of")