From 9a6ca328f643ecc5fafd91242b51c676f5fac716 Mon Sep 17 00:00:00 2001 From: mrg Date: Wed, 6 Jan 2021 09:42:56 -0800 Subject: [PATCH] Temporarily disable flatten and readonly in magic DRC --- compiler/verify/magic.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/compiler/verify/magic.py b/compiler/verify/magic.py index ad69a224..21e7592e 100644 --- a/compiler/verify/magic.py +++ b/compiler/verify/magic.py @@ -88,9 +88,12 @@ def write_drc_script(cell_name, gds_name, extract, final_verification, output_pa f.write("drc off\n") f.write("gds polygon subcell true\n") f.write("gds warning default\n") - f.write("gds flatten true\n") - f.write("gds readonly true\n") + # These two options are temporarily disabled until Tim fixes a bug in magic related + # to flattening channel routes and vias (hierarchy with no devices in it). Otherwise, + # they appear to be disconnected. + f.write("#gds flatten true\n") f.write("#gds ordering true\n") + f.write("gds readonly true\n") f.write("gds read {}\n".format(gds_name)) f.write('puts "Finished reading gds {}"\n'.format(gds_name)) f.write("load {}\n".format(cell_name))