Avoid low-value and slow pip name check for ECP5

Signed-off-by: David Shah <dave@ds0.me>
This commit is contained in:
David Shah 2020-06-29 11:20:37 +01:00
parent b24e0a609b
commit c7fbdc7877

View File

@ -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();
}