diff --git a/compiler/verify/calibre.py b/compiler/verify/calibre.py index a7cd9290..984911db 100644 --- a/compiler/verify/calibre.py +++ b/compiler/verify/calibre.py @@ -173,8 +173,11 @@ def run_lvs(cell_name, gds_name, sp_name, final_verification=False): 'lvsMaskDBFile': OPTS.openram_temp + cell_name + ".maskdb", 'cmnFDILayerMapFile': drc["layer_map"], 'cmnFDIUseLayerMap': 1, - 'lvsRecognizeGates': 'NONE' - #'cmnVConnectNamesState' : 'ALL', #connects all nets with the same name + 'lvsRecognizeGates': 'NONE', + # FIXME: Remove when vdd/gnd connected + 'cmnVConnectNamesState' : 'ALL', #connects all nets with the same namee + # FIXME: Remove when vdd/gnd connected + 'lvsAbortOnSupplyError' : 0 } # This should be removed for final verification @@ -260,8 +263,19 @@ def run_lvs(cell_name, gds_name, sp_name, final_verification=False): debug.error(e.strip("\n")) out_errors = len(stdouterrors) - total_errors = summary_errors + out_errors + ext_errors + + if total_errors > 0: + debug.error("{0}\tSummary: {1}\tOutput: {2}\tExtraction: {3}".format(cell_name, + summary_errors, + out_errors, + ext_errors)) + else: + debug.info(1, "{0}\tSummary: {1}\tOutput: {2}\tExtraction: {3}".format(cell_name, + summary_errors, + out_errors, + ext_errors)) + return total_errors diff --git a/compiler/verify/magic.py b/compiler/verify/magic.py index 319d159a..5ae0ccd7 100644 --- a/compiler/verify/magic.py +++ b/compiler/verify/magic.py @@ -272,7 +272,9 @@ def run_lvs(cell_name, gds_name, sp_name, final_verification=False): # Just print out the whole file, it is short. for e in results: debug.info(1,e.strip("\n")) - debug.error("LVS mismatch (results in {})".format(resultsfile)) + debug.error("{0}\tLVS mismatch (results in {1})".format(cell_name,resultsfile)) + else: + debug.info(1, "{0}\tLVS matches".format(cell_name)) return total_errors