SConscript revision 11965:41e942451f59
1955SN/A# -*- mode:python -*- 2955SN/A 37816Ssteve.reinhardt@amd.com# Copyright (c) 2013 ARM Limited 45871Snate@binkert.org# Copyright (c) 2014 Sven Karlsson 51762SN/A# All rights reserved 6955SN/A# 7955SN/A# The license below extends only to copyright in the software and shall 8955SN/A# not be construed as granting a license to any other intellectual 9955SN/A# property including but not limited to intellectual property relating 10955SN/A# to a hardware implementation of the functionality of the software 11955SN/A# licensed hereunder. You may use the software subject to the license 12955SN/A# terms below provided that you ensure that this notice is replicated 13955SN/A# unmodified and in its entirety in all distributions of the software, 14955SN/A# modified or unmodified, in source code or in binary form. 15955SN/A# 16955SN/A# Copyright (c) 2016 The University of Virginia 17955SN/A# All rights reserved. 18955SN/A# 19955SN/A# Redistribution and use in source and binary forms, with or without 20955SN/A# modification, are permitted provided that the following conditions are 21955SN/A# met: redistributions of source code must retain the above copyright 22955SN/A# notice, this list of conditions and the following disclaimer; 23955SN/A# redistributions in binary form must reproduce the above copyright 24955SN/A# notice, this list of conditions and the following disclaimer in the 25955SN/A# documentation and/or other materials provided with the distribution; 26955SN/A# neither the name of the copyright holders nor the names of its 27955SN/A# contributors may be used to endorse or promote products derived from 28955SN/A# this software without specific prior written permission. 29955SN/A# 302665Ssaidi@eecs.umich.edu# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 312665Ssaidi@eecs.umich.edu# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 325863Snate@binkert.org# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 33955SN/A# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 34955SN/A# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 35955SN/A# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 36955SN/A# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 37955SN/A# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 388878Ssteve.reinhardt@amd.com# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 392632Sstever@eecs.umich.edu# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 408878Ssteve.reinhardt@amd.com# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 412632Sstever@eecs.umich.edu# 42955SN/A# Authors: Andreas Hansson 438878Ssteve.reinhardt@amd.com# Sven Karlsson 442632Sstever@eecs.umich.edu# Alec Roelke 452761Sstever@eecs.umich.edu 462632Sstever@eecs.umich.eduImport('*') 472632Sstever@eecs.umich.edu 482632Sstever@eecs.umich.eduif env['TARGET_ISA'] == 'riscv': 492761Sstever@eecs.umich.edu Source('decoder.cc') 502761Sstever@eecs.umich.edu Source('faults.cc') 512761Sstever@eecs.umich.edu Source('isa.cc') 528878Ssteve.reinhardt@amd.com Source('interrupts.cc') 538878Ssteve.reinhardt@amd.com Source('locked_mem.cc') 542761Sstever@eecs.umich.edu Source('process.cc') 552761Sstever@eecs.umich.edu Source('pagetable.cc') 562761Sstever@eecs.umich.edu Source('remote_gdb.cc') 572761Sstever@eecs.umich.edu Source('stacktrace.cc') 582761Sstever@eecs.umich.edu Source('tlb.cc') 598878Ssteve.reinhardt@amd.com Source('system.cc') 608878Ssteve.reinhardt@amd.com 612632Sstever@eecs.umich.edu Source('linux/process.cc') 622632Sstever@eecs.umich.edu Source('linux/linux.cc') 638878Ssteve.reinhardt@amd.com 648878Ssteve.reinhardt@amd.com SimObject('RiscvInterrupts.py') 652632Sstever@eecs.umich.edu SimObject('RiscvISA.py') 66955SN/A SimObject('RiscvTLB.py') 67955SN/A SimObject('RiscvSystem.py') 68955SN/A 695863Snate@binkert.org DebugFlag('RiscvMisc') 705863Snate@binkert.org DebugFlag('RiscvTLB') 715863Snate@binkert.org 725863Snate@binkert.org # Add in files generated by the ISA description. 735863Snate@binkert.org env.ISADesc('isa/main.isa') 745863Snate@binkert.org