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

`timescale 1 ps / 1 ps 

module GT10_OC48_1 (
	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 CHAN_BOND_MODE = "OFF";
parameter CHAN_BOND_OFFSET = 4;
parameter CHAN_BOND_ONE_SHOT = "FALSE";
parameter CHAN_BOND_SEQ_2_USE = "FALSE";
parameter CHAN_BOND_SEQ_LEN = 4;
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_2_USE = "FALSE";
parameter CLK_COR_SEQ_LEN = 1;
parameter CLK_CORRECT_USE = "TRUE";
parameter PMA_SPEED = 31;
parameter PMARXFDETSEL = 3'b000;
parameter PMATXCMSET0 = 2'b00;
parameter PMATXCMSET1 = 2'b00;
parameter PMATXVCODACSEL = "FALSE";
parameter PMAVSEL = "FALSE";
parameter RX_BUFFER_USE = "FALSE";
parameter RX_CRC_USE = "FALSE";
parameter RX_LOS_INVALID_INCR = 1;
parameter RX_LOS_THRESHOLD = 4;
parameter RX_LOSS_OF_SYNC_FSM = "FALSE";
parameter TX_6466GEARBOX_USE = "FALSE";
parameter TX_6466SCRAMBLER_USE = "FALSE";
parameter TX_CRC_FORCE_VALUE = 8'b11010110;

output CHBONDDONE;
output [3:0] CHBONDO;
output PMACMOUT;
output [1:0] RXBUFSTATUS;
output [0:0] RXCHARISCOMMA;
output [0:0] RXCHARISK;
output RXCHECKINGCRC;
output [2:0] RXCLKCORCNT;
output RXCOMMADET;
output RXCRCERR;
output [7:0] RXDATA;
output [0:0] RXDISPERR;
output [1:0] RXLOSSOFSYNC;
output [0:0] RXNOTINTABLE;
output RXREALIGN;
output RXRECCLK;
output [0:0] RXRUNDISP;
output TXBUFERR;
output [0:0] TXKERR;
output TXN;
output TXOUTCLK;
output TXP;
output [0: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 [0:0] TXBYPASS8B10B;
input [0:0] TXCHARDISPMODE;
input [0:0] TXCHARDISPVAL;
input [0:0] TXCHARISK;
input [7:0] TXDATA;
input TXFORCECRCERR;
input TXINHIBIT;
input TXPOLARITY;
input TXRESET;
input TXUSRCLK;
input TXUSRCLK2;

wire [6:0] OPEN_RXCHARISCOMMA;
wire [6:0] OPEN_RXCHARISK;
wire [55:0] OPEN_RXDATA;
wire [6:0] OPEN_RXDISPERR;
wire [6:0] OPEN_RXNOTINTABLE;
wire [6:0] OPEN_RXRUNDISP;
wire [6:0] OPEN_TXKERR;
wire [6:0] OPEN_TXRUNDISP;

GT10 gt10_1 (
	.CHBONDDONE (CHBONDDONE),
	.CHBONDO (CHBONDO),
	.PMACMOUT (PMACMOUT),
	.RXBUFSTATUS (RXBUFSTATUS),
	.RXCHARISCOMMA ({OPEN_RXCHARISCOMMA, RXCHARISCOMMA}),
	.RXCHARISK ({OPEN_RXCHARISK, RXCHARISK}),
	.RXCHECKINGCRC (RXCHECKINGCRC),
	.RXCLKCORCNT (RXCLKCORCNT),
	.RXCOMMADET (RXCOMMADET),
	.RXCRCERR (RXCRCERR),
	.RXDATA ({OPEN_RXDATA, RXDATA}),
	.RXDISPERR ({OPEN_RXDISPERR, RXDISPERR}),
	.RXLOSSOFSYNC (RXLOSSOFSYNC),
	.RXNOTINTABLE ({OPEN_RXNOTINTABLE, RXNOTINTABLE}),
	.RXREALIGN (RXREALIGN),
	.RXRECCLK (RXRECCLK),
	.RXRUNDISP ({OPEN_RXRUNDISP, RXRUNDISP}),
	.TXBUFERR (TXBUFERR),
	.TXKERR ({OPEN_TXKERR, TXKERR}),
	.TXN (TXN),
	.TXOUTCLK (TXOUTCLK),
	.TXP (TXP),
	.TXRUNDISP ({OPEN_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 ({7'b0, TXBYPASS8B10B}),
	.TXCHARDISPMODE ({7'b0, TXCHARDISPMODE}),
	.TXCHARDISPVAL ({7'b0, TXCHARDISPVAL}),
	.TXCHARISK ({7'b0, TXCHARISK}),
	.TXDATA ({56'b0, TXDATA}),
	.TXFORCECRCERR (TXFORCECRCERR),
	.TXINHIBIT (TXINHIBIT),
	.TXPOLARITY (TXPOLARITY),
	.TXRESET (TXRESET),
	.TXUSRCLK (TXUSRCLK),
	.TXUSRCLK2 (TXUSRCLK2)
);

defparam gt10_1.ALIGN_COMMA_MSB = "FALSE";
defparam gt10_1.CHAN_BOND_LIMIT = 16;
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 = 11'b00101111100;
defparam gt10_1.CHAN_BOND_SEQ_1_2 = 11'b00000000000;
defparam gt10_1.CHAN_BOND_SEQ_1_3 = 11'b00000000000;
defparam gt10_1.CHAN_BOND_SEQ_1_4 = 11'b00000000000;
defparam gt10_1.CHAN_BOND_SEQ_2_1 = 11'b00000000000;
defparam gt10_1.CHAN_BOND_SEQ_2_2 = 11'b00000000000;
defparam gt10_1.CHAN_BOND_SEQ_2_3 = 11'b00000000000;
defparam gt10_1.CHAN_BOND_SEQ_2_4 = 11'b00000000000;
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 = 11'b00100011100;
defparam gt10_1.CLK_COR_SEQ_1_2 = 11'b00000000000;
defparam gt10_1.CLK_COR_SEQ_1_3 = 11'b00000000000;
defparam gt10_1.CLK_COR_SEQ_1_4 = 11'b00000000000;
defparam gt10_1.CLK_COR_SEQ_2_1 = 11'b00000000000;
defparam gt10_1.CLK_COR_SEQ_2_2 = 11'b00000000000;
defparam gt10_1.CLK_COR_SEQ_2_3 = 11'b00000000000;
defparam gt10_1.CLK_COR_SEQ_2_4 = 11'b00000000000;
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 = 10'b1111111111;
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.TX_6466GEARBOX_USE = TX_6466GEARBOX_USE;
defparam gt10_1.TX_6466SCRAMBLER_USE = TX_6466SCRAMBLER_USE;
defparam gt10_1.TX_BUFFER_USE = "TRUE";
defparam gt10_1.TX_CRC_FORCE_VALUE = TX_CRC_FORCE_VALUE;
defparam gt10_1.TX_CRC_USE = "FALSE";

endmodule