From bb8157b3b7ec940f27514cc97e868fad26070814 Mon Sep 17 00:00:00 2001 From: mrg Date: Tue, 14 Jul 2020 08:38:49 -0700 Subject: [PATCH] Exit on DRC not run, check for LVSDRC before running in sram_base. --- compiler/sram/sram_base.py | 2 +- compiler/verify/none.py | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/compiler/sram/sram_base.py b/compiler/sram/sram_base.py index b16c28fa..12af7cf6 100644 --- a/compiler/sram/sram_base.py +++ b/compiler/sram/sram_base.py @@ -129,7 +129,7 @@ class sram_base(design, verilog, lef): start_time = datetime.datetime.now() # We only enable final verification if we have routed the design - self.DRC_LVS(final_verification=OPTS.route_supplies, force_check=True) + self.DRC_LVS(final_verification=OPTS.route_supplies, force_check=OPTS.check_lvsdrc) if not OPTS.is_unit_test: print_time("Verification", datetime.datetime.now(), start_time) diff --git a/compiler/verify/none.py b/compiler/verify/none.py index 41e5780e..f82d59ae 100644 --- a/compiler/verify/none.py +++ b/compiler/verify/none.py @@ -20,7 +20,7 @@ pex_warned = False def run_drc(cell_name, gds_name, extract=False, final_verification=False): global drc_warned if not drc_warned: - debug.warning("DRC unable to run.") + debug.error("DRC unable to run.", -1) drc_warned=True # Since we warned, return a failing test. return 1 @@ -29,7 +29,7 @@ def run_drc(cell_name, gds_name, extract=False, final_verification=False): def run_lvs(cell_name, gds_name, sp_name, final_verification=False): global lvs_warned if not lvs_warned: - debug.warning("LVS unable to run.") + debug.error("LVS unable to run.", -1) lvs_warned=True # Since we warned, return a failing test. return 1 @@ -38,7 +38,7 @@ def run_lvs(cell_name, gds_name, sp_name, final_verification=False): def run_pex(name, gds_name, sp_name, output=None, final_verification=False): global pex_warned if not pex_warned: - debug.warning("PEX unable to run.") + debug.error("PEX unable to run.", -1) pex_warned=True # Since we warned, return a failing test. return 1