From 11f2b6b8096bb9908159e6ea50b57f0aff7a8614 Mon Sep 17 00:00:00 2001 From: mrg Date: Tue, 15 Sep 2020 13:39:00 -0700 Subject: [PATCH] Do not do final verification if supplies were not routed --- compiler/verify/calibre.py | 2 +- compiler/verify/magic.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/compiler/verify/calibre.py b/compiler/verify/calibre.py index 965e3557..d51e71b6 100644 --- a/compiler/verify/calibre.py +++ b/compiler/verify/calibre.py @@ -101,7 +101,7 @@ def write_calibre_lvs_script(cell_name, final_verification, gds_name, sp_name): # FIXME: Remove when vdd/gnd connected #'lvsAbortOnSupplyError' : 0 - if not final_verification: + if not final_verification or not OPTS.route_supplies: lvs_runset['cmnVConnectReport']=1 lvs_runset['cmnVConnectNamesState']='SOME' lvs_runset['cmnVConnectNames']='vdd gnd' diff --git a/compiler/verify/magic.py b/compiler/verify/magic.py index 930316ff..2343da26 100644 --- a/compiler/verify/magic.py +++ b/compiler/verify/magic.py @@ -100,7 +100,7 @@ def write_magic_script(cell_name, extract=False, final_verification=False): pre = "#" else: pre = "" - if final_verification: + if final_verification and OPTS.route_supplies: f.write(pre + "extract unique all\n".format(cell_name)) # Hack to work around unit scales in SkyWater if OPTS.tech_name=="sky130":