From 9c5f4fb885bb0d7d99a80ffd506e93e3e85320ae Mon Sep 17 00:00:00 2001 From: Sylvain Munaut Date: Tue, 20 Nov 2018 23:53:08 +0100 Subject: [PATCH] ice40/pll: Fix typo when testing for global port output net Signed-off-by: Sylvain Munaut --- ice40/pack.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ice40/pack.cc b/ice40/pack.cc index dae19b2d..34d671cf 100644 --- a/ice40/pack.cc +++ b/ice40/pack.cc @@ -874,7 +874,7 @@ static void pack_special(Context *ctx) newname = "PLLOUT_A"; if (pi.name == ctx->id("PLLOUTCOREB")) newname = "PLLOUT_B"; - if (pi.name == ctx->id("PLLOUTGLOBALA") || pi.name == ctx->id("PLLOUTGLOBALA")) + if (pi.name == ctx->id("PLLOUTGLOBALA") || pi.name == ctx->id("PLLOUTGLOBAL")) newname = "PLLOUT_A_GLOBAL"; if (pi.name == ctx->id("PLLOUTGLOBALB")) newname = "PLLOUT_B_GLOBAL";