Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EDA-2528-Fix, Do not merge two DSP19X2s with different clock domains #282

Merged
merged 1 commit into from
Feb 29, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion src/rs-dsp-simd.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -366,4 +373,4 @@ struct RSDspSimdPass : public Pass {

} RSDspSimdPass;

PRIVATE_NAMESPACE_END
PRIVATE_NAMESPACE_END
Loading