aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--icebox/icebox.py2
-rwxr-xr-xicebox/icebox_chipdb.py10
2 files changed, 10 insertions, 2 deletions
diff --git a/icebox/icebox.py b/icebox/icebox.py
index 35ce69e..069dd3d 100644
--- a/icebox/icebox.py
+++ b/icebox/icebox.py
@@ -4840,7 +4840,7 @@ pinloc_db = {
( "B2", 7, 21, 1),
( "B4", 15, 21, 0),
( "B6", 18, 21, 0),
- ( "B7", 23, 21, 0),
+ ( "B7", 23, 21, 1),
( "C1", 4, 21, 0),
( "C3", 9, 21, 0),
( "C4", 19, 21, 0),
diff --git a/icebox/icebox_chipdb.py b/icebox/icebox_chipdb.py
index fc25403..c817b13 100755
--- a/icebox/icebox_chipdb.py
+++ b/icebox/icebox_chipdb.py
@@ -19,6 +19,7 @@ import icebox
import getopt, sys, re
mode_384 = False
+mode_lm4k = False
mode_5k = False
mode_8k = False
@@ -34,11 +35,14 @@ Usage: icebox_chipdb [options] [bitmap.asc]
-8
create chipdb for 8k device
+
+ -4
+ create chipdb for lm4k device
""")
sys.exit(0)
try:
- opts, args = getopt.getopt(sys.argv[1:], "358")
+ opts, args = getopt.getopt(sys.argv[1:], "3584")
except:
usage()
@@ -49,6 +53,8 @@ for o, a in opts:
mode_5k = True
elif o == "-3":
mode_384 = True
+ elif o == "-4":
+ mode_lm4k = True
else:
usage()
@@ -59,6 +65,8 @@ elif mode_5k:
ic.setup_empty_5k()
elif mode_384:
ic.setup_empty_384()
+elif mode_lm4k:
+ ic.setup_empty_lm4k()
else:
ic.setup_empty_1k()