From d9c44c46abf8d41b16cf670998ed71bae7b3ff07 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Thu, 2 Dec 2021 18:22:42 +0100 Subject: [PATCH] cores/clock/gowin_gw1n: Add back GW1NR support. --- litex/soc/cores/clock/gowin_gw1n.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litex/soc/cores/clock/gowin_gw1n.py b/litex/soc/cores/clock/gowin_gw1n.py index d3456da00..e72ac81d6 100644 --- a/litex/soc/cores/clock/gowin_gw1n.py +++ b/litex/soc/cores/clock/gowin_gw1n.py @@ -74,7 +74,7 @@ class GW1NPLL(Module): elif device.startswith('GW1N-1S'): self.vco_freq_range = (400e6, 1200e6) self.pfd_freq_range = (3e6, 400e6) # not verified: not found in the datasheet - elif device.startswith('GW1N-'): + elif device.startswith('GW1N-') or device.startswith('GW1NR-'): self.vco_freq_range = (400e6, 900e6) self.pfd_freq_range = (3e6, 400e6) # not verified: not found in the datasheet