mirror of https://github.com/VLSIDA/OpenRAM.git
Standardize DRC and LVS message levels
This commit is contained in:
parent
58896a6f8e
commit
a878ce5500
|
|
@ -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
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue