Changeset 3f4c537a in mainline


Ignore:
Timestamp:
2016-08-28T15:41:39Z (8 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
a3e527c
Parents:
e98f1c3e
Message:

add support for running spike (RISC-V simulator)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/ew.py

    re98f1c3e r3f4c537a  
    11#!/usr/bin/env python
    22#
    3 # Copyright (c) 2013 Jakub Jermar 
     3# Copyright (c) 2013 Jakub Jermar
    44# All rights reserved.
    55#
     
    180180                if not is_override('dryrun'):
    181181                        subprocess.call(cmdline, shell = True)
    182                
     182
    183183def ski_run(platform, machine, processor):
    184184        run_in_console('ski -i contrib/conf/ski.conf', 'HelenOS/ia64 on ski')
     
    187187        hdisk_mk()
    188188        run_in_console('msim -c contrib/conf/msim.conf', 'HelenOS/mips32 on msim')
     189
     190def spike_run(platform, machine, processor):
     191        run_in_console('spike image.boot', 'HelenOS/risvc64 on Spike')
    189192
    190193def gem5_console_thread():
     
    253256                'image' : 'image.iso',
    254257                'audio' : False
     258        },
     259        'riscv64' : {
     260                'run' : spike_run,
     261                'image' : 'image.boot'
    255262        },
    256263        'sparc64' : {
Note: See TracChangeset for help on using the changeset viewer.