aboutsummaryrefslogtreecommitdiff
path: root/tests/self_32bit_word/operations.memv
blob: ad35218dc619df92f198ed3add724cc9d031c466 (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
26
27
28
`include "macroasm.vh" // look into macroasm.vh for more info

// Adapted from self test
`WRITE(000000, deadbeef)
`WAIT
`READ (000000, deadbeef)
`WRITE(200001, 1234abcd)
`READ (000000, deadbeef)
`DESELECT
`DESELECT
`READ (200001, 1234abcd)
`WRITE(101010, a2a24444)
`WRITE(200001, 7c7c7c7c)
`READ (101010, a2a24444)
`WRITE(100001, 9901fe23)
`WAIT
`WAIT
`WAIT
`WAIT
`WAIT
`DESELECT
`DESELECT
`DESELECT
`WAIT
`READ(100001, 9901fe23)
`DESELECT
`WAIT
`READ(200001, 7c7c7c7c)