
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 _IG N O R E
T X _A D D R _IN S
H D _E N A
E X C E S S _C O L
L A T E _C O L
S W _R E S E T
M H A S H _S E L
L O O P _E N A
T X _A D D R _S E L
M A G IC _E N A
S L E 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 _10
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 027
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
DescriptionR/WNameBit(s)
Transmit enable. Set this bit to 1 to enable the transmit datapath.
Self-clearing reset bit.
RWTX_ENA0
Receive enable. Set this bit to 1 to enable the receive datapath.
Self-clearing reset bit.
RWRX_ENA1
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.
RWXON_GEN2
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.
RWETH_SPEED3
Promiscuous enable. Set this bit to 1 to enable promiscuous
mode. In this mode, the MAC function receives all frames
without address filtering.
RWPROMIS_EN4
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.
RWPAD_EN5
Altera Corporation
Configuration Register Space
Send Feedback
6-7
Command_Config Register (Dword Offset 0x02)
UG-01008
2014.06.30
Kommentare zu diesen Handbüchern