self.reset = Signal()
self.ready = Signal()
- self.clock_domains.cd_sata_tx = ClockDomain()
- self.clock_domains.cd_sata_rx = ClockDomain()
+ self.cd_sata_tx = ClockDomain()
+ self.cd_sata_rx = ClockDomain()
# CPLL
# (SATA3) 150MHz / VCO @ 3GHz / Line rate @ 6Gbps
class TB(Module):
def __init__(self):
# use sys_clk for each clock_domain
- self.clock_domains.cd_sata_rx = ClockDomain()
- self.clock_domains.cd_sata_tx = ClockDomain()
+ self.cd_sata_rx = ClockDomain()
+ self.cd_sata_tx = ClockDomain()
self.comb += [
self.cd_sata_rx.clk.eq(ClockSignal()),
self.cd_sata_rx.rst.eq(ResetSignal()),
class _CRG(Module):
def __init__(self, platform):
- self.clock_domains.cd_sys = ClockDomain()
- self.clock_domains.cd_por = ClockDomain(reset_less=True)
+ self.cd_sys = ClockDomain()
+ self.cd_por = ClockDomain(reset_less=True)
clk200 = platform.request("clk200")
clk200_se = Signal()