Skip to content

Fix errors in cv32e40p pulp_vectorial tests

Created by: jstraus59

Two of the cv32e40p pulp_vectorial_* tests were found to have minor errors when we used them to help verify the addition of the PULP_XPULP extension to the Imperas model:

pulp_vectorial_add_sub.S:

  1. The manual (using .word) encodings of the cv.add.div{2,4,8} instructions in pulp_vectorial_add_sub are incorrect. Specifically the funct5 field values do not match the cv32e40p documentation for any of these instructions, and the funct3 values are incorrect for the cv.add.div2 instructions.
  2. A few of the expected values defined in the tests for the cv.add.div2 instructions are not correct (missing shifts)

pulp_vectorial_bit_manipulation.S

  1. Incorrect register used for comparisons
  2. One expected value was incorrect

See Issue #707 (closed) for more details.

Merge request reports

Loading