mirror of https://github.com/VLSIDA/OpenRAM.git
Update to run LVS when no DRC errors too.
This commit is contained in:
parent
f1925420cf
commit
cbb67ad483
|
|
@ -51,9 +51,9 @@ class openram_test(unittest.TestCase):
|
||||||
drc_result=verify.run_drc(a.name, tempgds, extract=True, final_verification=final_verification)
|
drc_result=verify.run_drc(a.name, tempgds, extract=True, final_verification=final_verification)
|
||||||
|
|
||||||
# Always run LVS if we are using magic
|
# 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)
|
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
|
# 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:
|
if "magic" in OPTS.drc_exe and lvs_result == 0 and drc_result != 0:
|
||||||
#zip_file = "/tmp/{0}_{1}".format(a.name,os.getpid())
|
#zip_file = "/tmp/{0}_{1}".format(a.name,os.getpid())
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue