aboutsummaryrefslogtreecommitdiffstats
path: root/gowin/arch.cc
diff options
context:
space:
mode:
authorYRabbit <rabbit@yrabbit.cyou>2023-01-31 18:46:38 +1000
committerYRabbit <rabbit@yrabbit.cyou>2023-01-31 18:46:38 +1000
commit5d5ea57e2123a6d66aa63bf82ac6110713ab8bc7 (patch)
tree30a85495e08625500190e7113287a771297c350e /gowin/arch.cc
parentaac36ecf3f5869498876fda03d9e5f0a2ab9f2a3 (diff)
downloadnextpnr-5d5ea57e2123a6d66aa63bf82ac6110713ab8bc7.tar.gz
nextpnr-5d5ea57e2123a6d66aa63bf82ac6110713ab8bc7.tar.bz2
nextpnr-5d5ea57e2123a6d66aa63bf82ac6110713ab8bc7.zip
gowin: Add PLL support for the GW1NS-2C chip
Signed-off-by: YRabbit <rabbit@yrabbit.cyou>
Diffstat (limited to 'gowin/arch.cc')
-rw-r--r--gowin/arch.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/gowin/arch.cc b/gowin/arch.cc
index 734ff911..fbe26cdd 100644
--- a/gowin/arch.cc
+++ b/gowin/arch.cc
@@ -2123,6 +2123,13 @@ void Arch::bind_pll_to_bel(CellInfo *ci, PLL loc)
bel = id("R1C18_rPLL");
break;
}
+ if (family == "GW1NS-2") {
+ if (loc == PLL::left) {
+ return;
+ }
+ bel = id("R10C20_rPLL");
+ break;
+ }
if (family == "GW1N-4") {
bel = loc == PLL::left ? id("R1C10_rPLL") : id("R1C28_rPLL");
break;