summaryrefslogtreecommitdiff
path: root/tb/mem.cpp
diff options
context:
space:
mode:
authorAlejandro Soto <alejandro@34project.org>2023-09-29 04:53:21 -0600
committerAlejandro Soto <alejandro@34project.org>2023-09-29 04:53:21 -0600
commit231f61c7a07c41ff5b66aff400e7022310e6ec8b (patch)
treea808d4c36a83e56f0cd19b93ff06a4f97017ca4e /tb/mem.cpp
parent24daea338920944133a394bcb85b2c459ccd1352 (diff)
tb: read line-sized reads of word-sized I/O slaves
Diffstat (limited to '')
-rw-r--r--tb/mem.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tb/mem.cpp b/tb/mem.cpp
index 47073ab..a58eaa9 100644
--- a/tb/mem.cpp
+++ b/tb/mem.cpp
@@ -12,7 +12,7 @@ namespace taller::avalon
block(std::make_unique<line[]>(size >> 4))
{}
- bool mem::read_line(std::uint32_t addr, line &data)
+ bool mem::read_line(std::uint32_t addr, line &data, unsigned byte_enable [[maybe_unused]])
{
data = block[addr];
return true;/*ready();*/