Back out drc listall count for detecting errors

This commit is contained in:
mrg 2021-06-04 15:51:50 -07:00
parent cf61096936
commit 27c6a13923
1 changed files with 3 additions and 2 deletions

View File

@ -180,10 +180,11 @@ def write_drc_script(cell_name, gds_name, extract, final_verification, output_pa
f.write('puts "Finished drc check"\n')
f.write("drc catchup\n")
f.write('puts "Finished drc catchup"\n')
f.write("puts -nonewline \"Total DRC errors found: \"\n")
# This is needed instead of drc count total because it displays
# some errors that are not "DRC" errors.
f.write("puts stdout [drc listall count total]\n")
# f.write("puts -nonewline \"Total DRC errors found: \"\n")
# f.write("puts stdout [drc listall count total]\n")
f.write("drc count total\n")
f.write("quit -noprompt\n")
f.write("EOF\n")
f.write("magic_retcode=$?\n")