Skip to content

Commit

Permalink
soc/cores/clock/efinix: fix input clock code for trion when the input…
Browse files Browse the repository at this point in the history
… clock comes from another PLL
  • Loading branch information
trabucayre committed Jan 25, 2024
1 parent d320955 commit 245bed7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion litex/soc/cores/clock/efinix.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def register_clkin(self, clkin, freq, name="", refclk_name="", lvds_input=False)
self.logger.info("Clock source: {}, using EXT_CLK{}".format(block["input_clock"], clock_no))
self.platform.get_pll_resource(pll_res)
else:
block["input_clock"] = "INTERNAL"
block["input_clock"] = "INTERNAL" if self.type == "TITANIUMPLL" else "CORE"
block["resource"] = self.platform.get_free_pll_resource()
block["input_signal"] = name
self.logger.info("Clock source: {}".format(block["input_clock"]))
Expand Down

0 comments on commit 245bed7

Please sign in to comment.