Update to run LVS when no DRC errors too.

This commit is contained in:
mrg 2020-04-17 13:57:52 -07:00
parent f1925420cf
commit cbb67ad483
1 changed files with 2 additions and 2 deletions

View File

@ -51,9 +51,9 @@ class openram_test(unittest.TestCase):
drc_result=verify.run_drc(a.name, tempgds, extract=True, final_verification=final_verification)
# Always run LVS if we are using magic
if "magic" in OPTS.drc_exe:
if "magic" in OPTS.drc_exe or drc_result == 0:
lvs_result=verify.run_lvs(a.name, tempgds, tempspice, final_verification=final_verification)
# Only allow DRC to fail and LVS to pass if we are using magic
if "magic" in OPTS.drc_exe and lvs_result == 0 and drc_result != 0:
#zip_file = "/tmp/{0}_{1}".format(a.name,os.getpid())