pll = Instance("pll", i_ref=self.clk_24_i,
i_a0=self.clk_sel_i[0],
i_a1=self.clk_sel_i[1],
- o_out=self.clk_pll_o,
+ o_out_v=self.clk_pll_o,
o_div_out_test=self.pll_test_o,
o_vco_test_ana=self.pll_vco_o,
)
self.pll_en = hasattr(pspec, "use_pll") and pspec.use_pll
if self.pll_en:
self.pll_test_o = Signal(reset_less=True)
+ self.pll_vco_o = Signal(reset_less=True)
self.clk_sel_i = Signal(reset_less=True)
def elaborate(self, platform):
# wire up external 24mhz to PLL
comb += pll.clk_24_i.eq(ClockSignal())
- # output 18 mhz PLL test signal
+ # output 18 mhz PLL test signal, and analog oscillator out
comb += self.pll_test_o.eq(pll.pll_test_o)
+ comb += self.pll_vco_o.eq(pll.pll_vco_o)
# input to pll clock selection
comb += pll.clk_sel_i.eq(self.clk_sel_i)
if self.pll_en:
ports.append(self.clk_sel_i)
ports.append(self.pll_test_o)
- ports.append(self.pll.pll_vco_o)
+ ports.append(self.pll_vco_o)
return ports