summaryrefslogtreecommitdiff
path: root/tests/if.cc
diff options
context:
space:
mode:
authorSiddarth Suresh <155843085+SiddarthSuresh98@users.noreply.github.com>2025-03-30 19:34:17 -0400
committerGitHub <noreply@github.com>2025-03-30 19:34:17 -0400
commit12a9e93f913c0057f2ef32f5894931c8b4bd3a85 (patch)
tree88669ed2be55b4f455ef4ac56263a01dd5f70a40 /tests/if.cc
parenteedf9686eb60f2008e7766cc9a5d3e037b9dae64 (diff)
parent36dabe6183af98b2e3f6d0316436dc3affc3d986 (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.cc6
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);
}