diff --git a/src/rs-dsp-simd.cc b/src/rs-dsp-simd.cc index f2dc16f2..50f145d9 100644 --- a/src/rs-dsp-simd.cc +++ b/src/rs-dsp-simd.cc @@ -168,6 +168,13 @@ struct RSDspSimdPass : public Pass { break; } } + for (auto &it : m_DspParamsGen3) { + if (dsp_a->getParam(RTLIL::escape_id(it)) != dsp_b->getParam(RTLIL::escape_id(it))){ + conti = true; + log_warning("Can not merge two DSP19X2 due to different clock domains.\n"); + break; + } + } if (conti)continue; /*--------------------------------------------EDA-2528-----------------------------------------------------*/ SimdDspType = m_SimdDspType_cfg_params; @@ -366,4 +373,4 @@ struct RSDspSimdPass : public Pass { } RSDspSimdPass; -PRIVATE_NAMESPACE_END +PRIVATE_NAMESPACE_END \ No newline at end of file