Skip to content

Commit

Permalink
Merge pull request #2342 from MikeOpenHWGroup/cv32e40p/mem_arr
Browse files Browse the repository at this point in the history
Remove magic number
  • Loading branch information
MikeOpenHWGroup authored Jan 2, 2024
2 parents c98ff2a + 0e5f7b9 commit 35b217d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cv32e40p/env/uvme/uvme_cv32e40p_tdefs.sv
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,8 @@ typedef struct {
} ins_t;


typedef logic [7:0] mem_arr[2**22];
// UVME_CV32E40P_MEM_SIZE is defined in uvme_cv32e40p_macros.sv
typedef logic [7:0] mem_arr[2**`UVME_CV32E40P_MEM_SIZE];

typedef enum {
FETCH_CONSTANT,
Expand Down

0 comments on commit 35b217d

Please sign in to comment.