mirror of
https://github.com/YosysHQ/nextpnr.git
synced 2026-08-22 14:17:29 +02:00
Avoid low-value and slow pip name check for ECP5
Signed-off-by: David Shah <[email protected]>
This commit is contained in:
+2
-2
@@ -47,14 +47,14 @@ void archcheck_names(const Context *ctx)
|
|||||||
WireId wire2 = ctx->getWireByName(name);
|
WireId wire2 = ctx->getWireByName(name);
|
||||||
log_assert(wire == wire2);
|
log_assert(wire == wire2);
|
||||||
}
|
}
|
||||||
|
#ifndef ARCH_ECP5
|
||||||
log_info("Checking pip names..\n");
|
log_info("Checking pip names..\n");
|
||||||
for (PipId pip : ctx->getPips()) {
|
for (PipId pip : ctx->getPips()) {
|
||||||
IdString name = ctx->getPipName(pip);
|
IdString name = ctx->getPipName(pip);
|
||||||
PipId pip2 = ctx->getPipByName(name);
|
PipId pip2 = ctx->getPipByName(name);
|
||||||
log_assert(pip == pip2);
|
log_assert(pip == pip2);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
log_break();
|
log_break();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user