SConscript revision 12369:6811cd264242
12810Srdreslin@umich.edu# Copyright (c) 2015 RISC-V Foundation
29796Sprakash.ramrakhyani@arm.com# Copyright (c) 2017 The University of Virginia
39347SAndreas.Sandberg@arm.com# All rights reserved.
49347SAndreas.Sandberg@arm.com#
59347SAndreas.Sandberg@arm.com# Redistribution and use in source and binary forms, with or without
69347SAndreas.Sandberg@arm.com# modification, are permitted provided that the following conditions are
79347SAndreas.Sandberg@arm.com# met: redistributions of source code must retain the above copyright
89347SAndreas.Sandberg@arm.com# notice, this list of conditions and the following disclaimer;
99347SAndreas.Sandberg@arm.com# redistributions in binary form must reproduce the above copyright
109347SAndreas.Sandberg@arm.com# notice, this list of conditions and the following disclaimer in the
119347SAndreas.Sandberg@arm.com# documentation and/or other materials provided with the distribution;
129347SAndreas.Sandberg@arm.com# neither the name of the copyright holders nor the names of its
139347SAndreas.Sandberg@arm.com# contributors may be used to endorse or promote products derived from
142810Srdreslin@umich.edu# this software without specific prior written permission.
152810Srdreslin@umich.edu#
162810Srdreslin@umich.edu# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
172810Srdreslin@umich.edu# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
182810Srdreslin@umich.edu# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
192810Srdreslin@umich.edu# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
202810Srdreslin@umich.edu# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
212810Srdreslin@umich.edu# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
222810Srdreslin@umich.edu# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
232810Srdreslin@umich.edu# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
242810Srdreslin@umich.edu# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
252810Srdreslin@umich.edu# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
262810Srdreslin@umich.edu# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
272810Srdreslin@umich.edu#
282810Srdreslin@umich.edu# Authors: Alec Roelke
292810Srdreslin@umich.edu
302810Srdreslin@umich.eduImport('*')
312810Srdreslin@umich.edu
322810Srdreslin@umich.eduif env['TARGET_ISA'] == 'riscv':
332810Srdreslin@umich.edu    Source('amo.cc')
342810Srdreslin@umich.edu    Source('compressed.cc')
352810Srdreslin@umich.edu    Source('mem.cc')
362810Srdreslin@umich.edu    Source('standard.cc')
372810Srdreslin@umich.edu    Source('static_inst.cc')