summaryrefslogtreecommitdiff
path: root/src/storage/dram.cc
diff options
context:
space:
mode:
authorbd <bdunahu@operationnull.com>2025-03-11 19:52:30 -0400
committerbd <bdunahu@operationnull.com>2025-03-11 19:52:30 -0400
commit1400c65a1d19f96fff8b4a0e98fcd9ed792f4883 (patch)
tree0ef2bb95b1fafda0739ea6f04451a32988f18a5f /src/storage/dram.cc
parentfb7735049f571ac45a193481e962f497b4759fa4 (diff)
Fix issue where fetch_resource did not update cache data
Diffstat (limited to 'src/storage/dram.cc')
-rw-r--r--src/storage/dram.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/storage/dram.cc b/src/storage/dram.cc
index 60b4ae5..56eec47 100644
--- a/src/storage/dram.cc
+++ b/src/storage/dram.cc
@@ -143,11 +143,13 @@ std::ostream &operator<<(std::ostream &os, const Dram &d)
std::vector<std::array<signed int, LINE_SIZE>> data = d.view(0, MEM_LINES);
- os << " " << std::setfill(' ') << std::setw(MEM_LINE_SPEC + 2 + LINE_SPEC) << "ADDRESS"
+ os << " " << std::setfill(' ') << std::setw(MEM_LINE_SPEC + 2 + LINE_SPEC)
+ << "ADDRESS"
<< " | " << std::setfill(' ') << std::setw((8 + 3) * 4 - 1) << "DATA"
<< std::endl;
for (int i = 0; i < MEM_LINES; ++i) {
- os << " 0b" << std::setw(MEM_LINE_SPEC+LINE_SPEC) << left << std::bitset<MEM_LINE_SPEC>(i) << " | ";
+ os << " 0b" << std::setw(MEM_LINE_SPEC + LINE_SPEC) << left
+ << std::bitset<MEM_LINE_SPEC>(i) << " | ";
for (int j = 0; j < LINE_SIZE; ++j) {
os << "0x" << std::setfill('0') << std::setw(8) << std::hex
<< data.at(i).at(j) << ' ';