summaryrefslogtreecommitdiff
path: root/tests/c11.h
diff options
context:
space:
mode:
authorSiddarth Suresh <155843085+SiddarthSuresh98@users.noreply.github.com>2025-04-27 17:54:41 -0400
committerGitHub <noreply@github.com>2025-04-27 17:54:41 -0400
commitecb0d131e786b1fec5233c7674ba6710ce201c83 (patch)
tree78bfefa262912b0f26a27a1b741c082a2a6e8176 /tests/c11.h
parent6f99f95d9968ea5c83bf5a467bd4bc64750075a3 (diff)
parentde6ccea3c6d23b788acecb0744221a4f6078597a (diff)
Merge pull request #8 from bdunahu/bdunahu
Replace view function with get_data
Diffstat (limited to 'tests/c11.h')
-rw-r--r--tests/c11.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/c11.h b/tests/c11.h
index 983d298..57a8ee1 100644
--- a/tests/c11.h
+++ b/tests/c11.h
@@ -23,7 +23,7 @@ class C11
this->fetch = new int();
this->c = new Cache(new Dram(this->m_delay), 5, 0, this->c_delay);
this->expected = {0, 0, 0, 0};
- this->actual = this->c->view(0, 1)[0];
+ this->actual = this->c->get_data()[0];
}
~C11()
@@ -42,7 +42,7 @@ class C11
// check response
CHECK(!r);
// check for early modifications
- actual = c->view(0, 1)[0];
+ actual = c->get_data()[0];
REQUIRE(this->expected == this->actual);
}
}