From 1f0e8cb4ab77c0db6d0ec08cb3a09219ccb04e90 Mon Sep 17 00:00:00 2001 From: bd Date: Tue, 11 Mar 2025 19:52:30 -0400 Subject: Fix issue where fetch_resource did not update cache data --- src/storage/dram.cc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/storage/dram.cc') 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> 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(i) << " | "; + os << " 0b" << std::setw(MEM_LINE_SPEC + LINE_SPEC) << left + << std::bitset(i) << " | "; for (int j = 0; j < LINE_SIZE; ++j) { os << "0x" << std::setfill('0') << std::setw(8) << std::hex << data.at(i).at(j) << ' '; -- cgit v1.2.3