[BUG] Missed case operator range #2591
Labels
notCV32A65X
It is not an CV32A65X issue
Type:Bug
For bugs in the RTL, Documentation, Verification environment or Tool and Build system
Is there an existing CVA6 bug for this?
Bug Description
Hi. We are developing a HDL static analyzer and testing it on opensource projects.
It was founded that in functions
fpRegAddrToStr
andregAddrToStr
from instr_trace_item.svh 6-bitaddr
variable is passed incase inside
operators. Butcases
only cover the range of integers from 0 to 31 (there are no handlers for integers in the range 32 to 63) and they don't havedefault
labels.These functions are called in the code only with 5-bit variables
logic [4:0] result_regs [$];
. So is this a bug or a function declaration oversight?The text was updated successfully, but these errors were encountered: