RiscvSystem.py revision 11723
110458Sandreas.hansson@arm.com# -*- mode:python -*-
210458Sandreas.hansson@arm.com
310458Sandreas.hansson@arm.com# Copyright (c) 2016 RISC-V Foundation
410458Sandreas.hansson@arm.com# Copyright (c) 2016 The University of Virginia
510458Sandreas.hansson@arm.com# All rights reserved.
610458Sandreas.hansson@arm.com#
710458Sandreas.hansson@arm.com# Redistribution and use in source and binary forms, with or without
810458Sandreas.hansson@arm.com# modification, are permitted provided that the following conditions are
910458Sandreas.hansson@arm.com# met: redistributions of source code must retain the above copyright
1010458Sandreas.hansson@arm.com# notice, this list of conditions and the following disclaimer;
1110458Sandreas.hansson@arm.com# redistributions in binary form must reproduce the above copyright
1210458Sandreas.hansson@arm.com# notice, this list of conditions and the following disclaimer in the
1310458Sandreas.hansson@arm.com# documentation and/or other materials provided with the distribution;
1410458Sandreas.hansson@arm.com# neither the name of the copyright holders nor the names of its
1510458Sandreas.hansson@arm.com# contributors may be used to endorse or promote products derived from
1610458Sandreas.hansson@arm.com# this software without specific prior written permission.
1710458Sandreas.hansson@arm.com#
1810458Sandreas.hansson@arm.com# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
1910458Sandreas.hansson@arm.com# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
2010458Sandreas.hansson@arm.com# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
2110458Sandreas.hansson@arm.com# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
2210458Sandreas.hansson@arm.com# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
2310458Sandreas.hansson@arm.com# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
2410458Sandreas.hansson@arm.com# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
2510458Sandreas.hansson@arm.com# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
2610458Sandreas.hansson@arm.com# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
2710458Sandreas.hansson@arm.com# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
2810458Sandreas.hansson@arm.com# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2910458Sandreas.hansson@arm.com#
3010458Sandreas.hansson@arm.com# Authors: Alec Roelke
3110458Sandreas.hansson@arm.com
3210458Sandreas.hansson@arm.comfrom System import System
3310458Sandreas.hansson@arm.com
3410458Sandreas.hansson@arm.comclass RiscvSystem(System):
3510458Sandreas.hansson@arm.com    type = 'RiscvSystem'
3610458Sandreas.hansson@arm.com    cxx_header = 'arch/riscv/system.hh'
3710458Sandreas.hansson@arm.com    load_addr_mask = 0xFFFFFFFFFFFFFFFF
3810458Sandreas.hansson@arm.com