错误 #3025
pdcch打桩测试发现PolarDeBitSelect模块输出结果错误
开始日期:
2025-03-26
计划完成日期:
% 完成:
0%
预期时间:
描述
pdcch打桩测试发现PolarDeBitSelect模块输出结果错误
历史记录
由 张 倩 更新于 大约一个月 之前
现象:pdcch打桩测试发现PolarDeBitSelect模块输出结果错误
原因:" if(Er>Nr)
{
decode_param_ptr->RMReptRecip0[0] = 0x00004000 / mid_value4;
decode_param_ptr->RMReptRecip0[1] = 0x00004000 / (mid_value4 + 1);
}
else
{
decode_param_ptr->RMReptRecip0[0] = 1;
decode_param_ptr->RMReptRecip0[1] = 1;
}",
这段代码中Nr未赋初始值,导致走错分支,RMReptRecip计算错误;
解决方案:“if(Er>Nr)”改成“if(Er>decode_param_ptr->Nr)”;