Adaptec 1737100 Programmer Manual - Page 64

AIC-6915 Ethernet LAN Controller Programmer's Manual

Page 64 highlights

AIC-6915 Ethernet LAN Controller Programmer's Manual Name Opcode E Opcode F ExcOnClock ReqNextData LoadWR1 LoadWR2 LoadWR3 LoadWR4 LoadLC BarrelShifterCtrl MaskCtrl MaskSel MuxSelInput2 Table 5-2. Instruction Formats (Continued) Bit Number Description 3:0 Return - Return to main program. When branching from the main program, the next instruction pointer value of the main program is saved in a special register. When executing this command, the information stored in the special register is used as the next instruction address. 3:0 BRONINPUT - When this instruction is executed, the signal InputBranch is checked. If the signal is asserted, the branch address is BRANCHADD[7:0], otherwise its DATA[7:0]. This instruction is specifically used to facilitate having a common program for receive and transmit. On the receive side, INPUTBRANCH is tied to '1'. On the receive side, it is tied to '0'. 4 Instruction is executed or rising edge of clock, otherwise when DATAVALID is asserted. 5 Enables the processor to throttle down the incoming data rate. When asserted, the processor is ready to process the next frame data. 6 ALU output is loaded to WR1 7 ALU output is loaded to WR2 8 ALU output is loaded to WR3 9 ALU output is loaded to WR4 10 Loading Loop Counter. The exact data loaded and the counters operation is defined in Data (INST[47:32]). 11 '0' - Not active (No shift) '1' - Active, shift as specified in Data 12 '0' - Masking is disabled '1' - AND mask is defined by MaskSel 13 '0' - Data[3:1] specifies which nibble of the data is being masked. DATA[15:4] specifies the mask. '1' - DATA[14:12] specifies which nibble of the data is being masked. DATA[11:0] specifies the mask. [16:14] Controls the 8 input mux operation at ALU input 2. '0' - Data '1' - DataIn (Frame Data) '2' - WR1[15:0] '3' - WR2 '4' - WR3 '5' - WR4 '6' - LC '7' - ReadData 5-8

  • 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
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187
  • 188
  • 189
  • 190

5-8
AIC-6915 Ethernet LAN Controller Programmer’s Manual
Opcode E
3:0
Return
- Return to main program. When branching from the main
program, the next instruction pointer value of the main program is
saved in a special register. When executing this command, the
information stored in the special register is used as the next
instruction address.
Opcode F
3:0
B
R
O
N
I
NPUT
- When this instruction is executed, the signal
InputBranch
is checked. If the signal is asserted, the branch
address is
B
RANCH
A
DD
[7:0]
, otherwise its
D
ATA
[7:0].
This
instruction is specifically used to facilitate having a common
program for receive and transmit. On the receive side,
I
NPUT
B
RANCH
is tied to ‘1’. On the receive side, it is tied to ‘0’.
ExcOnClock
4
Instruction is executed or rising edge of clock, otherwise when
D
ATA
V
ALID
is asserted.
ReqNextData
5
Enables the processor to throttle down the incoming data rate.
When asserted, the processor is ready to process the next frame
data.
LoadWR1
6
ALU output is loaded to WR1
LoadWR2
7
ALU output is loaded to WR2
LoadWR3
8
ALU output is loaded to WR3
LoadWR4
9
ALU output is loaded to WR4
LoadLC
10
Loading Loop Counter. The exact data loaded and the counters
operation is defined in Data (
I
NST
[47:32]
).
BarrelShifterCtrl
11
0
’ - Not active (No shift)
1
’ - Active, shift as specified in Data
MaskCtrl
12
0
’ - Masking is disabled
1
’ - AND mask is defined by MaskSel
MaskSel
13
0
’ - Data[3:1] specifies which nibble of the data is being masked.
D
ATA
[15:4]
specifies the mask.
1
’ -
D
ATA
[14:12]
specifies which nibble of the data is being
masked.
D
ATA
[11:0]
specifies the mask.
MuxSelInput2
[16:14]
Controls the 8 input mux operation at ALU input 2.
0
’ - Data
1
’ - DataIn (Frame Data)
2
’ - WR1[15:0]
3
’ - WR2
4
’ - WR3
5
’ - WR4
6
’ - LC
7
’ - ReadData
Table 5-2. Instruction Formats (Continued)
Name
Bit Number
Description