clock/efinix_trion: Minor cleanup, revert support to None cd in create_clkout.

This commit is contained in:
Florent Kermarrec 2021-11-08 18:19:12 +01:00
parent af5167c7f0
commit 95a68609cd

View file

@ -85,6 +85,7 @@ class TRIONPLL(Module):
clk_out_name = "{}_CLKOUT{}".format(self.pll_name, self.nclkouts)
if cd is not None:
self.platform.add_extension([(clk_out_name, 0, Pins(1))])
self.comb += cd.clk.eq(self.platform.request(clk_out_name))
if with_reset: