summaryrefslogtreecommitdiff
path: root/inc/utils.h
diff options
context:
space:
mode:
authorbd <bdunaisky@umass.edu>2025-03-11 21:16:25 +0000
committerGitHub <noreply@github.com>2025-03-11 21:16:25 +0000
commitf208e63ce553c6144a672cd35da23425fa7f86d1 (patch)
tree0574ee516499001244d33785a5fc380801c557c9 /inc/utils.h
parente24e3cd4d296599b9ef1b705846b1c868148b0fd (diff)
parentd534555fbb9562a819d34ea874a711d737d051ae (diff)
Merge pull request #25 from bdunahu/dev-sid
support for read word, write line in all levels of storage, cache load, dirty cache eviction, memory address wrapping
Diffstat (limited to 'inc/utils.h')
-rw-r--r--inc/utils.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/inc/utils.h b/inc/utils.h
index 71e515b..aa8831b 100644
--- a/inc/utils.h
+++ b/inc/utils.h
@@ -20,4 +20,6 @@ void get_bit_fields(int address, int *tag, int *index, int *offset);
*/
const std::string string_format(const char *const zcFormat, ...);
+int wrap_address(int address);
+
#endif /* UTILS_H_INCLUDED */