SConscript (12397:a6d362560825) SConscript (12810:485ca1c27812)
1# -*- mode:python -*-
2
1# -*- mode:python -*-
2
3# Copyright (c) 2012, 2017 ARM Limited
3# Copyright (c) 2012, 2017-2018 ARM Limited
4# All rights reserved.
5#
6# The license below extends only to copyright in the software and shall
7# not be construed as granting a license to any other intellectual
8# property including but not limited to intellectual property relating
9# to a hardware implementation of the functionality of the software
10# licensed hereunder. You may use the software subject to the license
11# terms below provided that you ensure that this notice is replicated

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

34# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
35# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
36# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
37#
38# Authors: Andreas Hansson
39
40Import('*')
41
4# All rights reserved.
5#
6# The license below extends only to copyright in the software and shall
7# not be construed as granting a license to any other intellectual
8# property including but not limited to intellectual property relating
9# to a hardware implementation of the functionality of the software
10# licensed hereunder. You may use the software subject to the license
11# terms below provided that you ensure that this notice is replicated

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

34# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
35# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
36# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
37#
38# Authors: Andreas Hansson
39
40Import('*')
41
42
43Source('base.cc')
44Source('base_gen.cc')
45Source('dram_gen.cc')
46Source('dram_rot_gen.cc')
47Source('exit_gen.cc')
48Source('idle_gen.cc')
49Source('linear_gen.cc')
50Source('random_gen.cc')
51
52DebugFlag('TrafficGen')
53SimObject('BaseTrafficGen.py')
54
42# Only build the traffic generator if we have support for protobuf as the
43# tracing relies on it
44if env['HAVE_PROTOBUF']:
45 SimObject('TrafficGen.py')
55# Only build the traffic generator if we have support for protobuf as the
56# tracing relies on it
57if env['HAVE_PROTOBUF']:
58 SimObject('TrafficGen.py')
46
47 Source('base_gen.cc')
48 Source('dram_gen.cc')
49 Source('dram_rot_gen.cc')
50 Source('exit_gen.cc')
51 Source('idle_gen.cc')
52 Source('linear_gen.cc')
53 Source('random_gen.cc')
54 Source('trace_gen.cc')
55 Source('traffic_gen.cc')
56
59 Source('trace_gen.cc')
60 Source('traffic_gen.cc')
61
57 DebugFlag('TrafficGen')