Add back drc listall with correct output.

This commit is contained in:
mrg 2021-06-04 11:06:39 -07:00
parent 53791d79c8
commit 6643759345
1 changed files with 4 additions and 1 deletions

View File

@ -180,7 +180,10 @@ 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("drc count total\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("quit -noprompt\n")
f.write("EOF\n")
f.write("magic_retcode=$?\n")