SConscript revision 11723
12SN/A# -*- mode:python -*- 21762SN/A 32SN/A# Copyright (c) 2013 ARM Limited 42SN/A# Copyright (c) 2014 Sven Karlsson 52SN/A# All rights reserved 62SN/A# 72SN/A# The license below extends only to copyright in the software and shall 82SN/A# not be construed as granting a license to any other intellectual 92SN/A# property including but not limited to intellectual property relating 102SN/A# to a hardware implementation of the functionality of the software 112SN/A# licensed hereunder. You may use the software subject to the license 122SN/A# terms below provided that you ensure that this notice is replicated 132SN/A# unmodified and in its entirety in all distributions of the software, 142SN/A# modified or unmodified, in source code or in binary form. 152SN/A# 162SN/A# Copyright (c) 2016 The University of Virginia 172SN/A# All rights reserved. 182SN/A# 192SN/A# Redistribution and use in source and binary forms, with or without 202SN/A# modification, are permitted provided that the following conditions are 212SN/A# met: redistributions of source code must retain the above copyright 222SN/A# notice, this list of conditions and the following disclaimer; 232SN/A# redistributions in binary form must reproduce the above copyright 242SN/A# notice, this list of conditions and the following disclaimer in the 252SN/A# documentation and/or other materials provided with the distribution; 262SN/A# neither the name of the copyright holders nor the names of its 272665Ssaidi@eecs.umich.edu# contributors may be used to endorse or promote products derived from 282665Ssaidi@eecs.umich.edu# this software without specific prior written permission. 292SN/A# 302SN/A# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 312SN/A# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 322SN/A# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 332SN/A# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 342SN/A# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 352SN/A# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 362SN/A# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 375523Snate@binkert.org# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 385523Snate@binkert.org# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 395523Snate@binkert.org# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 4012010Sgabeblack@google.com# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 4112010Sgabeblack@google.com# 425523Snate@binkert.org# Authors: Andreas Hansson 435523Snate@binkert.org# Sven Karlsson 445523Snate@binkert.org# Alec Roelke 455523Snate@binkert.org 4612010Sgabeblack@google.comImport('*') 4712010Sgabeblack@google.com 485523Snate@binkert.orgif env['TARGET_ISA'] == 'riscv': 492SN/A Source('decoder.cc') 502SN/A Source('faults.cc') 512SN/A Source('isa.cc') 522SN/A Source('interrupts.cc') 532SN/A Source('process.cc') 542SN/A Source('pagetable.cc') 552SN/A Source('remote_gdb.cc') 562SN/A Source('stacktrace.cc') 572SN/A Source('tlb.cc') 582SN/A Source('system.cc') 592SN/A 602SN/A Source('linux/process.cc') 612SN/A Source('linux/linux.cc') 622SN/A 632SN/A SimObject('RiscvInterrupts.py') 64 SimObject('RiscvISA.py') 65 SimObject('RiscvTLB.py') 66 SimObject('RiscvSystem.py') 67 68 DebugFlag('RiscvMisc') 69 DebugFlag('RiscvTLB') 70 71 # Add in files generated by the ISA description. 72 env.ISADesc('isa/main.isa') 73