Skip to content

Instantly share code, notes, and snippets.

@enjoy-digital
Created April 3, 2020 09:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save enjoy-digital/7e9b12d584c1f5c287fc83725e23df13 to your computer and use it in GitHub Desktop.
Save enjoy-digital/7e9b12d584c1f5c287fc83725e23df13 to your computer and use it in GitHub Desktop.
diff --git a/litex_boards/targets/colorlight_5a_75b.py b/litex_boards/targets/colorlight_5a_75b.py
index e5b4602..2bc41e7 100755
--- a/litex_boards/targets/colorlight_5a_75b.py
+++ b/litex_boards/targets/colorlight_5a_75b.py
@@ -61,7 +61,7 @@ class _CRG(Module):
pll.register_clkin(clk25, 25e6)
pll.create_clkout(self.cd_sys, sys_clk_freq)
- pll.create_clkout(self.cd_sys_ps, sys_clk_freq, phase=90)
+ pll.create_clkout(self.cd_sys_ps, sys_clk_freq, phase=90, margin=0)
self.specials += AsyncResetSynchronizer(self.cd_sys, ~pll.locked | ~rst_n)
# SDRAM clock
@@ -72,7 +72,7 @@ class _CRG(Module):
class BaseSoC(SoCCore):
def __init__(self, revision, with_ethernet=False, with_etherbone=False, **kwargs):
platform = colorlight_5a_75b.Platform(revision=revision)
- sys_clk_freq = int(125e6) if with_etherbone else int(60e6)
+ sys_clk_freq = int(125e6) if with_etherbone else int(48e6)
# SoCCore ----------------------------------------------------------------------------------
SoCCore.__init__(self, platform, clk_freq=sys_clk_freq, **kwargs)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment