From de977732dbb20fec14ba04e64f79f16432830eab Mon Sep 17 00:00:00 2001 From: Matt Guthaus Date: Mon, 25 Feb 2019 16:13:54 -0800 Subject: [PATCH] Only warn if not unit tests --- compiler/globals.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/compiler/globals.py b/compiler/globals.py index 37aceafa..73cd3747 100644 --- a/compiler/globals.py +++ b/compiler/globals.py @@ -191,7 +191,8 @@ def setup_bitcell(): # Use the pbitcell (and give a warning if not in unit test mode) OPTS.bitcell = "pbitcell" OPTS.replica_bitcell = "replica_pbitcell" - debug.warning("Using the parameterized bitcell which may have suboptimal density.") + if not OPTS.is_unit_test: + debug.warning("Using the parameterized bitcell which may have suboptimal density.") else: debug.info(1,"Using custom bitcell: {}".format(OPTS.bitcell))