
Chapter 5: 1G/10 Gbps Ethernet PHY IP Core 5–21
Design Examples
November 2012 Altera CorporationAltera Transceiver PHY IP Core
User Guide
Example 5–1 illustrates the original and edited MIFs with changed text in red. The
example shown is only the beginning lines of the MIF to modify. The complete
original MIF is 168 lines. The complete edited MIF is 164 lines.
Design Examples
Altera has two design examples to assist you in integrating this PHY IP into your
design.
■ A MAC and PHY design example. This design example instantiates the 1G/10GbE
PHY IP along with the 1G/10G Ethernet MAC and supporting logic. It is part of
the Quartus II 12.1 installation and is located in the <quartus2_install_dir>/ip
subdirectory. For more information about this example design, refer to the 10-Gbps
Ethernet MAC MegaCore Function User Guide.
■ A PHY-only design example. This design example instantiates the 1G/10GbE PHY
IP along with its supporting logic as shown in Figure 5–4 above. It is available
from Altera by request. To obtain this example design, please file a request
through mySupport.
Example 5–1. Edits to MIF to Remove PMA Settings
MIF_A MIF_B;
WIDTH=16; WIDTH=16;
DEPTH=168; DEPTH=164;
ADDRESS_RADIX=UNS ADDRESS_RADIX=UNS
DATA_RADIX=BIN; DATA_RADIX=BIN;
0: 0000000000100001; -- Start of MIF opcode-FAMILY Stratix V 0: 0000000000100001; --Start of MIF opcode FAMILY Stratix
1: 0000000000000010; -- Type of MIF opcode 1: 0000000000000010; -- Type of MIF opcode
2: 0000000000000011; -- RefClk switch opcode 2: 0000000000000011; -- RefClk switch opcode
3: 0000000000000100; -- CGB PLL switch opcode 3: 0000000000000100; -- CGB PLL switch opcode
4: 0011000000000000; -- PMA - TX 4: 0010000000000000; -- PMA - TX
5: 0010100001100000; 5: 0010100001100000;
6: 0000001111100000; 6: 0000001111100000;
7: 1000000111010100;
8: 0000000000000000;
9: 0000001111000000;
10: 0100000000110010;
11: 0010100000001100; -- PMA - RX (PLL section) 7: 0010100000001100; -- PMA - RX (PLL section)
12: 0110000000000000; 8: 0110000000000000;
13: 0000000000000000; 9: 0000000000000000;
14: 0000110101100000; 10: 0000110101100000;
15: 0000000000000010; 11: 0000000000000010;
16: 0100000000000000; 12: 0100000000000000;
17: 0100000000010110;-- PMA - RX 13: 0001000000010110; -- PMA - RX removed CTLE
18: 0000111010010110; 14: 0000111010010110;
19: 0100000000010001; 15: 0100000000010001;
20: 0000000000000000; 16: 0010100000011001; -- PMA - RX continued
21: 0000000000000000; 17: 0000000000000000;
22: 0010110000000000; 18: 0010110000000000;
23: 0000000110000001; 19: 0000000110000001;
24: 0100000100001111; 20: 0100000100001111;
25: 0001000101110011; 21: 0001000101110011;
26: 0000100000110000; -- PMA -- COM 22: 0000100000110000; -- PMA -- COM
Comentarios a estos manuales