diff options
author | Benedikt Tutzer <e1225461@student.tuwien.ac.at> | 2018-12-11 08:13:42 +0100 |
---|---|---|
committer | Benedikt Tutzer <e1225461@student.tuwien.ac.at> | 2018-12-11 08:13:42 +0100 |
commit | c151bb31eb9bc905f3a91803a2f4ea882a254b3c (patch) | |
tree | 2e4d51f7075917cc6624251ffe3c16a12f89e949 /examples/python-api/run.sh | |
parent | 6577a6924665f54c6db8f12cda5b089247516981 (diff) | |
download | yosys-c151bb31eb9bc905f3a91803a2f4ea882a254b3c.tar.gz yosys-c151bb31eb9bc905f3a91803a2f4ea882a254b3c.tar.bz2 yosys-c151bb31eb9bc905f3a91803a2f4ea882a254b3c.zip |
Added sample code for python-api
Diffstat (limited to 'examples/python-api/run.sh')
-rwxr-xr-x | examples/python-api/run.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/examples/python-api/run.sh b/examples/python-api/run.sh new file mode 100755 index 000000000..5852ea9ac --- /dev/null +++ b/examples/python-api/run.sh @@ -0,0 +1,6 @@ +PYTHONPATH=`pwd`/../../:$PYTHONPATH +mkdir -p out +if [ ! -f ../../libyosys.so ]; then + make -C ../.. +fi +python3.5 netlist_graph.py |