Avoid low-value and slow pip name check for ECP5
Signed-off-by: David Shah <dave@ds0.me>
This commit is contained in:
parent
b24e0a609b
commit
c7fbdc7877
@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user