coreblocks icon indicating copy to clipboard operation
coreblocks copied to clipboard

FPU rounding module

Open Durchbruchswagen opened this issue 5 months ago • 0 comments

Implementation of the rounding module for FPU.

This module excepts that input is in normalized form (unless the number is subnormal) and, in accordance with RISC-V specification, detects tininess after rounding. The flag that allows generation of a rounding module that assumes that input was already rounded is to be used by modules that are able to perform both their operation and rounding at the same time (adder/subtractor, for example). In that case, this module only checks for errors and special cases (one of the inputs was inf/nan).

Durchbruchswagen avatar Sep 10 '24 00:09 Durchbruchswagen