Closed peter-d closed 6 months ago
Looks like there's an off by one in this for loop https://github.com/rsd-devel/rsd/blob/bc874fc450c04ccf85ab6a3a93469582f01e5ce4/Processor/Src/FloatingPointUnit/FP32PipelinedFMA.sv#L138
It should either be '<76' or '<=75', given it iterates over a 76b vector.
Thank you for pointing this out. As you pointed out, leading_zeros_count < 76 is correct here. We will fix this.
leading_zeros_count < 76
Looks like there's an off by one in this for loop https://github.com/rsd-devel/rsd/blob/bc874fc450c04ccf85ab6a3a93469582f01e5ce4/Processor/Src/FloatingPointUnit/FP32PipelinedFMA.sv#L138
It should either be '<76' or '<=75', given it iterates over a 76b vector.