Code Monkey home page Code Monkey logo

patmos-benchmarks's Introduction

patmos-benchmarks

===================

A collection of benchmarks and tests for the Patmos processor and compiler.

1. Requirements

2. Configure, build and run tests

mkdir build
cd build
cmake .. -DCMAKE_TOOLCHAIN_FILE=../cmake/patmos-clang-toolchain.cmake -DENABLE_TESTING=true
make
make test # (also via ctest, see ctest --help)

For a list of pre-defined compiler/processor toolchain configurations see the cmake directory (currently leon3-clang, mpc5554-clang, patmos-clang). To chose one of them use:

cmake .. -DCMAKE_TOOLCHAIN_FILE=../cmake/<processor>-clang-toolchain.cmake

Additional search paths can be provided using the -DCMAKE_PROGRAM_PATH=<path> option.

List of CMake variables of interest:

  • CMAKE_TOOLCHAIN_FILE ... toolchain to use
  • ENABLE_TESTING ... enable tests
  • ENABLE_CTORTURE ... enable gcc.c-torture (build time doubles)
  • PLATIN_ENABLE_WCET ... enable WCET tests (currently patmos only)
  • PLATIN_ENABLE_AIT ... enable WCET tests using absint's aiT tool (patmos only, requires a3)
  • CONFIG_PML ... architecture configuration file (patmos only)

Patmos configuration

Some Patmos-specific options (e.g. method and stack cache related) for the Clang/LLVM compiler, the simulator (pasim) and WCET tool (platin) are controlled through architecture configuration files in YAML format, see the config-*.pml files in scripts/.

Have fun!

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.