diff options
author | Siddarth Suresh <155843085+SiddarthSuresh98@users.noreply.github.com> | 2025-03-30 19:34:17 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-03-30 19:34:17 -0400 |
commit | 12a9e93f913c0057f2ef32f5894931c8b4bd3a85 (patch) | |
tree | 88669ed2be55b4f455ef4ac56263a01dd5f70a40 /tests/if.cc | |
parent | eedf9686eb60f2008e7766cc9a5d3e037b9dae64 (diff) | |
parent | 36dabe6183af98b2e3f6d0316436dc3affc3d986 (diff) |
Merge pull request #41 from bdunahu/bdunahu
Add mock stage, proper decode tests
changes look good
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); } |