aboutsummaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
authorDavid Li <li.davidm96@gmail.com>2016-01-15 17:21:00 -0700
committerDavid Li <li.davidm96@gmail.com>2016-01-15 17:21:00 -0700
commit05a9968d6dafb31d0e33590d80f6eb364de50d8a (patch)
treea9ae8ef56a9d64a1405e5540dcb62df2b1c72b80 /src/lib.rs
parent4567214f23a63b4e4964433f4034240cc4fa6a4b (diff)
Allow stalls that do not retry instruction
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib.rs b/src/lib.rs
index a2b12f0..2aee390 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -96,9 +96,11 @@ mod tests {
let stall = Err(MemoryError::CacheMiss {
stall_cycles: memory.latency(),
+ retry: true,
});
let write_stall = Err(MemoryError::CacheMiss {
stall_cycles: memory.latency(),
+ retry: true,
});
let memory_ref = Rc::new(RefCell::new(memory));