Skip to content

Float division not working with missing file in fpu_manifest_list

Hi, I am trying to simulate float division(c code) using verilator. The FPU parameter is enabled in top model and then the verilated model is used for simulation. Another observation is that, when the PulpDivSqrt is enabled in the cv32e40p_fp_wrapper, there is an error for missing file fpnew_divsqrt_multi. The fpu manifest list doesn't include the this file from the cvfpu package. When this is added, then another file that is the from fpu_div_sqrt_mvp package is missing. Since this is a part of submodule in cvfpu, i was able to add this as well. But still the simulation stalls when float division instruction is present.

The parameters set are as below module cv32e40p_top #( parameter COREV_PULP = 0, parameter COREV_CLUSTER = 0, parameter FPU = 1,
parameter FPU_ADDMUL_LAT = 0, parameter FPU_OTHERS_LAT = 0, parameter ZFINX = 0, parameter NUM_MHPMCOUNTERS = 1 )

I would like to know if the float division is verified, or is it possible that it doesn't work only in verilated model. Or if i am missing any parameters to be enabled.

Thank you