aboutsummaryrefslogtreecommitdiffstats
path: root/icebox/icebox_diff.py
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2019-06-09 10:31:09 +0200
committerGitHub <noreply@github.com>2019-06-09 10:31:09 +0200
commit0f5feeaae9d581ea47eaf0d8ed0512962d1e85c0 (patch)
tree28f41bbbbde97e19f6f27445da6e487b2b33f2d2 /icebox/icebox_diff.py
parent625105c0d136e05b965c9192f6a3cc249f5cd9ae (diff)
parenteec6555603d6f77ebec556ff3bf55ef0194381eb (diff)
downloadicestorm-0f5feeaae9d581ea47eaf0d8ed0512962d1e85c0.tar.gz
icestorm-0f5feeaae9d581ea47eaf0d8ed0512962d1e85c0.tar.bz2
icestorm-0f5feeaae9d581ea47eaf0d8ed0512962d1e85c0.zip
Merge pull request #221 from mbuesch/icebox-lru-cache
Reduce icebox build time
Diffstat (limited to 'icebox/icebox_diff.py')
-rwxr-xr-xicebox/icebox_diff.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/icebox/icebox_diff.py b/icebox/icebox_diff.py
index c0db200..5252fc4 100755
--- a/icebox/icebox_diff.py
+++ b/icebox/icebox_diff.py
@@ -16,6 +16,7 @@
#
import icebox
+from icebox import re_match_cached
import sys
import re
@@ -54,7 +55,7 @@ def explained_bits(db, tile):
bits.add("!B%d[%d]" % (k, i))
text = set()
for entry in db:
- if re.match(r"LC_", entry[1]):
+ if re_match_cached(r"LC_", entry[1]):
continue
if entry[1] in ("routing", "buffer"):
continue