aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2025-12-24 00:38:37 +0200
committerKimplul <kimi.h.kuparinen@gmail.com>2025-12-24 00:49:21 +0200
commitead834152ffec8559eb37e9887d215fcf60338a2 (patch)
tree0186a224b41db052788822602b33b4d7f895fda3 /include
parent1870c54a43194632a45b2c945bc53b329acb4b1e (diff)
downloadgran-ead834152ffec8559eb37e9887d215fcf60338a2.tar.gz
gran-ead834152ffec8559eb37e9887d215fcf60338a2.zip
implement interconnect for simt cacheHEADmaster
+ Actual cache still missing, lol + Initial performance numbers aren't too promising compared to simt_riscv64 or even simple_mesh1d, but there's a somewhat increased latency due to registering inputs and the shared req logic which can likely be improved. Will have to dig into this a bit further
Diffstat (limited to 'include')
-rw-r--r--include/gran/cache/simt_cache.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/gran/cache/simt_cache.h b/include/gran/cache/simt_cache.h
new file mode 100644
index 0000000..8939d1a
--- /dev/null
+++ b/include/gran/cache/simt_cache.h
@@ -0,0 +1,9 @@
+#ifndef GRAN_SIMT_CACHE_H
+#define GRAN_SIMT_CACHE_H
+
+#include <gran/component.h>
+
+struct component *create_simt_cache(uint64_t rcv, size_t num_lanes, struct component *mem);
+void simt_cache_connect_lane(struct component *c, size_t i, struct component *l);
+
+#endif /* GRAN_SIMT_CACHE_H */