Command_config register (dword offset 0x02) – Altera Triple Speed Ethernet MegaCore Function User Manual
Page 90

Command_Config Register (Dword Offset 0x02)
Figure 6-1: Command_Config Register Fields
T
X
_E
N
A
R
X
_E
N
A
X
O
N
_G
E
N
E
T
H
_S
P
E
E
D
P
R
O
M
IS
_E
N
P
A
D
_
E
N
C
R
C
_F
W
D
P
A
U
S
E
_F
W
D
P
A
U
S
E
_I
G
N
O
R
E
T
X
_A
D
D
R
_I
N
S
H
D
_E
N
A
E
X
C
E
S
S
_C
O
L
LA
T
E
_
C
O
L
S
W
_R
E
S
E
T
M
H
A
S
H
_S
E
L
LO
O
P
_
E
N
A
T
X
_A
D
D
R
_S
E
L
M
A
G
IC
_E
N
A
S
LE
E
P
W
A
K
E
U
P
X
O
F
F
_
G
E
N
C
T
R
L_
F
R
M
_
E
N
A
N
O
_L
G
T
H
_C
H
E
C
K
E
N
A
_1
0
R
X
_E
R
R
_D
IS
C
R
E
S
E
R
V
E
D
C
N
T
_
R
E
S
E
T
31 30…
26 25 24 23 22 21 20 19 18…16 15 14 13 12 11 10
9
8
7
6
5
4
3
2
1
0
27
At the minimum, you must configure the
TX_ENA
and
RX_ENA
bits to 1 to start the MAC operations. When
configuring the
command_config
register, Altera recommends that you configure the
TX_ENA
and
RX_ENA
bits the last because the MAC function immediately starts its operations once these bits are set to 1.
Table 6-3: Command_Config Register Field Descriptions
Description
R/W
Name
Bit(s)
Transmit enable. Set this bit to 1 to enable the transmit datapath.
Self-clearing reset bit.
RW
TX_ENA
0
Receive enable. Set this bit to 1 to enable the receive datapath.
Self-clearing reset bit.
RW
RX_ENA
1
Pause frame generation. When you set this bit to 1, the MAC
function generates a pause frame with a pause quanta of 0,
independent of the status of the receive FIFO buffer.
RW
XON_GEN
2
Ethernet speed control.
• Set this bit to 1 to enable gigabit Ethernet operation. The
set_1000
signal is masked and does not affect the operation.
• If you set this bit to 0, gigabit Ethernet operation is enabled
only if the
set_1000
signal is asserted. Otherwise, the MAC
function operates in 10/100 Mbps Ethernet mode.
When the MAC operates in gigabit mode, the
eth_mode
signal
is asserted. This bit is not available in the small MAC variation.
RW
ETH_SPEED
3
Promiscuous enable. Set this bit to 1 to enable promiscuous
mode. In this mode, the MAC function receives all frames
without address filtering.
RW
PROMIS_EN
4
Padding removal on receive. Set this bit to 1 to remove padding
from receive frames before the MAC function forwards the
frames to the user application. This bit has no effect on transmit
frames.
This bit is not available in the small MAC variation.
RW
PAD_EN
5
Altera Corporation
Configuration Register Space
6-7
Command_Config Register (Dword Offset 0x02)
UG-01008
2014.06.30