core-v-verif icon indicating copy to clipboard operation
core-v-verif copied to clipboard

Remove magic number in uvme_cv32e40p_tdefs.sv

Open MikeOpenHWGroup opened this issue 2 years ago • 0 comments

In cv32e40p/env/uvme/uvme_cv32e40p_tdefs.sv the size of an array is based on a hard-coded "magic number". This should be based on a parameter or macro. I recommend using this one.

Type

  • Code style violations

Additional context

It would be useful to check the e40x and e40s envs as well.

MikeOpenHWGroup avatar Aug 07 '21 00:08 MikeOpenHWGroup