From 0c287b11ba11b24eaba6cf19282ac7b074720b3c Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Fri, 9 Aug 2019 09:27:32 +0200 Subject: [PATCH] cores/clock/S7PLL: fix -1/-3 speedgrade vco max freq swap --- litex/soc/cores/clock.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/litex/soc/cores/clock.py b/litex/soc/cores/clock.py index 6c8525f61..037d367d0 100644 --- a/litex/soc/cores/clock.py +++ b/litex/soc/cores/clock.py @@ -214,9 +214,9 @@ class S7PLL(XilinxClocking): XilinxClocking.__init__(self) self.divclk_divide_range = (1, 56+1) self.vco_freq_range = { - -1: (800e6, 2133e6), + -1: (800e6, 1600e6), -2: (800e6, 1866e6), - -3: (800e6, 1600e6), + -3: (800e6, 2133e6), }[speedgrade] def do_finalize(self):