summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorbd <bdunahu@operationnull.com>2025-04-16 11:23:46 -0400
committerbd <bdunahu@operationnull.com>2025-04-16 11:23:46 -0400
commit71f69927931e007d0bac13b9268b6a697b45c70a (patch)
tree41ab4e108784f6c180ad23fcc3bd3bf9440a9a2b /tests
parenta7620015acc2401165b4587cbb6c9a118d944493 (diff)
Update GET_FIELDS to account for number of ways, constructors
Diffstat (limited to 'tests')
-rw-r--r--tests/c11.h2
-rw-r--r--tests/cache_2_1.cc4
2 files changed, 3 insertions, 3 deletions
diff --git a/tests/c11.h b/tests/c11.h
index 6d63c77..e5599db 100644
--- a/tests/c11.h
+++ b/tests/c11.h
@@ -18,7 +18,7 @@ class C11
this->c_delay = 2;
this->mem = new int();
this->fetch = new int();
- this->c = new Cache(new Dram(this->m_delay), 5, this->c_delay);
+ 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];
}
diff --git a/tests/cache_2_1.cc b/tests/cache_2_1.cc
index 5b5a072..cb48d2a 100644
--- a/tests/cache_2_1.cc
+++ b/tests/cache_2_1.cc
@@ -16,8 +16,8 @@ class C21 : public C11
public:
C21() : C11()
{
- this->c2 = new Cache(new Dram(this->m_delay), 7, this->c_delay);
- this->c = new Cache(this->c2, 5, this->c_delay);
+ this->c2 = new Cache(new Dram(this->m_delay), 7, 0, this->c_delay);
+ this->c = new Cache(this->c2, 5, 0, this->c_delay);
}
Cache *c2;