Blackbox option for DRC waivers

This commit is contained in:
Matt Guthaus
2019-11-29 15:50:32 -08:00
parent bedae87315
commit 6ef1b6a4ec
4 changed files with 9 additions and 2 deletions
+5
View File
@@ -42,6 +42,11 @@ def setup_files():
files = os.listdir(gds_dir)
nametest = re.compile("\.gds$", re.IGNORECASE)
gds_files = list(filter(nametest.search, files))
import tech
if tech.blackbox_bitcell:
# Ignore DRC of all bitcells
nametest = re.compile("cell", re.IGNORECASE)
gds_files = list(filter(lambda v: not nametest.search(v), gds_files))
return (gds_dir, gds_files)