From c7fbdc78776ba35f0fd00eaa972da221df416d27 Mon Sep 17 00:00:00 2001 From: David Shah Date: Mon, 29 Jun 2020 11:20:37 +0100 Subject: Avoid low-value and slow pip name check for ECP5 Signed-off-by: David Shah --- common/archcheck.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'common/archcheck.cc') diff --git a/common/archcheck.cc b/common/archcheck.cc index 3d9e4e76..7b727e9b 100644 --- a/common/archcheck.cc +++ b/common/archcheck.cc @@ -47,14 +47,14 @@ void archcheck_names(const Context *ctx) WireId wire2 = ctx->getWireByName(name); log_assert(wire == wire2); } - +#ifndef ARCH_ECP5 log_info("Checking pip names..\n"); for (PipId pip : ctx->getPips()) { IdString name = ctx->getPipName(pip); PipId pip2 = ctx->getPipByName(name); log_assert(pip == pip2); } - +#endif log_break(); } -- cgit v1.2.3