summaryrefslogtreecommitdiff
path: root/memory/line.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--memory/line.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/memory/line.h b/memory/line.h
index 3377ec8..82b85f5 100644
--- a/memory/line.h
+++ b/memory/line.h
@@ -7,9 +7,9 @@
7#include "infra/sim.h" 7#include "infra/sim.h"
8 8
9namespace memory { 9namespace memory {
10 constexpr std::uint64_t LINE_BYTES_LOG2 = 4; 10 constexpr std::uint64_t LINE_BYTES_LOG2 = 2;
11 constexpr std::uint64_t LINE_BYTES = 1 << LINE_BYTES_LOG2; 11 constexpr std::uint64_t LINE_BYTES = 1 << LINE_BYTES_LOG2;
12 constexpr std::uint64_t LINE_BYTE_OFFSET_MASK = LINE_BYTES - 1; 12 constexpr std::uint64_t LINE_BYTE_OFFSET_MASK = LINE_BYTES - 1;
13 13
14 typedef std::array<std::uint8_t, LINE_BYTES> line; 14 typedef std::array<unsigned int, LINE_BYTES> line;
15} 15}