diff options
author | bd <bdunahu@operationnull.com> | 2025-04-14 20:19:32 -0400 |
---|---|---|
committer | bd <bdunahu@operationnull.com> | 2025-04-14 20:19:32 -0400 |
commit | 432e6f63ab4742ebf34ba7d031e269af810aa93f (patch) | |
tree | d554a331b416a22883d1da0eb1b5195db49638d9 /tests/cache_1_1.cc | |
parent | ee433509972d9390a52f188e902eb74e55596822 (diff) |
Add two-level cache test
Diffstat (limited to 'tests/cache_1_1.cc')
-rw-r--r-- | tests/cache_1_1.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/cache_1_1.cc b/tests/cache_1_1.cc index e3677a4..7d16f76 100644 --- a/tests/cache_1_1.cc +++ b/tests/cache_1_1.cc @@ -11,7 +11,7 @@ TEST_CASE_METHOD(C11, "store 0th element in DELAY cycles", "[dram]") w = 0x11223344; // delay + 1 due to internal logic, when mem - // finishes handle_miss still returns 'blocked' + // finishes is_address_missing still returns '1' this->wait_then_do(this->m_delay + this->c_delay + 1, [this, w]() { return this->c->write_word(this->mem, w, 0b0); }); @@ -32,7 +32,7 @@ TEST_CASE_METHOD(C11, "store 0th, 1st element in DELAY cycles, with conflict", " w = 0x11223344; // delay + 1 due to internal logic, when mem - // finishes handle_miss still returns 'blocked' + // finishes is_address_missing still returns '1' for (i = 0; i < this->m_delay + this->c_delay + 1; ++i) { r = c->write_word(this->mem, w, 0b0); CHECK(!r); @@ -72,7 +72,7 @@ TEST_CASE_METHOD( w = 0x11223344; // delay + 1 due to internal logic, when mem - // finishes handle_miss still returns 'blocked' + // finishes is_address_missing still returns '1' this->wait_then_do(this->m_delay + this->c_delay + 1, [this, w]() { return this->c->write_word(this->mem, w, 0b0); }); |