GW1NPLL: add GW2A

GW2A has the same PLL primitive with GW1N.

Add support for it to GW1NPLL.

Signed-off-by: Icenowy Zheng <uwu@icenowy.me>
This commit is contained in:
Icenowy Zheng 2022-06-02 21:19:41 +08:00
parent a977adf551
commit c66ba025f8
1 changed files with 3 additions and 0 deletions

View File

@ -77,6 +77,9 @@ class GW1NPLL(Module):
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
elif device.startswith('GW2A-'):
self.vco_freq_range = (500e6, 1250e6) # datasheet values
self.pfd_freq_range = (3e6, 500e6) # datasheet values
try:
self.vco_freq_range