aboutsummaryrefslogtreecommitdiffstats
path: root/icefuzz/glbcheck.py
diff options
context:
space:
mode:
authorDavid Shah <davey1576@gmail.com>2017-10-21 14:59:13 +0100
committerDavid Shah <davey1576@gmail.com>2017-10-21 14:59:13 +0100
commitaa653a2a510a5d31ed099e0974b465efcbfcc010 (patch)
tree955ed185225bf035d1f98f18d2dcdc71f3162fd3 /icefuzz/glbcheck.py
parent85be8e4e3d87f6aec48fda91eac5555911d99672 (diff)
downloadicestorm-aa653a2a510a5d31ed099e0974b465efcbfcc010.tar.gz
icestorm-aa653a2a510a5d31ed099e0974b465efcbfcc010.tar.bz2
icestorm-aa653a2a510a5d31ed099e0974b465efcbfcc010.zip
Add DSP and IPConnect tile support to icepack and glbcheck
Diffstat (limited to 'icefuzz/glbcheck.py')
-rw-r--r--icefuzz/glbcheck.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/icefuzz/glbcheck.py b/icefuzz/glbcheck.py
index 742c335..49008ca 100644
--- a/icefuzz/glbcheck.py
+++ b/icefuzz/glbcheck.py
@@ -30,13 +30,13 @@ with open(argv[1]) as f:
with open(argv[2]) as f:
current_tile = None
for line in f:
- if line.startswith(("Tile", "IO_Tile", "RAM_Tile", "LogicTile")):
- f = line.replace("IO_", "").replace("RAM_", "").split("_")
+ if line.startswith(("Tile", "IO_Tile", "RAM_Tile", "LogicTile", "DSP_Tile", "IpCon_Tile")):
+ f = line.replace("IO_", "").replace("RAM_", "").replace("DSP_","").replace("IpCon_","").split("_")
assert len(f) == 3
current_tile = "%02d.%02d" % (int(f[1]), int(f[2]))
continue
- if line.find("GlobalNetwork") >= 0 or line.startswith(("IpCon", "DSP")):
+ if line.find("GlobalNetwork") >= 0:
current_tile = None
continue
@@ -65,4 +65,3 @@ for bit in sorted(only_in_glb):
print(bit)
exit(1)
-