Giter VIP home page Giter VIP logo

csil's Introduction

csil

This is definitely WIP.

A Python platform for experiments with Yosys, ABC and OpenSTA

Dependencies

We use the very nice Python package for parsing Liberty files liberty-parser

Note that we currently use forked version of ABC and that provides a Python wrapper. We also use a Yosys plugin orlo that must be installed first and also a working version of OpenSTA must accessable

Setup Notes

The Yosys Python wrapper module, must be installed and visible to Python. You will have to build Yosys with ENABLE_PYOSYS := 1 (In order to do this you will need to have libboost-python-dev installed.) This will make the libyosys.so library. You can use the Yosys Makefile to install it, but I prefer to do that manually in my local anaconda3 tree. If you want to do that, then in the directory ~/anaconda3/lib/python3.8/site-packages make a directory named pyosys. Copy libyosys.so (should be in the top level Yosys directory after a successful build) to that directory. Also copy the file __init__.py from the yosys/misc directory to that location as well. The Yosys vendored abc, now named yosys-abc, needs to be copied to the ~/anaconda3/bin directory, if you intend to use that. Finally, you need to have the contents of yosys/share copied to a system directory /usr/local/share/yosys. See the Yosys docs for more info.

The above mentioned forked version of ABC has a build script called wrapper.sh which will also install the Python wrapper for ABC.

OpenSTA just needs to be on your path and we only shell out to it.

csil's People

Contributors

macd avatar

Stargazers

 avatar  avatar  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.