summaryrefslogtreecommitdiff
path: root/src/cpu/testers/traffic_gen/TrafficGen.py
diff options
context:
space:
mode:
authorAndreas Hansson <andreas.hansson@arm.com>2013-05-30 12:54:04 -0400
committerAndreas Hansson <andreas.hansson@arm.com>2013-05-30 12:54:04 -0400
commitc9c35da9343a763385f8c4680ff9b667be224e1d (patch)
tree73a1faa28f6ac3afef1e9cb2d919102ba2d87fb0 /src/cpu/testers/traffic_gen/TrafficGen.py
parentba11a02cf2e6259d091017f7d44ca1551736ccd3 (diff)
downloadgem5-c9c35da9343a763385f8c4680ff9b667be224e1d.tar.xz
cpu: Move traffic generator sending out of generator states
This patch moves the responsibility for sending packets out of the generator states and leaves it with the top-level traffic generator. The main aim of this patch is to enable a transition to non-queued ports, i.e. with send/retry flow control, and to do so it is much more convenient to not wrap the port interactions and instead leave it all local to the traffic generator. The generator states now only govern when they are ready to send something new, and the generation of the packets to send. They thus have no knowledge of the port that is used.
Diffstat (limited to 'src/cpu/testers/traffic_gen/TrafficGen.py')
0 files changed, 0 insertions, 0 deletions