3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-05-23 23:44:03 +00:00

Added sample code for python-api

This commit is contained in:
Benedikt Tutzer 2018-12-11 08:13:42 +01:00
parent 6577a69246
commit c151bb31eb
3 changed files with 479 additions and 0 deletions

6
examples/python-api/run.sh Executable file
View file

@ -0,0 +1,6 @@
PYTHONPATH=`pwd`/../../:$PYTHONPATH
mkdir -p out
if [ ! -f ../../libyosys.so ]; then
make -C ../..
fi
python3.5 netlist_graph.py