Skip to content

snps-virtualprototyping/ocx-or1kiss

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenCpuX/or1kiss - Open Source Instruction-Set Simulation Integration Kit

Overview

This is an adaptation of the OpenRisc 1000 Core to run as a core model using the OpenCpuX API.

System Requirements

  • CMake, version 3.6 or higher
  • gcc and g++
  • libelf

How to build

  • Clone the repository and cd into the repository

  • Initialize and update the submodules:

      git submodule init
      git submodule update --init --recursive
    
  • Create a BUILD directory

      mkdir BUILD
      cd BUILD
    
  • Run CMake, then make to build both the test harness and the or1kiss core in x64 mode:

      CXX="g++ -m64" CC="gcc -m64" cmake ..               # on bash
      set CXX="g++ -m64"; set CC="gcc -m64";  cmake ..    # on csh
      make
    
  • The module should pass the regression tests are specified by the ocx test harness:

      make test
    
      Running tests...
      Test project /localdev/tobies/ocx/ocx-or1kiss/BUILD
      Start 1: ocx-or1kiss
      1/2 Test #1: ocx-or1kiss ......................   Passed    0.14 sec
      Start 2: smoke
      2/2 Test #2: smoke ............................   Passed    0.01 sec
    
      100% tests passed, 0 tests failed out of 2
    

About

OpenCpuX wrapper for the or1kiss OpenRISC ISS

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published