From 64b3cfee26fded705b80b8b62bfd6ee8871c357b Mon Sep 17 00:00:00 2001 From: Matt Guthaus Date: Wed, 25 Jul 2018 13:44:34 -0700 Subject: [PATCH] Only print LVS/DRC stats when it is enabled --- compiler/globals.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/compiler/globals.py b/compiler/globals.py index 34cfbe08..9d088418 100644 --- a/compiler/globals.py +++ b/compiler/globals.py @@ -227,10 +227,11 @@ def end_openram(): """ Clean up openram for a proper exit """ cleanup_paths() - import verify - verify.print_drc_stats() - verify.print_lvs_stats() - verify.print_pex_stats() + if OPTS.check_lvsdrc: + import verify + verify.print_drc_stats() + verify.print_lvs_stats() + verify.print_pex_stats()