diff options
author | bd <bdunahu@operationnull.com> | 2025-03-30 14:28:45 -0400 |
---|---|---|
committer | bd <bdunahu@operationnull.com> | 2025-03-30 14:28:45 -0400 |
commit | 8c46ba4f216aec9f512cd398317f891be9b07e84 (patch) | |
tree | cb502366f721c6bca60becc309fd9de288769d87 /tests/if.cc | |
parent | 916949133a5797772dcd6966e469c12230ffc3fa (diff) |
Add mock stage, proper decode tests
Diffstat (limited to 'tests/if.cc')
-rw-r--r-- | tests/if.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/if.cc b/tests/if.cc index 185a52a..1f02cb0 100644 --- a/tests/if.cc +++ b/tests/if.cc @@ -113,17 +113,17 @@ TEST_CASE_METHOD(IFPipeFixture, "fetch waits with old instruction", expected_cycles = this->m_delay + (this->c_delay * 2) + 1; for (j = 0; j < this->m_delay + 1; ++j) { - i = this->ct->advance(BLOCKED); + i = this->ct->advance(STALLED); // check response CHECK(i == nullptr); } for (j = 0; j < this->c_delay; ++j) { - i = this->ct->advance(BLOCKED); + i = this->ct->advance(STALLED); // check response CHECK(i == nullptr); } for (j = 0; j < expected_cycles - fetch_cycles; ++j) { - i = this->ct->advance(BLOCKED); + i = this->ct->advance(STALLED); // check response CHECK(i != nullptr); } |