GT10_CUSTOM.v 10.1 KB
// $Header: /root/leakn64/depot/rf/hw/debug/xilinx/GT10_CUSTOM.v,v 1.1 2003/04/01 21:47:33 berndt Exp $
//**************************************************************
//  Copyright (c) 2002 Xilinx Inc.  All Rights Reserved
//  File Name    : GT10_CUSTOM.v
//  Module Name  : GT10_CUSTOM
//  Function     : Gigabit Transceiver
//  Site         : GT10
//  Spec Version : 1.19
//  Generated by : write_verilog
//**************************************************************

`timescale 1 ps / 1 ps 

module GT10_CUSTOM (
	CHBONDDONE,
	CHBONDO,
	PMACMOUT,
	RXBUFSTATUS,
	RXCHARISCOMMA,
	RXCHARISK,
	RXCHECKINGCRC,
	RXCLKCORCNT,
	RXCOMMADET,
	RXCRCERR,
	RXDATA,
	RXDISPERR,
	RXLOSSOFSYNC,
	RXNOTINTABLE,
	RXREALIGN,
	RXRECCLK,
	RXRUNDISP,
	TXBUFERR,
	TXKERR,
	TXN,
	TXOUTCLK,
	TXP,
	TXRUNDISP,

	BREFCLKNIN,
	BREFCLKPIN,
	CHBONDI,
	DISPREGSEL,
	ENCHANSYNC,
	ENMCOMMAALIGN,
	ENPCOMMAALIGN,
	LOOPBACK,
	PMACMIN,
	PMALOOPBACK,
	PMAPWRDN,
	PMAREGADDR,
	PMAREGDATAIN,
	PMAREGLOAD,
	PMAREGRW,
	PMAREGSTROBE,
	PMARXCLK0SEL,
	PMARXCLK1SEL,
	PMARXLATCHSEL,
	PMARXRECCLKSEL,
	PMATERMEN,
	PMATXCLK0SEL,
	PMATXCLK1SEL,
	PMATXLATCHSEL,
	PMATXOUTCLKSEL,
	POWERDOWN,
	REFCLK,
	REFCLK2,
	REFCLKBSEL,
	REFCLKSEL,
	RXDATAWIDTH,
	RXDECODEUSE,
	RXINTDATAWIDTH,
	RXN,
	RXP,
	RXPOLARITY,
	RXRESET,
	RXUSRCLK,
	RXUSRCLK2,
	TXDATAWIDTH,
	TXINTDATAWIDTH,
	TXBYPASS8B10B,
	TXCHARDISPMODE,
	TXCHARDISPVAL,
	TXCHARISK,
	TXDATA,
	TXFORCECRCERR,
	TXINHIBIT,
	TXPOLARITY,
	TXRESET,
	TXUSRCLK,
	TXUSRCLK2
);

parameter ALIGN_COMMA_MSB = "FALSE";
parameter CHAN_BOND_LIMIT = 8;
parameter CHAN_BOND_MODE = "OFF";
parameter CHAN_BOND_OFFSET = 4;
parameter CHAN_BOND_ONE_SHOT = "FALSE";
parameter CHAN_BOND_SEQ_1_1 = 11'b00000000000;
parameter CHAN_BOND_SEQ_1_2 = 11'b00000000000;
parameter CHAN_BOND_SEQ_1_3 = 11'b00000000000;
parameter CHAN_BOND_SEQ_1_4 = 11'b00000000000;
parameter CHAN_BOND_SEQ_2_1 = 11'b00000000000;
parameter CHAN_BOND_SEQ_2_2 = 11'b00000000000;
parameter CHAN_BOND_SEQ_2_3 = 11'b00000000000;
parameter CHAN_BOND_SEQ_2_4 = 11'b00000000000;
parameter CHAN_BOND_SEQ_2_USE = "FALSE";
parameter CHAN_BOND_SEQ_LEN = 1;
parameter CHAN_BOND_WAIT = 4;
parameter CLK_COR_INSERT_IDLE_FLAG = "FALSE";
parameter CLK_COR_KEEP_IDLE = "FALSE";
parameter CLK_COR_REPEAT_WAIT = 1;
parameter CLK_COR_SEQ_1_1 = 11'b00000000000;
parameter CLK_COR_SEQ_1_2 = 11'b00000000000;
parameter CLK_COR_SEQ_1_3 = 11'b00000000000;
parameter CLK_COR_SEQ_1_4 = 11'b00000000000;
parameter CLK_COR_SEQ_2_1 = 11'b00000000000;
parameter CLK_COR_SEQ_2_2 = 11'b00000000000;
parameter CLK_COR_SEQ_2_3 = 11'b00000000000;
parameter CLK_COR_SEQ_2_4 = 11'b00000000000;
parameter CLK_COR_SEQ_2_USE = "FALSE";
parameter CLK_COR_SEQ_LEN = 1;
parameter CLK_CORRECT_USE = "TRUE";
parameter COMMA_10B_MASK = 10'b1111111000;
parameter CRC_END_OF_PKT = "K29_7";
parameter CRC_FORMAT = "USER_MODE";
parameter CRC_START_OF_PKT = "K27_7";
parameter DEC_MCOMMA_DETECT = "TRUE";
parameter DEC_PCOMMA_DETECT = "TRUE";
parameter DEC_VALID_COMMA_ONLY = "TRUE";
parameter MCOMMA_10B_VALUE = 10'b1100000000;
parameter MCOMMA_DETECT = "TRUE";
parameter PCOMMA_10B_VALUE = 10'b0011111000;
parameter PCOMMA_DETECT = "TRUE";
parameter PMA_SPEED = 0;
parameter PMARXFDETSEL = 3'b000;
parameter PMATXCMSET0 = 2'b00;
parameter PMATXCMSET1 = 2'b00;
parameter PMATXVCODACSEL = "FALSE";
parameter PMAVSEL = "FALSE";
parameter RX_BUFFER_USE = "TRUE";
parameter RX_CRC_USE = "FALSE";
parameter RX_LOS_INVALID_INCR = 1;
parameter RX_LOS_THRESHOLD = 4;
parameter RX_LOSS_OF_SYNC_FSM = "TRUE";
parameter SH_CNT_MAX = 8'b01000000;
parameter SH_INVALID_CNT_MAX = 8'b01000000;
parameter TX_6466GEARBOX_USE = "TRUE";
parameter TX_6466SCRAMBLER_USE = "TRUE";
parameter TX_BUFFER_USE = "TRUE";
parameter TX_CRC_FORCE_VALUE = 8'b11010110;
parameter TX_CRC_USE = "FALSE";

output CHBONDDONE;
output [3:0] CHBONDO;
output PMACMOUT;
output [1:0] RXBUFSTATUS;
output [7:0] RXCHARISCOMMA;
output [7:0] RXCHARISK;
output RXCHECKINGCRC;
output [2:0] RXCLKCORCNT;
output RXCOMMADET;
output RXCRCERR;
output [63:0] RXDATA;
output [7:0] RXDISPERR;
output [1:0] RXLOSSOFSYNC;
output [7:0] RXNOTINTABLE;
output RXREALIGN;
output RXRECCLK;
output [7:0] RXRUNDISP;
output TXBUFERR;
output [7:0] TXKERR;
output TXN;
output TXOUTCLK;
output TXP;
output [7:0] TXRUNDISP;

input BREFCLKNIN;
input BREFCLKPIN;
input [3:0] CHBONDI;
input [2:0] DISPREGSEL;
input ENCHANSYNC;
input ENMCOMMAALIGN;
input ENPCOMMAALIGN;
input [1:0] LOOPBACK;
input PMACMIN;
input [1:0] PMALOOPBACK;
input [2:0] PMAPWRDN;
input [5:0] PMAREGADDR;
input [7:0] PMAREGDATAIN;
input PMAREGLOAD;
input PMAREGRW;
input PMAREGSTROBE;
input PMARXCLK0SEL;
input PMARXCLK1SEL;
input PMARXLATCHSEL;
input [1:0] PMARXRECCLKSEL;
input [1:0] PMATERMEN;
input PMATXCLK0SEL;
input PMATXCLK1SEL;
input PMATXLATCHSEL;
input [1:0] PMATXOUTCLKSEL;
input POWERDOWN;
input REFCLK;
input REFCLK2;
input REFCLKBSEL;
input REFCLKSEL;
input [1:0] RXDATAWIDTH;
input RXDECODEUSE;
input RXINTDATAWIDTH;
input RXN;
input RXP;
input RXPOLARITY;
input RXRESET;
input RXUSRCLK;
input RXUSRCLK2;
input [1:0] TXDATAWIDTH;
input TXINTDATAWIDTH;
input [7:0] TXBYPASS8B10B;
input [7:0] TXCHARDISPMODE;
input [7:0] TXCHARDISPVAL;
input [7:0] TXCHARISK;
input [63:0] TXDATA;
input TXFORCECRCERR;
input TXINHIBIT;
input TXPOLARITY;
input TXRESET;
input TXUSRCLK;
input TXUSRCLK2;


GT10 gt10_1 (
	.CHBONDDONE (CHBONDDONE),
	.CHBONDO (CHBONDO),
	.PMACMOUT (PMACMOUT),
	.RXBUFSTATUS (RXBUFSTATUS),
	.RXCHARISCOMMA (RXCHARISCOMMA),
	.RXCHARISK (RXCHARISK),
	.RXCHECKINGCRC (RXCHECKINGCRC),
	.RXCLKCORCNT (RXCLKCORCNT),
	.RXCOMMADET (RXCOMMADET),
	.RXCRCERR (RXCRCERR),
	.RXDATA (RXDATA),
	.RXDISPERR (RXDISPERR),
	.RXLOSSOFSYNC (RXLOSSOFSYNC),
	.RXNOTINTABLE (RXNOTINTABLE),
	.RXREALIGN (RXREALIGN),
	.RXRECCLK (RXRECCLK),
	.RXRUNDISP (RXRUNDISP),
	.TXBUFERR (TXBUFERR),
	.TXKERR (TXKERR),
	.TXN (TXN),
	.TXOUTCLK (TXOUTCLK),
	.TXP (TXP),
	.TXRUNDISP (TXRUNDISP),
	.BREFCLKNIN (BREFCLKNIN),
	.BREFCLKPIN (BREFCLKPIN),
	.CHBONDI (CHBONDI),
	.DISPREGSEL (DISPREGSEL),
	.ENCHANSYNC (ENCHANSYNC),
	.ENMCOMMAALIGN (ENMCOMMAALIGN),
	.ENPCOMMAALIGN (ENPCOMMAALIGN),
	.LOOPBACK (LOOPBACK),
	.PMACMIN (PMACMIN),
	.PMALOOPBACK (PMALOOPBACK),
	.PMAPWRDN (PMAPWRDN),
	.PMAREGADDR (PMAREGADDR),
	.PMAREGDATAIN (PMAREGDATAIN),
	.PMAREGLOAD (PMAREGLOAD),
	.PMAREGRW (PMAREGRW),
	.PMAREGSTROBE (PMAREGSTROBE),
	.PMARXCLK0SEL (PMARXCLK0SEL),
	.PMARXCLK1SEL (PMARXCLK1SEL),
	.PMARXLATCHSEL (PMARXLATCHSEL),
	.PMARXRECCLKSEL (PMARXRECCLKSEL),
	.PMATERMEN (PMATERMEN),
	.PMATXCLK0SEL (PMATXCLK0SEL),
	.PMATXCLK1SEL (PMATXCLK1SEL),
	.PMATXLATCHSEL (PMATXLATCHSEL),
	.PMATXOUTCLKSEL (PMATXOUTCLKSEL),
	.POWERDOWN (POWERDOWN),
	.REFCLK (REFCLK),
	.REFCLK2 (REFCLK2),
	.REFCLKBSEL (REFCLKBSEL),
	.REFCLKSEL (REFCLKSEL),
	.RXDATAWIDTH (RXDATAWIDTH),
	.RXDECODEUSE (RXDECODEUSE),
	.RXINTDATAWIDTH (RXINTDATAWIDTH),
	.RXN (RXN),
	.RXP (RXP),
	.RXPOLARITY (RXPOLARITY),
	.RXRESET (RXRESET),
	.RXUSRCLK (RXUSRCLK),
	.RXUSRCLK2 (RXUSRCLK2),
	.TXDATAWIDTH (TXDATAWIDTH),
	.TXINTDATAWIDTH (TXINTDATAWIDTH),
	.TXBYPASS8B10B (TXBYPASS8B10B),
	.TXCHARDISPMODE (TXCHARDISPMODE),
	.TXCHARDISPVAL (TXCHARDISPVAL),
	.TXCHARISK (TXCHARISK),
	.TXDATA (TXDATA),
	.TXFORCECRCERR (TXFORCECRCERR),
	.TXINHIBIT (TXINHIBIT),
	.TXPOLARITY (TXPOLARITY),
	.TXRESET (TXRESET),
	.TXUSRCLK (TXUSRCLK),
	.TXUSRCLK2 (TXUSRCLK2)
);

defparam gt10_1.ALIGN_COMMA_MSB = ALIGN_COMMA_MSB;
defparam gt10_1.CHAN_BOND_LIMIT = CHAN_BOND_LIMIT;
defparam gt10_1.CHAN_BOND_MODE = CHAN_BOND_MODE;
defparam gt10_1.CHAN_BOND_OFFSET = CHAN_BOND_OFFSET;
defparam gt10_1.CHAN_BOND_ONE_SHOT = CHAN_BOND_ONE_SHOT;
defparam gt10_1.CHAN_BOND_SEQ_1_1 = CHAN_BOND_SEQ_1_1;
defparam gt10_1.CHAN_BOND_SEQ_1_2 = CHAN_BOND_SEQ_1_2;
defparam gt10_1.CHAN_BOND_SEQ_1_3 = CHAN_BOND_SEQ_1_3;
defparam gt10_1.CHAN_BOND_SEQ_1_4 = CHAN_BOND_SEQ_1_4;
defparam gt10_1.CHAN_BOND_SEQ_2_1 = CHAN_BOND_SEQ_2_1;
defparam gt10_1.CHAN_BOND_SEQ_2_2 = CHAN_BOND_SEQ_2_2;
defparam gt10_1.CHAN_BOND_SEQ_2_3 = CHAN_BOND_SEQ_2_3;
defparam gt10_1.CHAN_BOND_SEQ_2_4 = CHAN_BOND_SEQ_2_4;
defparam gt10_1.CHAN_BOND_SEQ_2_USE = CHAN_BOND_SEQ_2_USE;
defparam gt10_1.CHAN_BOND_SEQ_LEN = CHAN_BOND_SEQ_LEN;
defparam gt10_1.CHAN_BOND_WAIT = CHAN_BOND_WAIT;
defparam gt10_1.CLK_COR_INSERT_IDLE_FLAG = CLK_COR_INSERT_IDLE_FLAG;
defparam gt10_1.CLK_COR_KEEP_IDLE = CLK_COR_KEEP_IDLE;
defparam gt10_1.CLK_COR_REPEAT_WAIT = CLK_COR_REPEAT_WAIT;
defparam gt10_1.CLK_COR_SEQ_1_1 = CLK_COR_SEQ_1_1;
defparam gt10_1.CLK_COR_SEQ_1_2 = CLK_COR_SEQ_1_2;
defparam gt10_1.CLK_COR_SEQ_1_3 = CLK_COR_SEQ_1_3;
defparam gt10_1.CLK_COR_SEQ_1_4 = CLK_COR_SEQ_1_4;
defparam gt10_1.CLK_COR_SEQ_2_1 = CLK_COR_SEQ_2_1;
defparam gt10_1.CLK_COR_SEQ_2_2 = CLK_COR_SEQ_2_2;
defparam gt10_1.CLK_COR_SEQ_2_3 = CLK_COR_SEQ_2_3;
defparam gt10_1.CLK_COR_SEQ_2_4 = CLK_COR_SEQ_2_4;
defparam gt10_1.CLK_COR_SEQ_2_USE = CLK_COR_SEQ_2_USE;
defparam gt10_1.CLK_COR_SEQ_LEN = CLK_COR_SEQ_LEN;
defparam gt10_1.CLK_CORRECT_USE = CLK_CORRECT_USE;
defparam gt10_1.COMMA_10B_MASK = COMMA_10B_MASK;
defparam gt10_1.CRC_END_OF_PKT = CRC_END_OF_PKT;
defparam gt10_1.CRC_FORMAT = CRC_FORMAT;
defparam gt10_1.CRC_START_OF_PKT = CRC_START_OF_PKT;
defparam gt10_1.DEC_MCOMMA_DETECT = DEC_MCOMMA_DETECT;
defparam gt10_1.DEC_PCOMMA_DETECT = DEC_PCOMMA_DETECT;
defparam gt10_1.DEC_VALID_COMMA_ONLY = DEC_VALID_COMMA_ONLY;
defparam gt10_1.MCOMMA_10B_VALUE = MCOMMA_10B_VALUE;
defparam gt10_1.MCOMMA_DETECT = MCOMMA_DETECT;
defparam gt10_1.PCOMMA_10B_VALUE = PCOMMA_10B_VALUE;
defparam gt10_1.PCOMMA_DETECT = PCOMMA_DETECT;
defparam gt10_1.PMA_SPEED = PMA_SPEED;
defparam gt10_1.PMARXFDETSEL = PMARXFDETSEL;
defparam gt10_1.PMATXCMSET0 = PMATXCMSET0;
defparam gt10_1.PMATXCMSET1 = PMATXCMSET1;
defparam gt10_1.PMATXVCODACSEL = PMATXVCODACSEL;
defparam gt10_1.PMAVSEL = PMAVSEL;
defparam gt10_1.RX_BUFFER_USE = RX_BUFFER_USE;
defparam gt10_1.RX_CRC_USE = RX_CRC_USE;
defparam gt10_1.RX_LOS_INVALID_INCR = RX_LOS_INVALID_INCR;
defparam gt10_1.RX_LOS_THRESHOLD = RX_LOS_THRESHOLD;
defparam gt10_1.RX_LOSS_OF_SYNC_FSM = RX_LOSS_OF_SYNC_FSM;
defparam gt10_1.SH_CNT_MAX = SH_CNT_MAX;
defparam gt10_1.SH_INVALID_CNT_MAX = SH_INVALID_CNT_MAX;
defparam gt10_1.TX_6466GEARBOX_USE = TX_6466GEARBOX_USE;
defparam gt10_1.TX_6466SCRAMBLER_USE = TX_6466SCRAMBLER_USE;
defparam gt10_1.TX_BUFFER_USE = TX_BUFFER_USE;
defparam gt10_1.TX_CRC_FORCE_VALUE = TX_CRC_FORCE_VALUE;
defparam gt10_1.TX_CRC_USE = TX_CRC_USE;

endmodule