aboutsummaryrefslogtreecommitdiff
path: root/tests/starved_grid/source.mk
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2024-09-26 15:39:40 +0300
committerKimplul <kimi.h.kuparinen@gmail.com>2024-09-26 15:39:40 +0300
commit1a02154274b4925692ee0ad07d0bb8468ca9d69c (patch)
treea9af8e4b92e39ad25c1654a3ae7ba99faa6a3b85 /tests/starved_grid/source.mk
parentef2b77be011e2b4b415d1c5bb4901431d81dfaee (diff)
downloadgran-1a02154274b4925692ee0ad07d0bb8468ca9d69c.tar.gz
gran-1a02154274b4925692ee0ad07d0bb8468ca9d69c.zip
starvation seems to work
+ With the limitation that a grid node can only attempt one move per clock, which *seems* to be the easiest strategy to implement in hardware, but I should try experimenting with more complex routing/priority assignment schemes to speed up the system overall
Diffstat (limited to 'tests/starved_grid/source.mk')
-rw-r--r--tests/starved_grid/source.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/starved_grid/source.mk b/tests/starved_grid/source.mk
new file mode 100644
index 0000000..428435f
--- /dev/null
+++ b/tests/starved_grid/source.mk
@@ -0,0 +1,6 @@
+STARVED_TEST_OBJ != ./scripts/gen-deps --sources "tests/starved_grid/sim.c"
+
+TEST_PROGS += build/tests/starved_grid/sim
+
+build/tests/starved_grid/sim: $(STARVED_TEST_OBJ) $(OBJS)
+ $(COMPILE) $(STARVED_TEST_OBJ) $(OBJS) -o $@