Incorrect F Extension Result Calculation - Dynamic Rounding Mode #174
Labels
Component:RTL
For issues in the RTL (e.g. for files in the rtl directory)
PARAM:FPU
Issue depends on the FPU parameter
Status:Resolved
Issue has been resolved, but closure is pending on git merge and/or issuer confirmation
Type:Bug
For bugs in the RTL, Documentation, Verification environment or Tool and Build system
RISC-V Specification:
Issue Description:
A wrong value is written to the normal RF for an F-extension instruction that has a dynamic rounding mode.
Example:
As shown below, the instruction 32'hc00f77d3 (fcvt.w.s x15, f30) is decoded at time point t##0 where rm field has the value 111, and frm has the value 011 (written by a previous instruction). Where f30 has the value 32'h02000000 already by a previous instruction as well. Hence, the result has to be rounded up according to the value of frm. However, the rounding mode signal "...fpnew_bulk.rnd_mode_i" has the value associated with RNE and x15 is written with the value 0 instead of the right result 1.
Apparently, ri5cy doesn't support dynamic rounding mode! Is that right?
Product: OneSpin 360 DV-Verify
App: RVV
Tool's version: 2019.2.2
The text was updated successfully, but these errors were encountered: