diff options
author | bd <bdunahu@operationnull.com> | 2025-05-11 19:40:47 -0400 |
---|---|---|
committer | bd <bdunahu@operationnull.com> | 2025-05-11 19:40:47 -0400 |
commit | c9d4b54150b67e1701a920719ba2c7c03d897d27 (patch) | |
tree | 9c4c19ff4b0f7eb53bfae632437eff3a0a42d5e3 /inc/mm.h | |
parent | 79a68cabb033530871a1dab259149480584b2586 (diff) |
Stride load, stride store
Diffstat (limited to 'inc/mm.h')
-rw-r--r-- | inc/mm.h | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -29,6 +29,19 @@ class MM : public Stage private: void advance_helper() override; + /** + * Helpers for `advance_helper'. Sets the `this->status' to OK + * If the current memory IO returned OK, and all vector elements + * have been processed. Otherwise, sets `this->status' to STALLED + * @param the response from the storage devices. + */ + void try_start(); + void try_finish(int response); + /** + * The index element currently being loaded or stored. + * Used for strided load/store. + */ + int curr_element = 0; }; #endif /* MM_H_INCLUDED */ |