Skip to content

Commit

Permalink
Remove magic number
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeOpenHWGroup committed Dec 20, 2023
1 parent c98ff2a commit 0e5f7b9
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 0e5f7b9

Please sign in to comment.