SConscript revision 12835:db79fee97860
16286Snate@binkert.org# Copyright 2018 Google, Inc.
26286Snate@binkert.org#
36286Snate@binkert.org# Redistribution and use in source and binary forms, with or without
46286Snate@binkert.org# modification, are permitted provided that the following conditions are
56286Snate@binkert.org# met: redistributions of source code must retain the above copyright
66286Snate@binkert.org# notice, this list of conditions and the following disclaimer;
76286Snate@binkert.org# redistributions in binary form must reproduce the above copyright
86286Snate@binkert.org# notice, this list of conditions and the following disclaimer in the
96286Snate@binkert.org# documentation and/or other materials provided with the distribution;
106286Snate@binkert.org# neither the name of the copyright holders nor the names of its
116286Snate@binkert.org# contributors may be used to endorse or promote products derived from
126286Snate@binkert.org# this software without specific prior written permission.
136286Snate@binkert.org#
146286Snate@binkert.org# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
156286Snate@binkert.org# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
166286Snate@binkert.org# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
176286Snate@binkert.org# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
186286Snate@binkert.org# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
196286Snate@binkert.org# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
206286Snate@binkert.org# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
216286Snate@binkert.org# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
226286Snate@binkert.org# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
236286Snate@binkert.org# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
246286Snate@binkert.org# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
256286Snate@binkert.org#
266286Snate@binkert.org# Authors: Gabe Black
276286Snate@binkert.org
286286Snate@binkert.orgImport('*')
296286Snate@binkert.org
306286Snate@binkert.orgif env['USE_SYSTEMC']:
316286Snate@binkert.org    SimObject('SystemC.py')
326286Snate@binkert.org
336286Snate@binkert.org    Source('kernel.cc')
346286Snate@binkert.org
356286Snate@binkert.org    Source('sc_attr.cc')
366876Ssteve.reinhardt@amd.com    Source('sc_event.cc')
376876Ssteve.reinhardt@amd.com    Source('sc_export.cc')
386286Snate@binkert.org    Source('sc_interface.cc')
398255SBrad.Beckmann@amd.com    Source('sc_main.cc')
40    Source('sc_module_name.cc')
41    Source('sc_object.cc')
42    Source('sc_port.cc')
43    Source('sc_prim.cc')
44    Source('sc_sensitive.cc')
45    Source('sc_time.cc')
46