data forward violation when custom xpulp instruction, cv.insertr followed by fp instructions #870
Labels
Component:RTL
For issues in the RTL (e.g. for files in the rtl directory)
PARAM:FPU
Issue depends on the FPU parameter
PARAM:PULP_XPULP
Issue depends on the PULP_XPULP 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
Simulation shows below Imperas error messages which related to bsetr xpulp instruction.
From tracer log, we can see that the data forward rule is violated whereby the fmul.s rd is not reflecting correctly on cv.insertr r2
It was proven in waves whereby we can see that cv.insertr write to register earlier than its preceded fmul instruction (blue marker indicate fmul reg_write to X10 happen after cv.insertr reg_write to X20 )
Further debug shows that the apu_stall signal is not asserted when cv.insertr has dependency on X10 (the read_reg_valid_i[1] deasserted during cv.insertr decoding stage).
Component:RTL
Steps to Reproduce
Please provide:
git clone --branch cv32e40p/bsm-github_cv32e40p_Issue_0907 https://github.com/XavierAubert/core-v-verif.git sandbox
cd sandbox/cv32e40p/sim/uvmt
make gen_corev-dv TEST=corev_rand_fp_instr_data_fwd_test CFG=pulp_fpu_zfinx_2cyclat SIMULATOR=vsim SEED=1406786435 TEST_CFG_FILE=floating_pt_zfinx_instr_en COREV=1 USE_ISS=YES
make test TEST=corev_rand_fp_instr_data_fwd_test CFG=pulp_fpu_zfinx_2cyclat SIMULATOR=vsim SEED=1406786435 TEST_CFG_FILE=floating_pt_zfinx_instr_en USE_ISS=YES
The text was updated successfully, but these errors were encountered: