aboutsummaryrefslogtreecommitdiffstats
path: root/gowin/pack.cc
diff options
context:
space:
mode:
authormyrtle <gatecat@ds0.me>2023-02-02 08:30:56 +0000
committerGitHub <noreply@github.com>2023-02-02 08:30:56 +0000
commit48b0025732f7b5b1b7b091691bb5a26634ae5069 (patch)
tree77052038427be7cf713ba6378f01df539f2e4688 /gowin/pack.cc
parentf328130c0a4cf562ce358d5e2a2a39f3d3dbef5e (diff)
parent2edc77836dd7686c4deabffcd7b6ebb4a75fdce1 (diff)
downloadnextpnr-48b0025732f7b5b1b7b091691bb5a26634ae5069.tar.gz
nextpnr-48b0025732f7b5b1b7b091691bb5a26634ae5069.tar.bz2
nextpnr-48b0025732f7b5b1b7b091691bb5a26634ae5069.zip
Merge pull request #1087 from yrabbit/gw1nr-9
gowin: Add PLL support for the GW1NR-9 chip
Diffstat (limited to 'gowin/pack.cc')
-rw-r--r--gowin/pack.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/gowin/pack.cc b/gowin/pack.cc
index cb24ac02..fc870890 100644
--- a/gowin/pack.cc
+++ b/gowin/pack.cc
@@ -1043,7 +1043,8 @@ static void pack_plls(Context *ctx)
switch (ci->type.hash()) {
case ID_rPLL: {
- if (parm_device == "GW1N-1" || parm_device == "GW1NZ-1" || parm_device == "GW1NR-9C") {
+ if (parm_device == "GW1N-1" || parm_device == "GW1NZ-1" || parm_device == "GW1NR-9C" ||
+ parm_device == "GW1NR-9" || parm_device == "GW1N-4" || parm_device == "GW1NS-2C") {
pll_disable_unused_ports(ctx, ci);
// A cell
std::unique_ptr<CellInfo> cell = create_generic_cell(ctx, id_rPLL, ci->name.str(ctx) + "$rpll");