Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iCE40 Ultra = iCE5LP = u4k port #202

Merged
merged 2 commits into from
Feb 23, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions icebox/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ chipdb-5k.txt
chipdb-lm4k.txt
chipdb-8k.txt
chipdb-384.txt
chipdb-u4k.txt
__pycache__
10 changes: 8 additions & 2 deletions icebox/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
include ../config.mk

all: chipdb-384.txt chipdb-1k.txt chipdb-8k.txt chipdb-5k.txt chipdb-lm4k.txt
all: chipdb-384.txt chipdb-1k.txt chipdb-8k.txt chipdb-5k.txt chipdb-lm4k.txt chipdb-u4k.txt

chipdb-384.txt: icebox.py iceboxdb.py icebox_chipdb.py
python3 icebox_chipdb.py -3 > chipdb-384.new
Expand All @@ -14,6 +14,10 @@ chipdb-5k.txt: icebox.py iceboxdb.py icebox_chipdb.py
python3 icebox_chipdb.py -5 > chipdb-5k.new
mv chipdb-5k.new chipdb-5k.txt

chipdb-u4k.txt: icebox.py iceboxdb.py icebox_chipdb.py
python3 icebox_chipdb.py -u > chipdb-u4k.new
mv chipdb-u4k.new chipdb-u4k.txt

chipdb-lm4k.txt: icebox.py iceboxdb.py icebox_chipdb.py
python3 icebox_chipdb.py -4 > chipdb-lm4k.new
mv chipdb-lm4k.new chipdb-lm4k.txt
Expand All @@ -28,7 +32,7 @@ check: all
python3 tc_logic_xpr.py

clean:
rm -f chipdb-1k.txt chipdb-8k.txt chipdb-384.txt chipdb-5k.txt chipdb-lm4k.txt
rm -f chipdb-1k.txt chipdb-8k.txt chipdb-384.txt chipdb-5k.txt chipdb-lm4k.txt chipdb-u4k.txt
rm -f icebox.pyc iceboxdb.pyc

install: all
Expand All @@ -38,6 +42,7 @@ install: all
cp chipdb-1k.txt $(DESTDIR)$(PREFIX)/share/icebox/
cp chipdb-8k.txt $(DESTDIR)$(PREFIX)/share/icebox/
cp chipdb-5k.txt $(DESTDIR)$(PREFIX)/share/icebox/
cp chipdb-u4k.txt $(DESTDIR)$(PREFIX)/share/icebox/
cp chipdb-lm4k.txt $(DESTDIR)$(PREFIX)/share/icebox/
cp icebox.py $(DESTDIR)$(PREFIX)/bin/icebox.py
cp iceboxdb.py $(DESTDIR)$(PREFIX)/bin/iceboxdb.py
Expand Down Expand Up @@ -69,6 +74,7 @@ uninstall:
rm -f $(DESTDIR)$(PREFIX)/share/icebox/chipdb-1k.txt
rm -f $(DESTDIR)$(PREFIX)/share/icebox/chipdb-8k.txt
rm -f $(DESTDIR)$(PREFIX)/share/icebox/chipdb-lm4k.txt
rm -f $(DESTDIR)$(PREFIX)/share/icebox/chipdb-u4k.txt
-rmdir $(DESTDIR)$(PREFIX)/share/icebox

.PHONY: all check clean install uninstall
Loading