summaryrefslogtreecommitdiff
path: root/inc/cli.h
diff options
context:
space:
mode:
authorbd <bdunahu@operationnull.com>2025-03-10 19:42:01 -0400
committerbd <bdunahu@operationnull.com>2025-03-10 19:42:01 -0400
commit4dbe50416eea0fecc2aa6f5ce3dc7032c95234c5 (patch)
tree140af0aec8ee90ac4c15e8b877ff2dc88f33d7ae /inc/cli.h
parent9009d358f7959b1dd60b77fea181be04ae190ef3 (diff)
CLI view, clock, store, program banner
Diffstat (limited to 'inc/cli.h')
-rw-r--r--inc/cli.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/inc/cli.h b/inc/cli.h
index 4a5726c..2194228 100644
--- a/inc/cli.h
+++ b/inc/cli.h
@@ -29,10 +29,11 @@ class Cli
/**
* Stores data into memory at the specified address.
- * @param memory_address address of the memory where data needs to be stored
+ * @param accessor the pipline stage that is making this request
* @param data data value to be written to the memory
+ * @param address address of the memory where data needs to be stored
*/
- void store(int memory_address, int data);
+ void store(Accessor accessor, int data, int address);
/**
* Resets the memory configuration and cycles to their initial state.
@@ -64,10 +65,8 @@ class Cli
* @param level the level specifying the storage device. The first level
* one cache is level zero, with descending levels incrementing by a factor
* of one.
- * @param base the first index to be printed
- * @param the number of lines to be printed
*/
- void view(int level, int base, int lines);
+ void peek(int level);
/**
* Runs the command line interface