- 0b110 - ZERO (direct driving in combination with ONE)
- 0b111 - ONE
* this is all assumed to be driven by the "PLL CLK".
- 0b110 - ZERO (direct driving in combination with ONE)
- 0b111 - ONE
* this is all assumed to be driven by the "PLL CLK".
"""
from nmigen import (Module, Array, Signal, Mux, Elaboratable, ClockSignal)
from nmigen.cli import rtlil
"""
from nmigen import (Module, Array, Signal, Mux, Elaboratable, ClockSignal)
from nmigen.cli import rtlil
self.pll_48_o = Signal() # 6-divide (test signal) from PLL
self.clk_sel_i = Signal(3) # clock source selection
self.core_clk_o = Signal() # main core clock (selectable)
self.pll_48_o = Signal() # 6-divide (test signal) from PLL
self.clk_sel_i = Signal(3) # clock source selection
self.core_clk_o = Signal() # main core clock (selectable)
counter3 = Signal(2) # for divide-by-3
# set up system, zero and one clocks
counter3 = Signal(2) # for divide-by-3
# set up system, zero and one clocks
- return [self.sys_clk_i, self.pll_48_o, self.clk_sel_i, self.core_clk_o]
+ return [self.clk_24_i, self.pll_48_o, self.clk_sel_i, self.core_clk_o]