aboutsummaryrefslogtreecommitdiff
path: root/tests/self/operations.memv
blob: 5769d948177d7289c82afd9d1adfa22a02a05a96 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
`include "macroasm.vh" // look into macroasm.vh for more info

`WRITE(00000, abcd)
`WAIT
`READ (00000, abcd)
`WRITE(00001, 1234)
`READ (00000, abcd)
`DESELECT
`DESELECT
`READ (00001, 1234)
`WRITE(01010, a2a2)
`WRITE(00001, 4321)
`READ (01010, a2a2)
`WAIT
`WAIT
`WAIT
`WAIT
`WAIT
`DESELECT
`DESELECT
`DESELECT
`WAIT
`DESELECT
`WAIT
`READ(00001, 4321)