112326Sar4jc@virginia.edu# Copyright (c) 2015 RISC-V Foundation
212326Sar4jc@virginia.edu# Copyright (c) 2017 The University of Virginia
312326Sar4jc@virginia.edu# All rights reserved.
412326Sar4jc@virginia.edu#
512326Sar4jc@virginia.edu# Redistribution and use in source and binary forms, with or without
612326Sar4jc@virginia.edu# modification, are permitted provided that the following conditions are
712326Sar4jc@virginia.edu# met: redistributions of source code must retain the above copyright
812326Sar4jc@virginia.edu# notice, this list of conditions and the following disclaimer;
912326Sar4jc@virginia.edu# redistributions in binary form must reproduce the above copyright
1012326Sar4jc@virginia.edu# notice, this list of conditions and the following disclaimer in the
1112326Sar4jc@virginia.edu# documentation and/or other materials provided with the distribution;
1212326Sar4jc@virginia.edu# neither the name of the copyright holders nor the names of its
1312326Sar4jc@virginia.edu# contributors may be used to endorse or promote products derived from
1412326Sar4jc@virginia.edu# this software without specific prior written permission.
1512326Sar4jc@virginia.edu#
1612326Sar4jc@virginia.edu# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
1712326Sar4jc@virginia.edu# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
1812326Sar4jc@virginia.edu# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
1912326Sar4jc@virginia.edu# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
2012326Sar4jc@virginia.edu# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
2112326Sar4jc@virginia.edu# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
2212326Sar4jc@virginia.edu# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
2312326Sar4jc@virginia.edu# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
2412326Sar4jc@virginia.edu# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
2512326Sar4jc@virginia.edu# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
2612326Sar4jc@virginia.edu# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2712326Sar4jc@virginia.edu#
2812326Sar4jc@virginia.edu# Authors: Alec Roelke
2912326Sar4jc@virginia.edu
3012309Sar4jc@virginia.eduImport('*')
3112309Sar4jc@virginia.edu
3212309Sar4jc@virginia.eduif env['TARGET_ISA'] == 'riscv':
3312323Sar4jc@virginia.edu    Source('amo.cc')
3412369Sar4jc@virginia.edu    Source('compressed.cc')
3512322Sar4jc@virginia.edu    Source('mem.cc')
3612320Sar4jc@virginia.edu    Source('standard.cc')
3712309Sar4jc@virginia.edu    Source('static_inst.cc')