GithubHelp home page GithubHelp logo

hellokayt / anycore-pisa Goto Github PK

View Code? Open in Web Editor NEW

This project forked from anycore/anycore-pisa

0.0 2.0 0.0 723 KB

The AnyCore toolset targetting the PISA ISA

License: Other

Makefile 1.65% Tcl 1.20% Perl 0.86% Shell 0.02% C 3.94% C++ 3.11% Verilog 6.72% SystemVerilog 82.51%

anycore-pisa's Introduction

anycore

*This contains the RTL for Anycore and associated simulation and synthesis framework *This branch should be used for anything PISA related.

This README explains how to simulate standard benchmarks on a FabGen-generated core out-of-the-box.

DIRECTORY STRUCTURE

  1. "functional-sim": This directory contains files required to run a compiled program on the RTL design. The RTL is coupled to a C++ functional simulator through the Verilog Procedural Interface (VPI), providing a convenient Verilog and C++ co-simulation environment. The functional simulator is a C++ derivative of the sim-fast functional simulator from the SimpleScalar tool suite. The RTL model leverages the functional simulator to load a compiled binary and initialize the processor state, giving the Verilog simulator the flexibility to simulate any standard application benchmark.

  2. "benchmarks": This directory contains folders and files to run SPEC2000 integer benchmarks.

SIMULATING BENCHMARKS

Currently, we have been able to simulate 100M SimPoints for the following SPEC2000 integer benchmarks. To find out more about SimPoint, please refer to "http://cseweb.ucsd.edu/~calder/simpoint/".

    Benchmark               SimPoint
    ----------------------------------------
    bzip                     40,600,000,000
    gap                     161,900,000,000
    gzip                     77,400,000,000
    mcf                      44,100,000,000
    parser                  280,300,000,000
    vortex                   40,700,000,000

To run these benchmarks:

  1. First compile the functional simulator. Go to "functional-sim/libss-vpi/lib.src". Type "make clean" and "make" to compile it.
  2. Download the benchmark tar-ball files from: http://people.engr.ncsu.edu/ericro/research/fabscalar/pre-release.htm
  3. Copy each tar-ball file into its corresponding benchmark directory ("benchmarks/") and untar it.
  4. Go to the directory of a benchmark that you want to run on a core.
  5. Enter "add cadence2010" on the command line.
  6. Enter "make run_nc"

Note: Each tar-ball file contains the corresponding benchmark executable, benchmark inputs, and SimPoint checkpoint. The checkpoint file contains a snapshot of the process' architectural state (register and memory state) at the SimPoint minus 100M instructions.

Note: The file "../src/fabscalar/simulate.v" is the top-level verilog file for simulation. This file also has performance counters: these counters are not intended to be part of the synthesized hardware. This file also handles system calls: only application code is explicitly simulated since the environment is not yet set up for full-system simulation (i.e., operating system code).

anycore-pisa's People

Contributors

anycore avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.