SConscript revision 11965
16691Stjones1@inf.ed.ac.uk# -*- mode:python -*- 26691Stjones1@inf.ed.ac.uk 36691Stjones1@inf.ed.ac.uk# Copyright (c) 2013 ARM Limited 46691Stjones1@inf.ed.ac.uk# Copyright (c) 2014 Sven Karlsson 56691Stjones1@inf.ed.ac.uk# All rights reserved 66691Stjones1@inf.ed.ac.uk# 76691Stjones1@inf.ed.ac.uk# The license below extends only to copyright in the software and shall 86691Stjones1@inf.ed.ac.uk# not be construed as granting a license to any other intellectual 96691Stjones1@inf.ed.ac.uk# property including but not limited to intellectual property relating 106691Stjones1@inf.ed.ac.uk# to a hardware implementation of the functionality of the software 116691Stjones1@inf.ed.ac.uk# licensed hereunder. You may use the software subject to the license 126691Stjones1@inf.ed.ac.uk# terms below provided that you ensure that this notice is replicated 136691Stjones1@inf.ed.ac.uk# unmodified and in its entirety in all distributions of the software, 146691Stjones1@inf.ed.ac.uk# modified or unmodified, in source code or in binary form. 156691Stjones1@inf.ed.ac.uk# 166691Stjones1@inf.ed.ac.uk# Copyright (c) 2016 The University of Virginia 176691Stjones1@inf.ed.ac.uk# All rights reserved. 186691Stjones1@inf.ed.ac.uk# 196691Stjones1@inf.ed.ac.uk# Redistribution and use in source and binary forms, with or without 206691Stjones1@inf.ed.ac.uk# modification, are permitted provided that the following conditions are 216691Stjones1@inf.ed.ac.uk# met: redistributions of source code must retain the above copyright 226691Stjones1@inf.ed.ac.uk# notice, this list of conditions and the following disclaimer; 236691Stjones1@inf.ed.ac.uk# redistributions in binary form must reproduce the above copyright 246691Stjones1@inf.ed.ac.uk# notice, this list of conditions and the following disclaimer in the 256691Stjones1@inf.ed.ac.uk# documentation and/or other materials provided with the distribution; 266691Stjones1@inf.ed.ac.uk# neither the name of the copyright holders nor the names of its 276691Stjones1@inf.ed.ac.uk# contributors may be used to endorse or promote products derived from 286691Stjones1@inf.ed.ac.uk# this software without specific prior written permission. 296691Stjones1@inf.ed.ac.uk# 306691Stjones1@inf.ed.ac.uk# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 316691Stjones1@inf.ed.ac.uk# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 326691Stjones1@inf.ed.ac.uk# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 336691Stjones1@inf.ed.ac.uk# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 346691Stjones1@inf.ed.ac.uk# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 356691Stjones1@inf.ed.ac.uk# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 366691Stjones1@inf.ed.ac.uk# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 376691Stjones1@inf.ed.ac.uk# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 386691Stjones1@inf.ed.ac.uk# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 396691Stjones1@inf.ed.ac.uk# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 406691Stjones1@inf.ed.ac.uk# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 416691Stjones1@inf.ed.ac.uk# 426691Stjones1@inf.ed.ac.uk# Authors: Andreas Hansson 438745Sgblack@eecs.umich.edu# Sven Karlsson 448772Sgblack@eecs.umich.edu# Alec Roelke 458772Sgblack@eecs.umich.edu 466691Stjones1@inf.ed.ac.ukImport('*') 478772Sgblack@eecs.umich.edu 488792Sgblack@eecs.umich.eduif env['TARGET_ISA'] == 'riscv': 496691Stjones1@inf.ed.ac.uk Source('decoder.cc') 507506Stjones1@inf.ed.ac.uk Source('faults.cc') 518759Sgblack@eecs.umich.edu Source('isa.cc') 526691Stjones1@inf.ed.ac.uk Source('interrupts.cc') 538745Sgblack@eecs.umich.edu Source('locked_mem.cc') 546691Stjones1@inf.ed.ac.uk Source('process.cc') 558745Sgblack@eecs.umich.edu Source('pagetable.cc') 568335Snate@binkert.org Source('remote_gdb.cc') 576691Stjones1@inf.ed.ac.uk Source('stacktrace.cc') 586691Stjones1@inf.ed.ac.uk Source('tlb.cc') 596691Stjones1@inf.ed.ac.uk Source('system.cc') 606691Stjones1@inf.ed.ac.uk 616691Stjones1@inf.ed.ac.uk Source('linux/process.cc') 626691Stjones1@inf.ed.ac.uk Source('linux/linux.cc') 636691Stjones1@inf.ed.ac.uk 646691Stjones1@inf.ed.ac.uk SimObject('RiscvInterrupts.py') 656691Stjones1@inf.ed.ac.uk SimObject('RiscvISA.py') 66 SimObject('RiscvTLB.py') 67 SimObject('RiscvSystem.py') 68 69 DebugFlag('RiscvMisc') 70 DebugFlag('RiscvTLB') 71 72 # Add in files generated by the ISA description. 73 env.ISADesc('isa/main.isa') 74