From 4285e576f8c7327e001a6bdf06fde0a36c4ef240 Mon Sep 17 00:00:00 2001 From: Matt Guthaus Date: Tue, 14 Nov 2017 15:49:47 -0800 Subject: [PATCH] Change error to warning for magic/netgen. --- compiler/globals.py | 2 ++ compiler/magic.py | 9 ++++++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/compiler/globals.py b/compiler/globals.py index 57743ccd..d0ef3159 100644 --- a/compiler/globals.py +++ b/compiler/globals.py @@ -188,6 +188,8 @@ def get_tool(tool_type, preferences): return(exe_name) else: debug.info(1, "Could not find {0}, trying next {1} tool.".format(name,tool_type)) + else: + return("") def end_openram(): """ Clean up openram for a proper exit """ diff --git a/compiler/magic.py b/compiler/magic.py index 4c61fbfc..1c8b229c 100644 --- a/compiler/magic.py +++ b/compiler/magic.py @@ -53,7 +53,8 @@ def run_drc(name, gds_name): """Run DRC check on a given top-level name which is implemented in gds_name.""" - debug.error("DRC using magic not implemented.",-1) + debug.warning("DRC using magic not implemented.") + return 0 OPTS = globals.get_opts() # the runset file contains all the options to run drc @@ -124,7 +125,8 @@ def run_lvs(name, gds_name, sp_name): """Run LVS check on a given top-level name which is implemented in gds_name and sp_name. """ - debug.error("LVS using magic+netgen not implemented.",-1) + debug.warning("LVS using magic+netgen not implemented.") + return 0 OPTS = globals.get_opts() from tech import drc @@ -237,7 +239,8 @@ def run_pex(name, gds_name, sp_name, output=None): """Run pex on a given top-level name which is implemented in gds_name and sp_name. """ - debug.error("PEX using magic not implemented.",-1) + debug.warning("PEX using magic not implemented.") + return 0 OPTS = globals.get_opts() from tech import drc