support multi clock domains