From de6ccea3c6d23b788acecb0744221a4f6078597a Mon Sep 17 00:00:00 2001 From: bd Date: Sun, 27 Apr 2025 00:11:54 -0400 Subject: Replace view function with get_data --- tests/c11.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/c11.h') 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); } } -- cgit v1.2.3