def _attach_clk(self, devices, clkdomain):
    for d in devices:
        if hasattr(d, 'clk_domain'):
            d.clk_domain = clkdomain
def _attach_clk(self, devices, clkdomain):
    for d in devices:
        if hasattr(d, 'clk_domain'):
            d.clk_domain = clkdomain