Entity: eth_mac_1g_rgmii
- File: eth_mac_1g_rgmii.v
Diagram
Description
Language: Verilog 2001
Generics
| Generic name | Type | Value | Description |
|---|---|---|---|
| TARGET | "GENERIC" | target ("SIM", "GENERIC", "XILINX", "ALTERA") | |
| IODDR_STYLE | "IODDR2" | IODDR style ("IODDR", "IODDR2") Use IODDR for Virtex-4, Virtex-5, Virtex-6, 7 Series, Ultrascale Use IODDR2 for Spartan-6 | |
| CLOCK_INPUT_STYLE | "BUFG" | Clock input style ("BUFG", "BUFR", "BUFIO", "BUFIO2") Use BUFR for Virtex-6, 7-series Use BUFG for Virtex-5, Spartan-6, Ultrascale | |
| USE_CLK90 | "TRUE" | Use 90 degree clock for RGMII transmit ("TRUE", "FALSE") | |
| ENABLE_PADDING | 1 | ||
| MIN_FRAME_LENGTH | 64 |
Ports
| Port name | Direction | Type | Description |
|---|---|---|---|
| gtx_clk | input | wire | |
| gtx_clk90 | input | wire | |
| gtx_rst | input | wire | |
| rx_clk | output | wire | |
| rx_rst | output | wire | |
| tx_clk | output | wire | |
| tx_rst | output | wire | |
| tx_axis_tdata | input | wire [7:0] | * AXI input */ |
| tx_axis_tvalid | input | wire | |
| tx_axis_tready | output | wire | |
| tx_axis_tlast | input | wire | |
| tx_axis_tuser | input | wire | |
| rx_axis_tdata | output | wire [7:0] | * AXI output */ |
| rx_axis_tvalid | output | wire | |
| rx_axis_tlast | output | wire | |
| rx_axis_tuser | output | wire | |
| rgmii_rx_clk | input | wire | * RGMII interface */ |
| rgmii_rxd | input | wire [3:0] | |
| rgmii_rx_ctl | input | wire | |
| rgmii_tx_clk | output | wire | |
| rgmii_txd | output | wire [3:0] | |
| rgmii_tx_ctl | output | wire | |
| tx_error_underflow | output | wire | * Status */ |
| rx_error_bad_frame | output | wire | |
| rx_error_bad_fcs | output | wire | |
| speed | output | wire [1:0] | |
| ifg_delay | input | wire [7:0] | * Configuration */ |
Signals
| Name | Type | Description |
|---|---|---|
| mac_gmii_rxd | wire [7:0] | |
| mac_gmii_rx_dv | wire | |
| mac_gmii_rx_er | wire | |
| mac_gmii_tx_clk_en | wire | |
| mac_gmii_txd | wire [7:0] | |
| mac_gmii_tx_en | wire | |
| mac_gmii_tx_er | wire | |
| speed_reg | reg [1:0] | |
| mii_select_reg | reg | |
| tx_mii_select_sync | reg [1:0] | |
| rx_mii_select_sync | reg [1:0] | |
| rx_prescale | reg [2:0] | PHY speed detection |
| rx_prescale_sync | reg [2:0] | |
| rx_speed_count_1 | reg [6:0] | |
| rx_speed_count_2 | reg [1:0] |
Processes
- unnamed: ( @(posedge tx_clk) )
Type: always
- unnamed: ( @(posedge rx_clk) )
Type: always
- unnamed: ( @(posedge rx_clk) )
Type: always
- unnamed: ( @(posedge gtx_clk) )
Type: always
- unnamed: ( @(posedge gtx_clk) )
Type: always
Instantiations
- rgmii_phy_if_inst: rgmii_phy_if
- eth_mac_1g_inst: eth_mac_1g