gowin: improve error message

Signed-off-by: YRabbit <rabbit@yrabbit.cyou>
This commit is contained in:
YRabbit 2023-01-19 07:12:39 +10:00
parent ba4d7b1e9a
commit cc45f5ec48

View File

@ -1036,7 +1036,8 @@ static void pack_plls(Context *ctx)
if (is_pll(ctx, ci)) {
std::string parm_device = str_or_default(ci->params, id_DEVICE, "GW1N-1");
if (parm_device != ctx->device) {
log_error("Wrong PLL device:%s instead of %s\n", parm_device.c_str(), ctx->device.c_str());
log_error("Cell '%s': wrong PLL device:%s instead of %s\n", ctx->nameOf(ci), parm_device.c_str(),
ctx->device.c_str());
continue;
}