diff options
author | YRabbit <rabbit@yrabbit.cyou> | 2023-01-19 07:12:39 +1000 |
---|---|---|
committer | YRabbit <rabbit@yrabbit.cyou> | 2023-01-19 07:12:39 +1000 |
commit | cc45f5ec48ff90b9685ac0bc7cc9309188a582ff (patch) | |
tree | 95d0bb4c5a1ad120394acb893e1c691acf921ff0 /gowin | |
parent | ba4d7b1e9a233d701eb0ab39d21596a56de75726 (diff) | |
download | nextpnr-cc45f5ec48ff90b9685ac0bc7cc9309188a582ff.tar.gz nextpnr-cc45f5ec48ff90b9685ac0bc7cc9309188a582ff.tar.bz2 nextpnr-cc45f5ec48ff90b9685ac0bc7cc9309188a582ff.zip |
gowin: improve error message
Signed-off-by: YRabbit <rabbit@yrabbit.cyou>
Diffstat (limited to 'gowin')
-rw-r--r-- | gowin/pack.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gowin/pack.cc b/gowin/pack.cc index e1372c47..1ebd5315 100644 --- a/gowin/pack.cc +++ b/gowin/pack.cc @@ -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; } |