aboutsummaryrefslogtreecommitdiffstats
path: root/ice40
diff options
context:
space:
mode:
authorSylvain Munaut <tnt@246tNt.com>2018-11-18 16:11:14 +0100
committerSylvain Munaut <tnt@246tNt.com>2018-11-19 18:20:20 +0100
commitf6d60229844d95ab94666629d2f0284b2f524227 (patch)
treea5513f28d753112a0b779d05de3e7cfdb2e3ce50 /ice40
parentad23caef33ed768f1e11b29e3c4c10edabd1c836 (diff)
downloadnextpnr-f6d60229844d95ab94666629d2f0284b2f524227.tar.gz
nextpnr-f6d60229844d95ab94666629d2f0284b2f524227.tar.bz2
nextpnr-f6d60229844d95ab94666629d2f0284b2f524227.zip
ice40: Fix PLLTYPE for SB_PLL40_2F_PAD
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
Diffstat (limited to 'ice40')
-rw-r--r--ice40/cells.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ice40/cells.cc b/ice40/cells.cc
index 35255580..3906334f 100644
--- a/ice40/cells.cc
+++ b/ice40/cells.cc
@@ -362,7 +362,7 @@ uint8_t sb_pll40_type(const BaseCtx *ctx, const CellInfo *cell)
if (cell->type == ctx->id("SB_PLL40_2_PAD"))
return 4;
if (cell->type == ctx->id("SB_PLL40_2F_PAD"))
- return 5;
+ return 6;
if (cell->type == ctx->id("SB_PLL40_CORE"))
return 3;
if (cell->type == ctx->id("SB_PLL40_2F_CORE"))