SConscript revision 12047
14484Sbinkertn@umich.edu#!python 24484Sbinkertn@umich.edu 34484Sbinkertn@umich.edu# Copyright (c) 2016, Dresden University of Technology (TU Dresden) 44484Sbinkertn@umich.edu# All rights reserved. 54484Sbinkertn@umich.edu# 64484Sbinkertn@umich.edu# Redistribution and use in source and binary forms, with or without 74484Sbinkertn@umich.edu# modification, are permitted provided that the following conditions are 84484Sbinkertn@umich.edu# met: 94484Sbinkertn@umich.edu# 104484Sbinkertn@umich.edu# 1. Redistributions of source code must retain the above copyright notice, 114484Sbinkertn@umich.edu# this list of conditions and the following disclaimer. 124484Sbinkertn@umich.edu# 134484Sbinkertn@umich.edu# 2. Redistributions in binary form must reproduce the above copyright 144484Sbinkertn@umich.edu# notice, this list of conditions and the following disclaimer in the 154484Sbinkertn@umich.edu# documentation and/or other materials provided with the distribution. 164484Sbinkertn@umich.edu# 174484Sbinkertn@umich.edu# 3. Neither the name of the copyright holder nor the names of its 184484Sbinkertn@umich.edu# contributors may be used to endorse or promote products derived from 194484Sbinkertn@umich.edu# this software without specific prior written permission. 204484Sbinkertn@umich.edu# 214484Sbinkertn@umich.edu# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 224484Sbinkertn@umich.edu# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 234484Sbinkertn@umich.edu# TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 244484Sbinkertn@umich.edu# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER 254484Sbinkertn@umich.edu# OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 264484Sbinkertn@umich.edu# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 274484Sbinkertn@umich.edu# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 284484Sbinkertn@umich.edu# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 294484Sbinkertn@umich.edu# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 304484Sbinkertn@umich.edu# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 314494Ssaidi@eecs.umich.edu# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 324484Sbinkertn@umich.edu# 336121Snate@binkert.org# Authors: Christian Menard 344484Sbinkertn@umich.edu 358946Sandreas.hansson@arm.comImport('env') 368946Sandreas.hansson@arm.com 374484Sbinkertn@umich.eduenv = env.Clone() 384484Sbinkertn@umich.edu 394484Sbinkertn@umich.edugem5_root = env['GEM5_ROOT'] 404781Snate@binkert.org 414484Sbinkertn@umich.edusystemc_src = [] 424484Sbinkertn@umich.edusystemc_src += Install('.', gem5_root + '/util/systemc/sc_gem5_control.cc'), 434484Sbinkertn@umich.edusystemc_src += Install('.', gem5_root + '/util/systemc/sc_logger.cc'), 444484Sbinkertn@umich.edusystemc_src += Install('.', gem5_root + '/util/systemc/sc_module.cc'), 458349Sgblack@eecs.umich.edusystemc_src += Install('.', gem5_root + '/util/systemc/stats.cc'), 468349Sgblack@eecs.umich.edu 474484Sbinkertn@umich.edutlm_src = [] 484484Sbinkertn@umich.edutlm_src += [File('master_transactor.cc')] 494484Sbinkertn@umich.edutlm_src += [File('sc_ext.cc')] 504484Sbinkertn@umich.edutlm_src += [File('sc_master_port.cc')] 514484Sbinkertn@umich.edutlm_src += [File('sc_mm.cc')] 524484Sbinkertn@umich.edutlm_src += [File('sc_slave_port.cc')] 534484Sbinkertn@umich.edutlm_src += [File('sim_control.cc')] 544484Sbinkertn@umich.edutlm_src += [File('slave_transactor.cc')] 554484Sbinkertn@umich.edu 564484Sbinkertn@umich.edutlm = env.Library('gem5_tlm', tlm_src + systemc_src) 574484Sbinkertn@umich.edu 584484Sbinkertn@umich.eduReturn('tlm') 594484Sbinkertn@umich.edu