diff options
author | bd <bdunahu@operationnull.com> | 2025-04-23 00:47:24 -0400 |
---|---|---|
committer | bd <bdunahu@operationnull.com> | 2025-04-23 00:47:24 -0400 |
commit | 8e33ba4499bced747f66ed436211876d220342d6 (patch) | |
tree | 62b4a9ecd51fdc69b5f617163319c4e3eb93f8ea /tests/if.cc | |
parent | 051041c9cbe0752a50ac1a464df1c554b10cde0c (diff) |
Rename Response.WAIT to READY, delete BLOCKED
Diffstat (limited to 'tests/if.cc')
-rw-r--r-- | tests/if.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/if.cc b/tests/if.cc index 59a7890..e2a7dbe 100644 --- a/tests/if.cc +++ b/tests/if.cc @@ -36,7 +36,7 @@ class IFFixture int i; for (i = 0; i < this->m_delay + 1; ++i) { - r = this->ct->advance(WAIT); + r = this->ct->advance(READY); // check response CHECK(r == nullptr); } @@ -52,11 +52,11 @@ class IFFixture int i; for (i = 0; i < this->c_delay; ++i) { - r = this->ct->advance(WAIT); + r = this->ct->advance(READY); // check response REQUIRE(r == nullptr); } - r = this->ct->advance(WAIT); + r = this->ct->advance(READY); // check response REQUIRE(r != nullptr); return r; @@ -122,7 +122,7 @@ TEST_CASE_METHOD(IFFixture, "fetch waits with old instruction", "[if_pipe]") REQUIRE(i != nullptr); } - i = this->ct->advance(WAIT); + i = this->ct->advance(READY); REQUIRE(i != nullptr); REQUIRE(i->slot_A == this->p[0]); |