mirror of https://github.com/YosysHQ/icestorm.git
icebox_diff: Use cached re functions
This commit is contained in:
parent
c4ac25e096
commit
52bbe0f469
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue