summaryrefslogtreecommitdiff
path: root/src/cpu/testers/traffic_gen/SConscript
diff options
context:
space:
mode:
authorAndreas Hansson <andreas.hansson@arm.com>2013-04-22 13:20:33 -0400
committerAndreas Hansson <andreas.hansson@arm.com>2013-04-22 13:20:33 -0400
commitfe97f0e2b1474490d9201f42f35dd78eac04fa74 (patch)
treeb76e7760310341cc0740e5ea75bf7aa60fe74618 /src/cpu/testers/traffic_gen/SConscript
parent3477d60d5c2f20644e301378ca2923766d765f8e (diff)
downloadgem5-fe97f0e2b1474490d9201f42f35dd78eac04fa74.tar.xz
cpu: Make the generators usable outside the TrafficGen module
This patch enables the use of the generator behaviours outside the TrafficGen module. This is useful e.g. to allow packet replay modes for other devices in the system without having to replace them with a TrafficGen in the configuration files. This change also enables more specific behaviours to be composed as specific modules, e.g. BaseBandModem can use a number of generators and have application-specific parameters based around a specific set of generators.
Diffstat (limited to 'src/cpu/testers/traffic_gen/SConscript')
-rw-r--r--src/cpu/testers/traffic_gen/SConscript1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cpu/testers/traffic_gen/SConscript b/src/cpu/testers/traffic_gen/SConscript
index 09a06fe04..00a3a84bc 100644
--- a/src/cpu/testers/traffic_gen/SConscript
+++ b/src/cpu/testers/traffic_gen/SConscript
@@ -44,6 +44,7 @@ Import('*')
if env['HAVE_PROTOBUF']:
SimObject('TrafficGen.py')
+ Source('generators.cc')
Source('traffic_gen.cc')
DebugFlag('TrafficGen')