96 lines
5.9 KiB
Verilog
96 lines
5.9 KiB
Verilog
/*******************************************************************************
|
|
* This file is owned and controlled by Xilinx and must be used solely *
|
|
* for design, simulation, implementation and creation of design files *
|
|
* limited to Xilinx devices or technologies. Use with non-Xilinx *
|
|
* devices or technologies is expressly prohibited and immediately *
|
|
* terminates your license. *
|
|
* *
|
|
* XILINX IS PROVIDING THIS DESIGN, CODE, OR INFORMATION "AS IS" SOLELY *
|
|
* FOR USE IN DEVELOPING PROGRAMS AND SOLUTIONS FOR XILINX DEVICES. BY *
|
|
* PROVIDING THIS DESIGN, CODE, OR INFORMATION AS ONE POSSIBLE *
|
|
* IMPLEMENTATION OF THIS FEATURE, APPLICATION OR STANDARD, XILINX IS *
|
|
* MAKING NO REPRESENTATION THAT THIS IMPLEMENTATION IS FREE FROM ANY *
|
|
* CLAIMS OF INFRINGEMENT, AND YOU ARE RESPONSIBLE FOR OBTAINING ANY *
|
|
* RIGHTS YOU MAY REQUIRE FOR YOUR IMPLEMENTATION. XILINX EXPRESSLY *
|
|
* DISCLAIMS ANY WARRANTY WHATSOEVER WITH RESPECT TO THE ADEQUACY OF THE *
|
|
* IMPLEMENTATION, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OR *
|
|
* REPRESENTATIONS THAT THIS IMPLEMENTATION IS FREE FROM CLAIMS OF *
|
|
* INFRINGEMENT, IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A *
|
|
* PARTICULAR PURPOSE. *
|
|
* *
|
|
* Xilinx products are not intended for use in life support appliances, *
|
|
* devices, or systems. Use in such applications are expressly *
|
|
* prohibited. *
|
|
* *
|
|
* (c) Copyright 1995-2012 Xilinx, Inc. *
|
|
* All rights reserved. *
|
|
*******************************************************************************/
|
|
|
|
/*******************************************************************************
|
|
* Generated from core with identifier: *
|
|
* xilinx.com:ip:gig_eth_pcs_pma:11.4 *
|
|
* *
|
|
* The Ethernet 1000BASE-X PCS/PMA or SGMII LogiCORE(TM) provides the *
|
|
* functionality to implement one of two different specifications: *
|
|
* firstly the IEEE 802.3 1000BASE-X specification; secondly the *
|
|
* Serial-GMII (SGMII) specification which is closely based on *
|
|
* 1000BASE-X. The core provides a choice of physical interface *
|
|
* options: a Ten-Bit-Interface (TBI) for connection to an external *
|
|
* SERDES; high speed serial functionality using the device specific *
|
|
* transceivers in Virtex-7, Kintex-7, Artix-7, Virtex-4, Virtex-5, *
|
|
* Virtex-6 and Spartan-6; SGMII standard only - LVDS using SelectIO in *
|
|
* Virtex-6 devices -2 speed grade and faster. All options provide up *
|
|
* to 1 gigabit per second total bandwidth. When perfoming the SGMII *
|
|
* standard, the core can carry Ethernet traffic up to 1 gigabit per *
|
|
* second total bandwidth; this is inclusive of 10Mbps, 100Mbps and *
|
|
* 1Gbps Ethernet speeds. The core is designed to interface to the *
|
|
* LogiCORE Tri-Mode Ethernet MAC from Xilinx to provide a complete *
|
|
* solution. *
|
|
*******************************************************************************/
|
|
|
|
// The following must be inserted into your Verilog file for this
|
|
// core to be instantiated. Change the instance name and port connections
|
|
// (in parentheses) to your own signal names.
|
|
|
|
//----------- Begin Cut here for INSTANTIATION Template ---// INST_TAG
|
|
gige_sfp your_instance_name (
|
|
.reset(reset), // input reset
|
|
.signal_detect(signal_detect), // input signal_detect
|
|
.mgt_rx_reset(mgt_rx_reset), // output mgt_rx_reset
|
|
.mgt_tx_reset(mgt_tx_reset), // output mgt_tx_reset
|
|
.userclk(userclk), // input userclk
|
|
.userclk2(userclk2), // input userclk2
|
|
.dcm_locked(dcm_locked), // input dcm_locked
|
|
.rxbufstatus(rxbufstatus), // input [1 : 0] rxbufstatus
|
|
.rxchariscomma(rxchariscomma), // input rxchariscomma
|
|
.rxcharisk(rxcharisk), // input rxcharisk
|
|
.rxclkcorcnt(rxclkcorcnt), // input [2 : 0] rxclkcorcnt
|
|
.rxdata(rxdata), // input [7 : 0] rxdata
|
|
.rxdisperr(rxdisperr), // input rxdisperr
|
|
.rxnotintable(rxnotintable), // input rxnotintable
|
|
.rxrundisp(rxrundisp), // input rxrundisp
|
|
.txbuferr(txbuferr), // input txbuferr
|
|
.powerdown(powerdown), // output powerdown
|
|
.txchardispmode(txchardispmode), // output txchardispmode
|
|
.txchardispval(txchardispval), // output txchardispval
|
|
.txcharisk(txcharisk), // output txcharisk
|
|
.txdata(txdata), // output [7 : 0] txdata
|
|
.enablealign(enablealign), // output enablealign
|
|
.gmii_txd(gmii_txd), // input [7 : 0] gmii_txd
|
|
.gmii_tx_en(gmii_tx_en), // input gmii_tx_en
|
|
.gmii_tx_er(gmii_tx_er), // input gmii_tx_er
|
|
.gmii_rxd(gmii_rxd), // output [7 : 0] gmii_rxd
|
|
.gmii_rx_dv(gmii_rx_dv), // output gmii_rx_dv
|
|
.gmii_rx_er(gmii_rx_er), // output gmii_rx_er
|
|
.gmii_isolate(gmii_isolate), // output gmii_isolate
|
|
.configuration_vector(configuration_vector), // input [4 : 0] configuration_vector
|
|
.status_vector(status_vector) // output [15 : 0] status_vector
|
|
);
|
|
// INST_TAG_END ------ End INSTANTIATION Template ---------
|
|
|
|
// You must compile the wrapper file gige_sfp.v when simulating
|
|
// the core, gige_sfp. When compiling the wrapper file, be sure to
|
|
// reference the XilinxCoreLib Verilog simulation library. For detailed
|
|
// instructions, please refer to the "CORE Generator Help".
|
|
|