aboutsummaryrefslogtreecommitdiffstats
path: root/gowin
diff options
context:
space:
mode:
authorYRabbit <rabbit@yrabbit.cyou>2022-11-12 10:12:43 +1000
committerYRabbit <rabbit@yrabbit.cyou>2022-11-12 10:12:43 +1000
commitd4642d918c84f18b6f17b57e619c95ea7a413d3f (patch)
tree3d29ec5ce262f5bb54dabb0ce2386e45af556044 /gowin
parent9013b2de5020ea94fd34b04cbb255b4bad8cbfab (diff)
downloadnextpnr-d4642d918c84f18b6f17b57e619c95ea7a413d3f.tar.gz
nextpnr-d4642d918c84f18b6f17b57e619c95ea7a413d3f.tar.bz2
nextpnr-d4642d918c84f18b6f17b57e619c95ea7a413d3f.zip
gowin: add support for a more common chip
The GW1N-1 and GW1NZ-1 have a similar PLL, but the board with the former chip is already very hard to buy, so let's experiment with a more affordable chip. Signed-off-by: YRabbit <rabbit@yrabbit.cyou>
Diffstat (limited to 'gowin')
-rw-r--r--gowin/pack.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gowin/pack.cc b/gowin/pack.cc
index 5260dda5..dc0b1461 100644
--- a/gowin/pack.cc
+++ b/gowin/pack.cc
@@ -1018,7 +1018,7 @@ static void pack_plls(Context *ctx)
switch (ci->type.hash()) {
case ID_rPLL: {
- if (parm_device == "GW1N-1") {
+ if (parm_device == "GW1N-1" || parm_device == "GW1NZ-1") {
// B half
std::unique_ptr<CellInfo> cell = create_generic_cell(ctx, id_RPLLB, ci->name.str(ctx) + "$rpllb");
reconnect_rpllb(ctx, ci, cell.get());