Do not do final verification if supplies were not routed

This commit is contained in:
mrg 2020-09-15 13:39:00 -07:00
parent e7ad22ff69
commit 11f2b6b809
2 changed files with 2 additions and 2 deletions

View File

@ -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'

View File

@ -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":