aboutsummaryrefslogtreecommitdiff
path: root/tests/simple_mem/no_bus.c
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2024-09-24 16:51:51 +0300
committerKimplul <kimi.h.kuparinen@gmail.com>2024-09-24 18:47:13 +0300
commitfecb86f6093c1e8aed6ab05c29c5af9d0cb93157 (patch)
tree10171c839d77167fc98fbae0b315d2c87aa13fa5 /tests/simple_mem/no_bus.c
parentb1d67364b4b4832b8efed112f7b0ead1a0b3cd3b (diff)
downloadgran-fecb86f6093c1e8aed6ab05c29c5af9d0cb93157.tar.gz
gran-fecb86f6093c1e8aed6ab05c29c5af9d0cb93157.zip
initial work towards message passing interface
+ As they are currently implemented, grid *may* get stuck if two nodes try to send to eachother at the same time, I should probably add in some kind of input buffer as well
Diffstat (limited to 'tests/simple_mem/no_bus.c')
-rw-r--r--tests/simple_mem/no_bus.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/simple_mem/no_bus.c b/tests/simple_mem/no_bus.c
index 8c67e1e..f4622c8 100644
--- a/tests/simple_mem/no_bus.c
+++ b/tests/simple_mem/no_bus.c
@@ -17,6 +17,7 @@ int main()
struct clock_domain *clk = create_clock_domain(NS(1));
clock_domain_add(clk, traffic_gen);
+ clock_domain_add(clk, simple_mem);
struct gran_root *root = create_root();
root_add_clock(root, clk);