From 2416cce2eec7ecdf0587896620806c465747eada Mon Sep 17 00:00:00 2001 From: bd Date: Sat, 22 Mar 2025 14:19:10 -0400 Subject: Add controller.h, implementation and tests. --- inc/definitions.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'inc/definitions.h') diff --git a/inc/definitions.h b/inc/definitions.h index eced554..ff2f7c6 100644 --- a/inc/definitions.h +++ b/inc/definitions.h @@ -32,7 +32,7 @@ #define L1_CACHE_LINES static_cast(pow(2, L1_CACHE_LINE_SPEC)) /** - * The total number of cycles a memory access takes. + * The total number of cycles a memory access takes */ #define MEM_DELAY 3 @@ -41,6 +41,11 @@ */ #define L1_CACHE_DELAY 0 +/** + * The number of general purpose registers + */ +#define GPR_NUM 16 + /** * Return the N least-significant bits from integer K using a bit mask * @param the integer to be parsed -- cgit v1.2.3