GithubHelp home page GithubHelp logo

pyxar's Introduction

pyXar

Python wrapper to run single ROC and module tests using a DTB.

dependencies:

usage:

To compile the library run:

python setup.py build_ext

To start pyxar, run:

./pyXar

Specify the input directory with:

./pyXar --dir PATH

implementing a test:

All tests inherit from the base class Test in test.py For a test to be included in the fraework the new class must be importet in the

python/__init__.py

file under pyhton

tests usually contains at least the method run()

Two additional methods prepare() and cleanup() give the usual structure of a test.

  • The base class provides all necessary obejcts like tb and dut.
  • DAC parameters changed during the test will be automatically reset.
  • The docstring of the class is displayed as help message in the command line interface.

pyXar also provides a way to run with the API (currently as beta version)

Get the python version of the API and build it

mkdir build
cmake -DBUILD_python=ON ..
make install

Export the path to the library:

export DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:PATH/TO/API/lib
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:PATH/TO/API/lib
export PYTHONPATH=$PYTHONPATH:PATH/TO/API/lib

To start pyxar using the API, run:

./pyXar --api

pyxar's People

Contributors

nmohr avatar philippeller avatar jhoss avatar

Watchers

 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.