3
0
Fork 0
mirror of https://github.com/YosysHQ/sby.git synced 2025-04-23 13:25:31 +00:00

Initial import

This commit is contained in:
Clifford Wolf 2017-01-22 16:47:47 +01:00
commit 3a13b116a6
11 changed files with 1402 additions and 0 deletions

25
Makefile Normal file
View file

@ -0,0 +1,25 @@
help:
@echo ""
@echo "sudo make install"
@echo " build and install SymbiYosys (sby)"
@echo ""
@echo "make html"
@echo " build documentation in docs/build/html/"
@echo ""
@echo "make clean"
@echo " cleanup"
@echo ""
install:
cp sbysrc/sby_*.py /usr/local/share/yosys/python3/
sed 's|##yosys-sys-path##|sys.path += [os.path.dirname(__file__) + p for p in ["/share/python3", "/../share/yosys/python3"]]|;' < sbysrc/sby.py > /usr/local/bin/sby
chmod +x /usr/local/bin/sby
html:
make -C docs html
clean:
make -C docs clean
rm -rf docs/build sbysrc/sby sbysrc/__pycache__