SConscript revision 12825:3bf4b8e922f4
1955SN/A# Copyright 2018 Google, Inc.
2955SN/A#
39812Sandreas.hansson@arm.com# Redistribution and use in source and binary forms, with or without
49812Sandreas.hansson@arm.com# modification, are permitted provided that the following conditions are
59812Sandreas.hansson@arm.com# met: redistributions of source code must retain the above copyright
69812Sandreas.hansson@arm.com# notice, this list of conditions and the following disclaimer;
79812Sandreas.hansson@arm.com# redistributions in binary form must reproduce the above copyright
89812Sandreas.hansson@arm.com# notice, this list of conditions and the following disclaimer in the
99812Sandreas.hansson@arm.com# documentation and/or other materials provided with the distribution;
109812Sandreas.hansson@arm.com# neither the name of the copyright holders nor the names of its
119812Sandreas.hansson@arm.com# contributors may be used to endorse or promote products derived from
129812Sandreas.hansson@arm.com# this software without specific prior written permission.
139812Sandreas.hansson@arm.com#
149812Sandreas.hansson@arm.com# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
157816Ssteve.reinhardt@amd.com# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
165871Snate@binkert.org# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
171762SN/A# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
18955SN/A# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
19955SN/A# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
20955SN/A# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
21955SN/A# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
22955SN/A# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
23955SN/A# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
24955SN/A# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25955SN/A#
26955SN/A# Authors: Gabe Black
27955SN/A
28955SN/AImport('*')
29955SN/A
30955SN/Aif env['USE_SYSTEMC']:
31955SN/A    SimObject('SystemC.py')
32955SN/A
33955SN/A    Source('kernel.cc')
34955SN/A
35955SN/A    Source('sc_main.cc')
36955SN/A    Source('sc_module_name.cc')
37955SN/A    Source('sc_object.cc')
38955SN/A