aboutsummaryrefslogtreecommitdiff
path: root/tests/slave_dispatcher/operations.memv
diff options
context:
space:
mode:
Diffstat (limited to 'tests/slave_dispatcher/operations.memv')
-rw-r--r--tests/slave_dispatcher/operations.memv28
1 files changed, 18 insertions, 10 deletions
diff --git a/tests/slave_dispatcher/operations.memv b/tests/slave_dispatcher/operations.memv
index 8785d5c..ab534f6 100644
--- a/tests/slave_dispatcher/operations.memv
+++ b/tests/slave_dispatcher/operations.memv
@@ -1,6 +1,6 @@
`include "macroasm.vh" // look into macroasm.vh for more info
-// The beginning copied from self test, only 1st slave is being accessed.
+// The beginning copied from self test, only slave 0 is being accessed.
`WRITE(00000, abcd)
`WAIT
`READ (00000, abcd)
@@ -29,35 +29,43 @@
`WRITE(40040, efef)
`WRITE(80002, 1f1f)
`WRITE(c00c0, 1d1d)
+`WRITE(a0002, aaea)
+`WRITE(e00c0, cc4d)
`READ (80002, 1f1f)
`READ (c00c0, 1d1d)
`READ (40040, efef)
+`READ (a0002, aaea)
+`READ (e00c0, cc4d)
`WAIT
`WAIT
-// Make a sequence of commands to slave 3 (addresses c0000 - fffff)
+// Make a sequence of commands to slave 4 (addresses c0000 - dffff)
`READ (c00c0, 1d1d)
`WRITE(c1111, 0022)
`READ (c00c0, 1d1d)
+`WRITE(c00c0, 0111)
`WRITE(c0001, 0001)
`WRITE(c0002, 0002)
`READ (c0001, 0001)
`READ (c0002, 0002)
`READ (c0001, 0001)
+`READ (c00c0, 0111)
`WRITE(c0003, 0003)
`WRITE(c0002, 2222)
`READ (c0002, 2222)
`READ (c0003, 0003)
-`WRITE(fffff, 5555)
+`WRITE(dffff, 5555)
`READ (c1111, 0022)
-// Put a single command to another slave in-between commands to slave 3
+// Put a single command to another slave in-between commands to slave 4
`WRITE(4ffff, b6b6)
-`READ (fffff, 5555)
-`WRITE(eeeee, aaaa)
-`READ (eeeee, aaaa)
-// Let slave 3 take a breath now
+`READ (dffff, 5555)
+`WRITE(deeee, aaaa)
+`READ (deeee, aaaa)
+// Let slave 4 take a breath now
`READ (4ffff, b6b6)
`DESELECT
-// We made writes to c0002 and c0001, make sure corresponding addreses
-// in other slaves were not overwritten by mistake
+// We made writes to c0002, c0001 and c00c0, make sure corresponding
+// addreses in other slaves were not overwritten by mistake
`READ (80002, 1f1f)
+`READ (a0002, aaea)
`READ (00001, 4321)
+`READ (e00c0, cc4d)