Add optional lvs_lib netlists for LVS usage (sp_lib is for simulation)

This commit is contained in:
mrg
2020-04-03 13:39:54 -07:00
parent 8603d3edd6
commit f358de78bb
4 changed files with 55 additions and 12 deletions
+3 -1
View File
@@ -45,7 +45,9 @@ class library_lvs_test(openram_test):
def setup_files():
gds_dir = OPTS.openram_tech + "/gds_lib"
sp_dir = OPTS.openram_tech + "/sp_lib"
sp_dir = OPTS.openram_tech + "/lvs_lib"
if not os.path.exists(sp_dir):
sp_dir = OPTS.openram_tech + "/sp_lib"
files = os.listdir(gds_dir)
nametest = re.compile("\.gds$", re.IGNORECASE)
gds_files = list(filter(nametest.search, files))