From 008b2fa47db4d04941a2bd6d512a204d76cbfea8 Mon Sep 17 00:00:00 2001 From: Julian Blake Kongslie Date: Sun, 22 Jan 2023 12:33:01 -0800 Subject: Add deadman timer (only ten cycles!) based on time between interruptable points. --- uarch/core.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'uarch/core.h') diff --git a/uarch/core.h b/uarch/core.h index b8473e6..ebfd388 100644 --- a/uarch/core.h +++ b/uarch/core.h @@ -78,6 +78,8 @@ struct indir_stage : public infra::sim { struct exec_stage : public infra::sim { core &c; + unsigned int cycles_since_progress = 0; + unsigned int gen = 0; unsigned int stores_sent = 0; -- cgit v1.2.3