-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathCOMMAND_REFERENCE
72 lines (64 loc) · 2.08 KB
/
COMMAND_REFERENCE
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
HMCSIM 2.0 Command Reference
-------------------------------------------------------
COMMAND CMD_FIELD DECIMAL_EQUIVALENT
* - denotes new opcodes in 2.0
- write requests
WR16 0001000 8
WR32 0001001 9
WR48 0001010 10
WR64 0001011 11
WR80 0001100 12
WR96 0001101 13
WR112 0001110 14
WR128 0001111 15
WR256 1001111 79 *
MD_WR 0010000 16
- posted write requests
P_WR16 0011000 24
P_WR32 0011001 25
P_WR48 0011010 26
P_WR64 0011011 27
P_WR80 0011100 28
P_WR96 0011101 29
P_WR112 0011110 30
P_WR128 0011111 31
P_WR256 1011111 95 *
- read requests
RD16 0110000 48
RD32 0110001 49
RD48 0110010 50
RD64 0110011 51
RD80 0110100 52
RD96 0110101 53
RD112 0110110 54
RD128 0110111 55
RD256 1110111 119 *
MD_RD 0101000 40
- arithmetic atomics
2ADD8 0010010 18
ADD16 0010011 19
P_2ADD8 0100010 34
P_2ADD16 0100011 35
2ADDS8R 1010010 82 *
ADDS16R 1010011 83 *
INC8 1010000 80 *
P_INC8 1010100 84 *
- boolean atomics
XOR16 1000000 64 *
OR16 1000001 65 *
NOR16 1000010 66 *
AND16 1000011 67 *
NAND16 1000100 68 *
CASGT8 1100000 96 *
CASGT16 1100010 98 *
CASLT8 1100001 97 *
CASLT16 1100011 99 *
CASEQ8 1100100 100 *
CASZERO16 1100101 101 *
EQ8 1101001 105 *
EQ16 1101000 104 *
- bitwise atomics
BWR 0010001 17
P_BWR 0100001 33
BWR8R 1010001 81 *
SWAP16 1101010 106 *