GT10.v 44.4 KB
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251
// $Header: /root/leakn64/depot/rf/hw/debug/xilinx/GT10.v,v 1.1 2003/04/01 21:47:33 berndt Exp $
//**************************************************************
//  Copyright (c) 2002 Xilinx Inc.  All Rights Reserved
//  File Name    : GT10.v
//  Module Name  : GT10
//  Function     : Gigabit Transceiver
//  Site         : GT10
//  Spec Version : 1.19
//  Generated by : write_verilog
//**************************************************************

`timescale 1 ps / 1 ps 

module GT10 (
	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;

reg ALIGN_COMMA_MSB_BINARY;
reg [4:0] CHAN_BOND_LIMIT_BINARY;
reg [1:0] CHAN_BOND_MODE_BINARY;
reg [3:0] CHAN_BOND_OFFSET_BINARY;
reg CHAN_BOND_ONE_SHOT_BINARY;
reg CHAN_BOND_SEQ_2_USE_BINARY;
reg [1:0] CHAN_BOND_SEQ_LEN_BINARY;
reg [3:0] CHAN_BOND_WAIT_BINARY;
reg CLK_COR_INSERT_IDLE_FLAG_BINARY;
reg CLK_COR_KEEP_IDLE_BINARY;
reg [4:0] CLK_COR_REPEAT_WAIT_BINARY;
reg CLK_COR_SEQ_2_USE_BINARY;
reg [1:0] CLK_COR_SEQ_LEN_BINARY;
reg CLK_CORRECT_USE_BINARY;
reg [9:0] CRC_END_OF_PKT_BINARY;
reg [1:0] CRC_FORMAT_BINARY;
reg [9:0] CRC_START_OF_PKT_BINARY;
reg DEC_MCOMMA_DETECT_BINARY;
reg DEC_PCOMMA_DETECT_BINARY;
reg DEC_VALID_COMMA_ONLY_BINARY;
reg MCOMMA_DETECT_BINARY;
reg PCOMMA_DETECT_BINARY;
reg [31:0] PMA_SPEED_BINARY;
reg PMATXVCODACSEL_BINARY;
reg PMAVSEL_BINARY;
reg RX_BUFFER_USE_BINARY;
reg RX_CRC_USE_BINARY;
reg [6:0] RX_LOS_INVALID_INCR_BINARY;
reg [7:0] RX_LOS_THRESHOLD_BINARY;
reg RX_LOSS_OF_SYNC_FSM_BINARY;
reg TX_6466GEARBOX_USE_BINARY;
reg TX_6466SCRAMBLER_USE_BINARY;
reg TX_BUFFER_USE_BINARY;
reg TX_CRC_USE_BINARY;

tri0 GSR = glbl.GSR;

reg notifier;

wire CHBONDDONE_OUT;
wire [3:0] CHBONDO_OUT;
wire PMACMOUT_OUT;
wire [1:0] RXBUFSTATUS_OUT;
wire [7:0] RXCHARISCOMMA_OUT;
wire [7:0] RXCHARISK_OUT;
wire RXCHECKINGCRC_OUT;
wire [2:0] RXCLKCORCNT_OUT;
wire RXCOMMADET_OUT;
wire RXCRCERR_OUT;
wire [63:0] RXDATA_OUT;
wire [7:0] RXDISPERR_OUT;
wire [1:0] RXLOSSOFSYNC_OUT;
wire [7:0] RXNOTINTABLE_OUT;
wire RXREALIGN_OUT;
wire RXRECCLK_OUT;
wire [7:0] RXRUNDISP_OUT;
wire TXBUFERR_OUT;
wire [7:0] TXKERR_OUT;
// wire TXN_OUT;
wire TXOUTCLK_OUT;
// wire TXP_OUT;
wire [7:0] TXRUNDISP_OUT;
wire BREFCLKNIN_IN;
wire BREFCLKPIN_IN;
wire [3:0] CHBONDI_IN;
wire [2:0] DISPREGSEL_IN;
wire ENCHANSYNC_IN;
wire ENMCOMMAALIGN_IN;
wire ENPCOMMAALIGN_IN;
wire [1:0] LOOPBACK_IN;
wire PMACMIN_IN;
wire [1:0] PMALOOPBACK_IN;
wire [2:0] PMAPWRDN_IN;
wire [5:0] PMAREGADDR_IN;
wire [7:0] PMAREGDATAIN_IN;
wire PMAREGLOAD_IN;
wire PMAREGRW_IN;
wire PMAREGSTROBE_IN;
wire PMARXCLK0SEL_IN;
wire PMARXCLK1SEL_IN;
wire PMARXLATCHSEL_IN;
wire [1:0] PMARXRECCLKSEL_IN;
wire [1:0] PMATERMEN_IN;
wire PMATXCLK0SEL_IN;
wire PMATXCLK1SEL_IN;
wire PMATXLATCHSEL_IN;
wire [1:0] PMATXOUTCLKSEL_IN;
wire POWERDOWN_IN;
wire REFCLK_IN;
wire REFCLK2_IN;
wire REFCLKBSEL_IN;
wire REFCLKSEL_IN;
wire [1:0] RXDATAWIDTH_IN;
wire RXDECODEUSE_IN;
wire RXINTDATAWIDTH_IN;
wire RXN_IN;
wire RXP_IN;
wire RXPOLARITY_IN;
wire RXRESET_IN;
wire RXUSRCLK_IN;
wire RXUSRCLK2_IN;
wire [1:0] TXDATAWIDTH_IN;
wire TXINTDATAWIDTH_IN;
wire [7:0] TXBYPASS8B10B_IN;
wire [7:0] TXCHARDISPMODE_IN;
wire [7:0] TXCHARDISPVAL_IN;
wire [7:0] TXCHARISK_IN;
wire [63:0] TXDATA_IN;
wire TXFORCECRCERR_IN;
wire TXINHIBIT_IN;
wire TXPOLARITY_IN;
wire TXRESET_IN;
wire TXUSRCLK_IN;
wire TXUSRCLK2_IN;

initial begin
	case (ALIGN_COMMA_MSB)
		"FALSE" : ALIGN_COMMA_MSB_BINARY <= 0;
		"TRUE" : ALIGN_COMMA_MSB_BINARY <= 1;
		default : begin
			$display("Attribute Syntax Error : The Attribute ALIGN_COMMA_MSB on GT10 instance %m is set to %s.  Legal values for this attribute are TRUE or FALSE.", ALIGN_COMMA_MSB);
			$finish;
		end
	endcase

	case (CHAN_BOND_LIMIT)
		1 : CHAN_BOND_LIMIT_BINARY <= 5'b00000;
		2 : CHAN_BOND_LIMIT_BINARY <= 5'b00001;
		3 : CHAN_BOND_LIMIT_BINARY <= 5'b00010;
		4 : CHAN_BOND_LIMIT_BINARY <= 5'b00011;
		5 : CHAN_BOND_LIMIT_BINARY <= 5'b00100;
		6 : CHAN_BOND_LIMIT_BINARY <= 5'b00101;
		7 : CHAN_BOND_LIMIT_BINARY <= 5'b00110;
		8 : CHAN_BOND_LIMIT_BINARY <= 5'b00111;
		9 : CHAN_BOND_LIMIT_BINARY <= 5'b01000;
		10 : CHAN_BOND_LIMIT_BINARY <= 5'b01001;
		11 : CHAN_BOND_LIMIT_BINARY <= 5'b01010;
		12 : CHAN_BOND_LIMIT_BINARY <= 5'b01011;
		13 : CHAN_BOND_LIMIT_BINARY <= 5'b01100;
		14 : CHAN_BOND_LIMIT_BINARY <= 5'b01101;
		15 : CHAN_BOND_LIMIT_BINARY <= 5'b01110;
		16 : CHAN_BOND_LIMIT_BINARY <= 5'b01111;
		default : begin
			$display("Attribute Syntax Error : The Attribute CHAN_BOND_LIMIT on GT10 instance %m is set to %d.  Legal values for this attribute are 1 to 16.", CHAN_BOND_LIMIT);
			$finish;
		end
	endcase

	case (CHAN_BOND_MODE)
		"OFF" : CHAN_BOND_MODE_BINARY <= 2'b00;
		"MASTER" : CHAN_BOND_MODE_BINARY <= 2'b01;
		"SLAVE_1_HOP" : CHAN_BOND_MODE_BINARY <= 2'b10;
		"SLAVE_2_HOPS" : CHAN_BOND_MODE_BINARY <= 2'b11;
		default : begin
			$display("Attribute Syntax Error : The Attribute CHAN_BOND_MODE on GT10 instance %m is set to %s.  Legal values for this attribute are OFF, MASTER, SLAVE_1_HOP or SLAVE_2_HOPS.", CHAN_BOND_MODE);
			$finish;
		end
	endcase

	case (CHAN_BOND_OFFSET)
		0 : CHAN_BOND_OFFSET_BINARY <= 4'b0000;
		1 : CHAN_BOND_OFFSET_BINARY <= 4'b0001;
		2 : CHAN_BOND_OFFSET_BINARY <= 4'b0010;
		3 : CHAN_BOND_OFFSET_BINARY <= 4'b0011;
		4 : CHAN_BOND_OFFSET_BINARY <= 4'b0100;
		5 : CHAN_BOND_OFFSET_BINARY <= 4'b0101;
		6 : CHAN_BOND_OFFSET_BINARY <= 4'b0110;
		7 : CHAN_BOND_OFFSET_BINARY <= 4'b0111;
		default : begin
			$display("Attribute Syntax Error : The Attribute CHAN_BOND_OFFSET on GT10 instance %m is set to %d.  Legal values for this attribute are 0 to 7.", CHAN_BOND_OFFSET);
			$finish;
		end
	endcase

	case (CHAN_BOND_ONE_SHOT)
		"FALSE" : CHAN_BOND_ONE_SHOT_BINARY <= 0;
		"TRUE" : CHAN_BOND_ONE_SHOT_BINARY <= 1;
		default : begin
			$display("Attribute Syntax Error : The Attribute CHAN_BOND_ONE_SHOT on GT10 instance %m is set to %s.  Legal values for this attribute are TRUE or FALSE.", CHAN_BOND_ONE_SHOT);
			$finish;
		end
	endcase

	case (CHAN_BOND_SEQ_2_USE)
		"FALSE" : CHAN_BOND_SEQ_2_USE_BINARY <= 0;
		"TRUE" : CHAN_BOND_SEQ_2_USE_BINARY <= 1;
		default : begin
			$display("Attribute Syntax Error : The Attribute CHAN_BOND_SEQ_2_USE on GT10 instance %m is set to %s.  Legal values for this attribute are TRUE or FALSE.", CHAN_BOND_SEQ_2_USE);
			$finish;
		end
	endcase

	case (CHAN_BOND_SEQ_LEN)
		1 : CHAN_BOND_SEQ_LEN_BINARY <= 2'b01;
		2 : CHAN_BOND_SEQ_LEN_BINARY <= 2'b10;
		3 : CHAN_BOND_SEQ_LEN_BINARY <= 2'b11;
		4 : CHAN_BOND_SEQ_LEN_BINARY <= 2'b00;
		default : begin
			$display("Attribute Syntax Error : The Attribute CHAN_BOND_SEQ_LEN on GT10 instance %m is set to %d.  Legal values for this attribute are 1 to 4.", CHAN_BOND_SEQ_LEN);
			$finish;
		end
	endcase

	case (CHAN_BOND_WAIT)
		1 : CHAN_BOND_WAIT_BINARY <= 4'b0001;
		2 : CHAN_BOND_WAIT_BINARY <= 4'b0010;
		3 : CHAN_BOND_WAIT_BINARY <= 4'b0011;
		4 : CHAN_BOND_WAIT_BINARY <= 4'b0100;
		5 : CHAN_BOND_WAIT_BINARY <= 4'b0101;
		6 : CHAN_BOND_WAIT_BINARY <= 4'b0110;
		7 : CHAN_BOND_WAIT_BINARY <= 4'b0111;
		default : begin
			$display("Attribute Syntax Error : The Attribute CHAN_BOND_WAIT on GT10 instance %m is set to %d.  Legal values for this attribute are 1 to 7.", CHAN_BOND_WAIT);
			$finish;
		end
	endcase

	case (CLK_COR_INSERT_IDLE_FLAG)
		"FALSE" : CLK_COR_INSERT_IDLE_FLAG_BINARY <= 0;
		"TRUE" : CLK_COR_INSERT_IDLE_FLAG_BINARY <= 1;
		default : begin
			$display("Attribute Syntax Error : The Attribute CLK_COR_INSERT_IDLE_FLAG on GT10 instance %m is set to %s.  Legal values for this attribute are TRUE or FALSE.", CLK_COR_INSERT_IDLE_FLAG);
			$finish;
		end
	endcase

	case (CLK_COR_KEEP_IDLE)
		"FALSE" : CLK_COR_KEEP_IDLE_BINARY <= 0;
		"TRUE" : CLK_COR_KEEP_IDLE_BINARY <= 1;
		default : begin
			$display("Attribute Syntax Error : The Attribute CLK_COR_KEEP_IDLE on GT10 instance %m is set to %s.  Legal values for this attribute are TRUE or FALSE.", CLK_COR_KEEP_IDLE);
			$finish;
		end
	endcase

	case (CLK_COR_REPEAT_WAIT)
		0 : CLK_COR_REPEAT_WAIT_BINARY <= 5'b00000;
		1 : CLK_COR_REPEAT_WAIT_BINARY <= 5'b00001;
		2 : CLK_COR_REPEAT_WAIT_BINARY <= 5'b00010;
		3 : CLK_COR_REPEAT_WAIT_BINARY <= 5'b00011;
		4 : CLK_COR_REPEAT_WAIT_BINARY <= 5'b00100;
		5 : CLK_COR_REPEAT_WAIT_BINARY <= 5'b00101;
		6 : CLK_COR_REPEAT_WAIT_BINARY <= 5'b00110;
		7 : CLK_COR_REPEAT_WAIT_BINARY <= 5'b00111;
		8 : CLK_COR_REPEAT_WAIT_BINARY <= 5'b01000;
		9 : CLK_COR_REPEAT_WAIT_BINARY <= 5'b01001;
		10 : CLK_COR_REPEAT_WAIT_BINARY <= 5'b01010;
		11 : CLK_COR_REPEAT_WAIT_BINARY <= 5'b01011;
		12 : CLK_COR_REPEAT_WAIT_BINARY <= 5'b01100;
		13 : CLK_COR_REPEAT_WAIT_BINARY <= 5'b01101;
		14 : CLK_COR_REPEAT_WAIT_BINARY <= 5'b01110;
		15 : CLK_COR_REPEAT_WAIT_BINARY <= 5'b01111;
		16 : CLK_COR_REPEAT_WAIT_BINARY <= 5'b10000;
		17 : CLK_COR_REPEAT_WAIT_BINARY <= 5'b10001;
		18 : CLK_COR_REPEAT_WAIT_BINARY <= 5'b10010;
		19 : CLK_COR_REPEAT_WAIT_BINARY <= 5'b10011;
		20 : CLK_COR_REPEAT_WAIT_BINARY <= 5'b10100;
		21 : CLK_COR_REPEAT_WAIT_BINARY <= 5'b10101;
		22 : CLK_COR_REPEAT_WAIT_BINARY <= 5'b10110;
		23 : CLK_COR_REPEAT_WAIT_BINARY <= 5'b10111;
		24 : CLK_COR_REPEAT_WAIT_BINARY <= 5'b11000;
		25 : CLK_COR_REPEAT_WAIT_BINARY <= 5'b11001;
		26 : CLK_COR_REPEAT_WAIT_BINARY <= 5'b11010;
		27 : CLK_COR_REPEAT_WAIT_BINARY <= 5'b11011;
		28 : CLK_COR_REPEAT_WAIT_BINARY <= 5'b11100;
		29 : CLK_COR_REPEAT_WAIT_BINARY <= 5'b11101;
		30 : CLK_COR_REPEAT_WAIT_BINARY <= 5'b11110;
		31 : CLK_COR_REPEAT_WAIT_BINARY <= 5'b11111;
		default : begin
			$display("Attribute Syntax Error : The Attribute CLK_COR_REPEAT_WAIT on GT10 instance %m is set to %d.  Legal values for this attribute are 0 to 31.", CLK_COR_REPEAT_WAIT);
			$finish;
		end
	endcase

	case (CLK_COR_SEQ_2_USE)
		"FALSE" : CLK_COR_SEQ_2_USE_BINARY <= 0;
		"TRUE" : CLK_COR_SEQ_2_USE_BINARY <= 1;
		default : begin
			$display("Attribute Syntax Error : The Attribute CLK_COR_SEQ_2_USE on GT10 instance %m is set to %s.  Legal values for this attribute are TRUE or FALSE.", CLK_COR_SEQ_2_USE);
			$finish;
		end
	endcase

	case (CLK_COR_SEQ_LEN)
		1 : CLK_COR_SEQ_LEN_BINARY <= 2'b01;
		2 : CLK_COR_SEQ_LEN_BINARY <= 2'b10;
		3 : CLK_COR_SEQ_LEN_BINARY <= 2'b11;
		4 : CLK_COR_SEQ_LEN_BINARY <= 2'b00;
		default : begin
			$display("Attribute Syntax Error : The Attribute CLK_COR_SEQ_LEN on GT10 instance %m is set to %d.  Legal values for this attribute are 1 to 4.", CLK_COR_SEQ_LEN);
			$finish;
		end
	endcase

	case (CLK_CORRECT_USE)
		"FALSE" : CLK_CORRECT_USE_BINARY <= 0;
		"TRUE" : CLK_CORRECT_USE_BINARY <= 1;
		default : begin
			$display("Attribute Syntax Error : The Attribute CLK_CORRECT_USE on GT10 instance %m is set to %s.  Legal values for this attribute are TRUE or FALSE.", CLK_CORRECT_USE);
			$finish;
		end
	endcase

	case (CRC_END_OF_PKT)
		"K29_7" : CRC_END_OF_PKT_BINARY <= 10'b0011111101;
		"K28_0" : CRC_END_OF_PKT_BINARY <= 10'b0000011100;
		"K28_1" : CRC_END_OF_PKT_BINARY <= 10'b0000111100;
		"K28_2" : CRC_END_OF_PKT_BINARY <= 10'b0001011100;
		"K28_3" : CRC_END_OF_PKT_BINARY <= 10'b0001111100;
		"K28_4" : CRC_END_OF_PKT_BINARY <= 10'b0010011100;
		"K28_5" : CRC_END_OF_PKT_BINARY <= 10'b0010111100;
		"K28_6" : CRC_END_OF_PKT_BINARY <= 10'b0011011100;
		"K28_7" : CRC_END_OF_PKT_BINARY <= 10'b0011111100;
		"K23_7" : CRC_END_OF_PKT_BINARY <= 10'b0011110111;
		"K27_7" : CRC_END_OF_PKT_BINARY <= 10'b0011111011;
		"K30_7" : CRC_END_OF_PKT_BINARY <= 10'b0011111110;
		default : begin
			$display("Attribute Syntax Error : The Attribute CRC_END_OF_PKT on GT10 instance %m is set to %s.  Legal values for this attribute are K29_7, K28_0, K28_1, K28_2, K28_3, K28_4, K28_5, K28_6, K28_7, K23_7, K27_7 or K30_7.", CRC_END_OF_PKT);
			$finish;
		end
	endcase

	case (CRC_FORMAT)
		"USER_MODE" : CRC_FORMAT_BINARY <= 2'b00;
		"ETHERNET" : CRC_FORMAT_BINARY <= 2'b01;
		"FIBRE_CHAN" : CRC_FORMAT_BINARY <= 2'b10;
		"INFINIBAND" : CRC_FORMAT_BINARY <= 2'b11;
		default : begin
			$display("Attribute Syntax Error : The Attribute CRC_FORMAT on GT10 instance %m is set to %s.  Legal values for this attribute are USER_MODE, ETHERNET, FIBRE_CHAN or INFINIBAND.", CRC_FORMAT);
			$finish;
		end
	endcase

	case (CRC_START_OF_PKT)
		"K27_7" : CRC_START_OF_PKT_BINARY <= 10'b0011111011;
		"K28_0" : CRC_START_OF_PKT_BINARY <= 10'b0000011100;
		"K28_1" : CRC_START_OF_PKT_BINARY <= 10'b0000111100;
		"K28_2" : CRC_START_OF_PKT_BINARY <= 10'b0001011100;
		"K28_3" : CRC_START_OF_PKT_BINARY <= 10'b0001111100;
		"K28_4" : CRC_START_OF_PKT_BINARY <= 10'b0010011100;
		"K28_5" : CRC_START_OF_PKT_BINARY <= 10'b0010111100;
		"K28_6" : CRC_START_OF_PKT_BINARY <= 10'b0011011100;
		"K28_7" : CRC_START_OF_PKT_BINARY <= 10'b0011111100;
		"K23_7" : CRC_START_OF_PKT_BINARY <= 10'b0011110111;
		"K29_7" : CRC_START_OF_PKT_BINARY <= 10'b0011111101;
		"K30_7" : CRC_START_OF_PKT_BINARY <= 10'b0011111110;
		default : begin
			$display("Attribute Syntax Error : The Attribute CRC_START_OF_PKT on GT10 instance %m is set to %s.  Legal values for this attribute are K27_7, K28_0, K28_1, K28_2, K28_3, K28_4, K28_5, K28_6, K28_7, K23_7, K29_7 or K30_7.", CRC_START_OF_PKT);
			$finish;
		end
	endcase

	case (DEC_MCOMMA_DETECT)
		"FALSE" : DEC_MCOMMA_DETECT_BINARY <= 0;
		"TRUE" : DEC_MCOMMA_DETECT_BINARY <= 1;
		default : begin
			$display("Attribute Syntax Error : The Attribute DEC_MCOMMA_DETECT on GT10 instance %m is set to %s.  Legal values for this attribute are TRUE or FALSE.", DEC_MCOMMA_DETECT);
			$finish;
		end
	endcase

	case (DEC_PCOMMA_DETECT)
		"FALSE" : DEC_PCOMMA_DETECT_BINARY <= 0;
		"TRUE" : DEC_PCOMMA_DETECT_BINARY <= 1;
		default : begin
			$display("Attribute Syntax Error : The Attribute DEC_PCOMMA_DETECT on GT10 instance %m is set to %s.  Legal values for this attribute are TRUE or FALSE.", DEC_PCOMMA_DETECT);
			$finish;
		end
	endcase

	case (DEC_VALID_COMMA_ONLY)
		"FALSE" : DEC_VALID_COMMA_ONLY_BINARY <= 0;
		"TRUE" : DEC_VALID_COMMA_ONLY_BINARY <= 1;
		default : begin
			$display("Attribute Syntax Error : The Attribute DEC_VALID_COMMA_ONLY on GT10 instance %m is set to %s.  Legal values for this attribute are TRUE or FALSE.", DEC_VALID_COMMA_ONLY);
			$finish;
		end
	endcase

	case (MCOMMA_DETECT)
		"FALSE" : MCOMMA_DETECT_BINARY <= 0;
		"TRUE" : MCOMMA_DETECT_BINARY <= 1;
		default : begin
			$display("Attribute Syntax Error : The Attribute MCOMMA_DETECT on GT10 instance %m is set to %s.  Legal values for this attribute are TRUE or FALSE.", MCOMMA_DETECT);
			$finish;
		end
	endcase

	case (PCOMMA_DETECT)
		"FALSE" : PCOMMA_DETECT_BINARY <= 0;
		"TRUE" : PCOMMA_DETECT_BINARY <= 1;
		default : begin
			$display("Attribute Syntax Error : The Attribute PCOMMA_DETECT on GT10 instance %m is set to %s.  Legal values for this attribute are TRUE or FALSE.", PCOMMA_DETECT);
			$finish;
		end
	endcase

	case (PMA_SPEED)
		0 : PMA_SPEED_BINARY <= 0;
		1 : PMA_SPEED_BINARY <= 0;
		2 : PMA_SPEED_BINARY <= 0;
		3 : PMA_SPEED_BINARY <= 0;
		4 : PMA_SPEED_BINARY <= 0;
		5 : PMA_SPEED_BINARY <= 0;
		6 : PMA_SPEED_BINARY <= 0;
		7 : PMA_SPEED_BINARY <= 0;
		8 : PMA_SPEED_BINARY <= 0;
		9 : PMA_SPEED_BINARY <= 0;
		10 : PMA_SPEED_BINARY <= 0;
		11 : PMA_SPEED_BINARY <= 0;
		12 : PMA_SPEED_BINARY <= 0;
		13 : PMA_SPEED_BINARY <= 0;
		14 : PMA_SPEED_BINARY <= 0;
		15 : PMA_SPEED_BINARY <= 0;
		16 : PMA_SPEED_BINARY <= 0;
		17 : PMA_SPEED_BINARY <= 0;
		18 : PMA_SPEED_BINARY <= 0;
		19 : PMA_SPEED_BINARY <= 0;
		20 : PMA_SPEED_BINARY <= 0;
		21 : PMA_SPEED_BINARY <= 0;
		22 : PMA_SPEED_BINARY <= 0;
		23 : PMA_SPEED_BINARY <= 0;
		24 : PMA_SPEED_BINARY <= 0;
		25 : PMA_SPEED_BINARY <= 0;
		26 : PMA_SPEED_BINARY <= 0;
		27 : PMA_SPEED_BINARY <= 0;
		28 : PMA_SPEED_BINARY <= 0;
		29 : PMA_SPEED_BINARY <= 0;
		30 : PMA_SPEED_BINARY <= 0;
		31 : PMA_SPEED_BINARY <= 0;
		default : begin
			$display("Attribute Syntax Error : The Attribute PMA_SPEED on GT10 instance %m is set to %d.  Legal values for this attribute are 0 to 31.", PMA_SPEED);
			$finish;
		end
	endcase

	case (PMATXVCODACSEL)
		"FALSE" : PMATXVCODACSEL_BINARY <= 0;
		"TRUE" : PMATXVCODACSEL_BINARY <= 1;
		default : begin
			$display("Attribute Syntax Error : The Attribute PMATXVCODACSEL on GT10 instance %m is set to %s.  Legal values for this attribute are TRUE or FALSE.", PMATXVCODACSEL);
			$finish;
		end
	endcase

	case (PMAVSEL)
		"FALSE" : PMAVSEL_BINARY <= 0;
		"TRUE" : PMAVSEL_BINARY <= 1;
		default : begin
			$display("Attribute Syntax Error : The Attribute PMAVSEL on GT10 instance %m is set to %s.  Legal values for this attribute are TRUE or FALSE.", PMAVSEL);
			$finish;
		end
	endcase

	case (RX_BUFFER_USE)
		"FALSE" : RX_BUFFER_USE_BINARY <= 0;
		"TRUE" : RX_BUFFER_USE_BINARY <= 1;
		default : begin
			$display("Attribute Syntax Error : The Attribute RX_BUFFER_USE on GT10 instance %m is set to %s.  Legal values for this attribute are TRUE or FALSE.", RX_BUFFER_USE);
			$finish;
		end
	endcase

	case (RX_CRC_USE)
		"FALSE" : RX_CRC_USE_BINARY <= 0;
		"TRUE" : RX_CRC_USE_BINARY <= 1;
		default : begin
			$display("Attribute Syntax Error : The Attribute RX_CRC_USE on GT10 instance %m is set to %s.  Legal values for this attribute are TRUE or FALSE.", RX_CRC_USE);
			$finish;
		end
	endcase

	case (RX_LOS_INVALID_INCR)
		1 : RX_LOS_INVALID_INCR_BINARY <= 7'b0000001;
		2 : RX_LOS_INVALID_INCR_BINARY <= 7'b0000010;
		4 : RX_LOS_INVALID_INCR_BINARY <= 7'b0000100;
		8 : RX_LOS_INVALID_INCR_BINARY <= 7'b0001000;
		16 : RX_LOS_INVALID_INCR_BINARY <= 7'b0010000;
		32 : RX_LOS_INVALID_INCR_BINARY <= 7'b0100000;
		64 : RX_LOS_INVALID_INCR_BINARY <= 7'b1000000;
		128 : RX_LOS_INVALID_INCR_BINARY <= 7'b0000000;
		default : begin
			$display("Attribute Syntax Error : The Attribute RX_LOS_INVALID_INCR on GT10 instance %m is set to %d.  Legal values for this attribute are 1, 2, 4, 8, 16, 32, 64 or 128.", RX_LOS_INVALID_INCR);
			$finish;
		end
	endcase

	case (RX_LOS_THRESHOLD)
		4 : RX_LOS_THRESHOLD_BINARY <= 8'b00000001;
		8 : RX_LOS_THRESHOLD_BINARY <= 8'b00000010;
		16 : RX_LOS_THRESHOLD_BINARY <= 8'b00000100;
		32 : RX_LOS_THRESHOLD_BINARY <= 8'b00001000;
		64 : RX_LOS_THRESHOLD_BINARY <= 8'b00010000;
		128 : RX_LOS_THRESHOLD_BINARY <= 8'b00100000;
		256 : RX_LOS_THRESHOLD_BINARY <= 8'b01000000;
		512 : RX_LOS_THRESHOLD_BINARY <= 8'b10000000;
		default : begin
			$display("Attribute Syntax Error : The Attribute RX_LOS_THRESHOLD on GT10 instance %m is set to %d.  Legal values for this attribute are 4, 8, 16, 32, 64, 128, 256 or 512.", RX_LOS_THRESHOLD);
			$finish;
		end
	endcase

	case (RX_LOSS_OF_SYNC_FSM)
		"FALSE" : RX_LOSS_OF_SYNC_FSM_BINARY <= 0;
		"TRUE" : RX_LOSS_OF_SYNC_FSM_BINARY <= 1;
		default : begin
			$display("Attribute Syntax Error : The Attribute RX_LOSS_OF_SYNC_FSM on GT10 instance %m is set to %s.  Legal values for this attribute are TRUE or FALSE.", RX_LOSS_OF_SYNC_FSM);
			$finish;
		end
	endcase

	case (TX_6466GEARBOX_USE)
		"FALSE" : TX_6466GEARBOX_USE_BINARY <= 0;
		"TRUE" : TX_6466GEARBOX_USE_BINARY <= 1;
		default : begin
			$display("Attribute Syntax Error : The Attribute TX_6466GEARBOX_USE on GT10 instance %m is set to %s.  Legal values for this attribute are TRUE or FALSE.", TX_6466GEARBOX_USE);
			$finish;
		end
	endcase

	case (TX_6466SCRAMBLER_USE)
		"FALSE" : TX_6466SCRAMBLER_USE_BINARY <= 0;
		"TRUE" : TX_6466SCRAMBLER_USE_BINARY <= 1;
		default : begin
			$display("Attribute Syntax Error : The Attribute TX_6466SCRAMBLER_USE on GT10 instance %m is set to %s.  Legal values for this attribute are TRUE or FALSE.", TX_6466SCRAMBLER_USE);
			$finish;
		end
	endcase

	case (TX_BUFFER_USE)
		"FALSE" : TX_BUFFER_USE_BINARY <= 0;
		"TRUE" : TX_BUFFER_USE_BINARY <= 1;
		default : begin
			$display("Attribute Syntax Error : The Attribute TX_BUFFER_USE on GT10 instance %m is set to %s.  Legal values for this attribute are TRUE or FALSE.", TX_BUFFER_USE);
			$finish;
		end
	endcase

	case (TX_CRC_USE)
		"FALSE" : TX_CRC_USE_BINARY <= 0;
		"TRUE" : TX_CRC_USE_BINARY <= 1;
		default : begin
			$display("Attribute Syntax Error : The Attribute TX_CRC_USE on GT10 instance %m is set to %s.  Legal values for this attribute are TRUE or FALSE.", TX_CRC_USE);
			$finish;
		end
	endcase

end

buf B_CHBONDDONE (CHBONDDONE, CHBONDDONE_OUT);
buf B_CHBONDO0 (CHBONDO[0], CHBONDO_OUT[0]);
buf B_CHBONDO1 (CHBONDO[1], CHBONDO_OUT[1]);
buf B_CHBONDO2 (CHBONDO[2], CHBONDO_OUT[2]);
buf B_CHBONDO3 (CHBONDO[3], CHBONDO_OUT[3]);
buf B_PMACMOUT (PMACMOUT, PMACMOUT_OUT);
buf B_RXBUFSTATUS0 (RXBUFSTATUS[0], RXBUFSTATUS_OUT[0]);
buf B_RXBUFSTATUS1 (RXBUFSTATUS[1], RXBUFSTATUS_OUT[1]);
buf B_RXCHARISCOMMA0 (RXCHARISCOMMA[0], RXCHARISCOMMA_OUT[0]);
buf B_RXCHARISCOMMA1 (RXCHARISCOMMA[1], RXCHARISCOMMA_OUT[1]);
buf B_RXCHARISCOMMA2 (RXCHARISCOMMA[2], RXCHARISCOMMA_OUT[2]);
buf B_RXCHARISCOMMA3 (RXCHARISCOMMA[3], RXCHARISCOMMA_OUT[3]);
buf B_RXCHARISCOMMA4 (RXCHARISCOMMA[4], RXCHARISCOMMA_OUT[4]);
buf B_RXCHARISCOMMA5 (RXCHARISCOMMA[5], RXCHARISCOMMA_OUT[5]);
buf B_RXCHARISCOMMA6 (RXCHARISCOMMA[6], RXCHARISCOMMA_OUT[6]);
buf B_RXCHARISCOMMA7 (RXCHARISCOMMA[7], RXCHARISCOMMA_OUT[7]);
buf B_RXCHARISK0 (RXCHARISK[0], RXCHARISK_OUT[0]);
buf B_RXCHARISK1 (RXCHARISK[1], RXCHARISK_OUT[1]);
buf B_RXCHARISK2 (RXCHARISK[2], RXCHARISK_OUT[2]);
buf B_RXCHARISK3 (RXCHARISK[3], RXCHARISK_OUT[3]);
buf B_RXCHARISK4 (RXCHARISK[4], RXCHARISK_OUT[4]);
buf B_RXCHARISK5 (RXCHARISK[5], RXCHARISK_OUT[5]);
buf B_RXCHARISK6 (RXCHARISK[6], RXCHARISK_OUT[6]);
buf B_RXCHARISK7 (RXCHARISK[7], RXCHARISK_OUT[7]);
buf B_RXCHECKINGCRC (RXCHECKINGCRC, RXCHECKINGCRC_OUT);
buf B_RXCLKCORCNT0 (RXCLKCORCNT[0], RXCLKCORCNT_OUT[0]);
buf B_RXCLKCORCNT1 (RXCLKCORCNT[1], RXCLKCORCNT_OUT[1]);
buf B_RXCLKCORCNT2 (RXCLKCORCNT[2], RXCLKCORCNT_OUT[2]);
buf B_RXCOMMADET (RXCOMMADET, RXCOMMADET_OUT);
buf B_RXCRCERR (RXCRCERR, RXCRCERR_OUT);
buf B_RXDATA0 (RXDATA[0], RXDATA_OUT[0]);
buf B_RXDATA1 (RXDATA[1], RXDATA_OUT[1]);
buf B_RXDATA2 (RXDATA[2], RXDATA_OUT[2]);
buf B_RXDATA3 (RXDATA[3], RXDATA_OUT[3]);
buf B_RXDATA4 (RXDATA[4], RXDATA_OUT[4]);
buf B_RXDATA5 (RXDATA[5], RXDATA_OUT[5]);
buf B_RXDATA6 (RXDATA[6], RXDATA_OUT[6]);
buf B_RXDATA7 (RXDATA[7], RXDATA_OUT[7]);
buf B_RXDATA8 (RXDATA[8], RXDATA_OUT[8]);
buf B_RXDATA9 (RXDATA[9], RXDATA_OUT[9]);
buf B_RXDATA10 (RXDATA[10], RXDATA_OUT[10]);
buf B_RXDATA11 (RXDATA[11], RXDATA_OUT[11]);
buf B_RXDATA12 (RXDATA[12], RXDATA_OUT[12]);
buf B_RXDATA13 (RXDATA[13], RXDATA_OUT[13]);
buf B_RXDATA14 (RXDATA[14], RXDATA_OUT[14]);
buf B_RXDATA15 (RXDATA[15], RXDATA_OUT[15]);
buf B_RXDATA16 (RXDATA[16], RXDATA_OUT[16]);
buf B_RXDATA17 (RXDATA[17], RXDATA_OUT[17]);
buf B_RXDATA18 (RXDATA[18], RXDATA_OUT[18]);
buf B_RXDATA19 (RXDATA[19], RXDATA_OUT[19]);
buf B_RXDATA20 (RXDATA[20], RXDATA_OUT[20]);
buf B_RXDATA21 (RXDATA[21], RXDATA_OUT[21]);
buf B_RXDATA22 (RXDATA[22], RXDATA_OUT[22]);
buf B_RXDATA23 (RXDATA[23], RXDATA_OUT[23]);
buf B_RXDATA24 (RXDATA[24], RXDATA_OUT[24]);
buf B_RXDATA25 (RXDATA[25], RXDATA_OUT[25]);
buf B_RXDATA26 (RXDATA[26], RXDATA_OUT[26]);
buf B_RXDATA27 (RXDATA[27], RXDATA_OUT[27]);
buf B_RXDATA28 (RXDATA[28], RXDATA_OUT[28]);
buf B_RXDATA29 (RXDATA[29], RXDATA_OUT[29]);
buf B_RXDATA30 (RXDATA[30], RXDATA_OUT[30]);
buf B_RXDATA31 (RXDATA[31], RXDATA_OUT[31]);
buf B_RXDATA32 (RXDATA[32], RXDATA_OUT[32]);
buf B_RXDATA33 (RXDATA[33], RXDATA_OUT[33]);
buf B_RXDATA34 (RXDATA[34], RXDATA_OUT[34]);
buf B_RXDATA35 (RXDATA[35], RXDATA_OUT[35]);
buf B_RXDATA36 (RXDATA[36], RXDATA_OUT[36]);
buf B_RXDATA37 (RXDATA[37], RXDATA_OUT[37]);
buf B_RXDATA38 (RXDATA[38], RXDATA_OUT[38]);
buf B_RXDATA39 (RXDATA[39], RXDATA_OUT[39]);
buf B_RXDATA40 (RXDATA[40], RXDATA_OUT[40]);
buf B_RXDATA41 (RXDATA[41], RXDATA_OUT[41]);
buf B_RXDATA42 (RXDATA[42], RXDATA_OUT[42]);
buf B_RXDATA43 (RXDATA[43], RXDATA_OUT[43]);
buf B_RXDATA44 (RXDATA[44], RXDATA_OUT[44]);
buf B_RXDATA45 (RXDATA[45], RXDATA_OUT[45]);
buf B_RXDATA46 (RXDATA[46], RXDATA_OUT[46]);
buf B_RXDATA47 (RXDATA[47], RXDATA_OUT[47]);
buf B_RXDATA48 (RXDATA[48], RXDATA_OUT[48]);
buf B_RXDATA49 (RXDATA[49], RXDATA_OUT[49]);
buf B_RXDATA50 (RXDATA[50], RXDATA_OUT[50]);
buf B_RXDATA51 (RXDATA[51], RXDATA_OUT[51]);
buf B_RXDATA52 (RXDATA[52], RXDATA_OUT[52]);
buf B_RXDATA53 (RXDATA[53], RXDATA_OUT[53]);
buf B_RXDATA54 (RXDATA[54], RXDATA_OUT[54]);
buf B_RXDATA55 (RXDATA[55], RXDATA_OUT[55]);
buf B_RXDATA56 (RXDATA[56], RXDATA_OUT[56]);
buf B_RXDATA57 (RXDATA[57], RXDATA_OUT[57]);
buf B_RXDATA58 (RXDATA[58], RXDATA_OUT[58]);
buf B_RXDATA59 (RXDATA[59], RXDATA_OUT[59]);
buf B_RXDATA60 (RXDATA[60], RXDATA_OUT[60]);
buf B_RXDATA61 (RXDATA[61], RXDATA_OUT[61]);
buf B_RXDATA62 (RXDATA[62], RXDATA_OUT[62]);
buf B_RXDATA63 (RXDATA[63], RXDATA_OUT[63]);
buf B_RXDISPERR0 (RXDISPERR[0], RXDISPERR_OUT[0]);
buf B_RXDISPERR1 (RXDISPERR[1], RXDISPERR_OUT[1]);
buf B_RXDISPERR2 (RXDISPERR[2], RXDISPERR_OUT[2]);
buf B_RXDISPERR3 (RXDISPERR[3], RXDISPERR_OUT[3]);
buf B_RXDISPERR4 (RXDISPERR[4], RXDISPERR_OUT[4]);
buf B_RXDISPERR5 (RXDISPERR[5], RXDISPERR_OUT[5]);
buf B_RXDISPERR6 (RXDISPERR[6], RXDISPERR_OUT[6]);
buf B_RXDISPERR7 (RXDISPERR[7], RXDISPERR_OUT[7]);
buf B_RXLOSSOFSYNC0 (RXLOSSOFSYNC[0], RXLOSSOFSYNC_OUT[0]);
buf B_RXLOSSOFSYNC1 (RXLOSSOFSYNC[1], RXLOSSOFSYNC_OUT[1]);
buf B_RXNOTINTABLE0 (RXNOTINTABLE[0], RXNOTINTABLE_OUT[0]);
buf B_RXNOTINTABLE1 (RXNOTINTABLE[1], RXNOTINTABLE_OUT[1]);
buf B_RXNOTINTABLE2 (RXNOTINTABLE[2], RXNOTINTABLE_OUT[2]);
buf B_RXNOTINTABLE3 (RXNOTINTABLE[3], RXNOTINTABLE_OUT[3]);
buf B_RXNOTINTABLE4 (RXNOTINTABLE[4], RXNOTINTABLE_OUT[4]);
buf B_RXNOTINTABLE5 (RXNOTINTABLE[5], RXNOTINTABLE_OUT[5]);
buf B_RXNOTINTABLE6 (RXNOTINTABLE[6], RXNOTINTABLE_OUT[6]);
buf B_RXNOTINTABLE7 (RXNOTINTABLE[7], RXNOTINTABLE_OUT[7]);
buf B_RXREALIGN (RXREALIGN, RXREALIGN_OUT);
buf B_RXRECCLK (RXRECCLK, RXRECCLK_OUT);
buf B_RXRUNDISP0 (RXRUNDISP[0], RXRUNDISP_OUT[0]);
buf B_RXRUNDISP1 (RXRUNDISP[1], RXRUNDISP_OUT[1]);
buf B_RXRUNDISP2 (RXRUNDISP[2], RXRUNDISP_OUT[2]);
buf B_RXRUNDISP3 (RXRUNDISP[3], RXRUNDISP_OUT[3]);
buf B_RXRUNDISP4 (RXRUNDISP[4], RXRUNDISP_OUT[4]);
buf B_RXRUNDISP5 (RXRUNDISP[5], RXRUNDISP_OUT[5]);
buf B_RXRUNDISP6 (RXRUNDISP[6], RXRUNDISP_OUT[6]);
buf B_RXRUNDISP7 (RXRUNDISP[7], RXRUNDISP_OUT[7]);
buf B_TXBUFERR (TXBUFERR, TXBUFERR_OUT);
buf B_TXKERR0 (TXKERR[0], TXKERR_OUT[0]);
buf B_TXKERR1 (TXKERR[1], TXKERR_OUT[1]);
buf B_TXKERR2 (TXKERR[2], TXKERR_OUT[2]);
buf B_TXKERR3 (TXKERR[3], TXKERR_OUT[3]);
buf B_TXKERR4 (TXKERR[4], TXKERR_OUT[4]);
buf B_TXKERR5 (TXKERR[5], TXKERR_OUT[5]);
buf B_TXKERR6 (TXKERR[6], TXKERR_OUT[6]);
buf B_TXKERR7 (TXKERR[7], TXKERR_OUT[7]);
// buf B_TXN (TXN, TXN_OUT);
buf B_TXOUTCLK (TXOUTCLK, TXOUTCLK_OUT);
// buf B_TXP (TXP, TXP_OUT);
buf B_TXRUNDISP0 (TXRUNDISP[0], TXRUNDISP_OUT[0]);
buf B_TXRUNDISP1 (TXRUNDISP[1], TXRUNDISP_OUT[1]);
buf B_TXRUNDISP2 (TXRUNDISP[2], TXRUNDISP_OUT[2]);
buf B_TXRUNDISP3 (TXRUNDISP[3], TXRUNDISP_OUT[3]);
buf B_TXRUNDISP4 (TXRUNDISP[4], TXRUNDISP_OUT[4]);
buf B_TXRUNDISP5 (TXRUNDISP[5], TXRUNDISP_OUT[5]);
buf B_TXRUNDISP6 (TXRUNDISP[6], TXRUNDISP_OUT[6]);
buf B_TXRUNDISP7 (TXRUNDISP[7], TXRUNDISP_OUT[7]);

buf B_BREFCLKNIN (BREFCLKNIN_IN, BREFCLKNIN);
buf B_BREFCLKPIN (BREFCLKPIN_IN, BREFCLKPIN);
buf B_CHBONDI0 (CHBONDI_IN[0], CHBONDI[0]);
buf B_CHBONDI1 (CHBONDI_IN[1], CHBONDI[1]);
buf B_CHBONDI2 (CHBONDI_IN[2], CHBONDI[2]);
buf B_CHBONDI3 (CHBONDI_IN[3], CHBONDI[3]);
buf B_DISPREGSEL0 (DISPREGSEL_IN[0], DISPREGSEL[0]);
buf B_DISPREGSEL1 (DISPREGSEL_IN[1], DISPREGSEL[1]);
buf B_DISPREGSEL2 (DISPREGSEL_IN[2], DISPREGSEL[2]);
buf B_ENCHANSYNC (ENCHANSYNC_IN, ENCHANSYNC);
buf B_ENMCOMMAALIGN (ENMCOMMAALIGN_IN, ENMCOMMAALIGN);
buf B_ENPCOMMAALIGN (ENPCOMMAALIGN_IN, ENPCOMMAALIGN);
buf B_LOOPBACK0 (LOOPBACK_IN[0], LOOPBACK[0]);
buf B_LOOPBACK1 (LOOPBACK_IN[1], LOOPBACK[1]);
buf B_PMACMIN (PMACMIN_IN, PMACMIN);
buf B_PMALOOPBACK0 (PMALOOPBACK_IN[0], PMALOOPBACK[0]);
buf B_PMALOOPBACK1 (PMALOOPBACK_IN[1], PMALOOPBACK[1]);
buf B_PMAPWRDN0 (PMAPWRDN_IN[0], PMAPWRDN[0]);
buf B_PMAPWRDN1 (PMAPWRDN_IN[1], PMAPWRDN[1]);
buf B_PMAPWRDN2 (PMAPWRDN_IN[2], PMAPWRDN[2]);
buf B_PMAREGADDR0 (PMAREGADDR_IN[0], PMAREGADDR[0]);
buf B_PMAREGADDR1 (PMAREGADDR_IN[1], PMAREGADDR[1]);
buf B_PMAREGADDR2 (PMAREGADDR_IN[2], PMAREGADDR[2]);
buf B_PMAREGADDR3 (PMAREGADDR_IN[3], PMAREGADDR[3]);
buf B_PMAREGADDR4 (PMAREGADDR_IN[4], PMAREGADDR[4]);
buf B_PMAREGADDR5 (PMAREGADDR_IN[5], PMAREGADDR[5]);
buf B_PMAREGDATAIN0 (PMAREGDATAIN_IN[0], PMAREGDATAIN[0]);
buf B_PMAREGDATAIN1 (PMAREGDATAIN_IN[1], PMAREGDATAIN[1]);
buf B_PMAREGDATAIN2 (PMAREGDATAIN_IN[2], PMAREGDATAIN[2]);
buf B_PMAREGDATAIN3 (PMAREGDATAIN_IN[3], PMAREGDATAIN[3]);
buf B_PMAREGDATAIN4 (PMAREGDATAIN_IN[4], PMAREGDATAIN[4]);
buf B_PMAREGDATAIN5 (PMAREGDATAIN_IN[5], PMAREGDATAIN[5]);
buf B_PMAREGDATAIN6 (PMAREGDATAIN_IN[6], PMAREGDATAIN[6]);
buf B_PMAREGDATAIN7 (PMAREGDATAIN_IN[7], PMAREGDATAIN[7]);
buf B_PMAREGLOAD (PMAREGLOAD_IN, PMAREGLOAD);
buf B_PMAREGRW (PMAREGRW_IN, PMAREGRW);
buf B_PMAREGSTROBE (PMAREGSTROBE_IN, PMAREGSTROBE);
buf B_PMARXCLK0SEL (PMARXCLK0SEL_IN, PMARXCLK0SEL);
buf B_PMARXCLK1SEL (PMARXCLK1SEL_IN, PMARXCLK1SEL);
buf B_PMARXLATCHSEL (PMARXLATCHSEL_IN, PMARXLATCHSEL);
buf B_PMARXRECCLKSEL0 (PMARXRECCLKSEL_IN[0], PMARXRECCLKSEL[0]);
buf B_PMARXRECCLKSEL1 (PMARXRECCLKSEL_IN[1], PMARXRECCLKSEL[1]);
buf B_PMATERMEN0 (PMATERMEN_IN[0], PMATERMEN[0]);
buf B_PMATERMEN1 (PMATERMEN_IN[1], PMATERMEN[1]);
buf B_PMATXCLK0SEL (PMATXCLK0SEL_IN, PMATXCLK0SEL);
buf B_PMATXCLK1SEL (PMATXCLK1SEL_IN, PMATXCLK1SEL);
buf B_PMATXLATCHSEL (PMATXLATCHSEL_IN, PMATXLATCHSEL);
buf B_PMATXOUTCLKSEL0 (PMATXOUTCLKSEL_IN[0], PMATXOUTCLKSEL[0]);
buf B_PMATXOUTCLKSEL1 (PMATXOUTCLKSEL_IN[1], PMATXOUTCLKSEL[1]);
buf B_POWERDOWN (POWERDOWN_IN, POWERDOWN);
buf B_REFCLK (REFCLK_IN, REFCLK);
buf B_REFCLK2 (REFCLK2_IN, REFCLK2);
buf B_REFCLKBSEL (REFCLKBSEL_IN, REFCLKBSEL);
buf B_REFCLKSEL (REFCLKSEL_IN, REFCLKSEL);
buf B_RXDATAWIDTH0 (RXDATAWIDTH_IN[0], RXDATAWIDTH[0]);
buf B_RXDATAWIDTH1 (RXDATAWIDTH_IN[1], RXDATAWIDTH[1]);
buf B_RXDECODEUSE (RXDECODEUSE_IN, RXDECODEUSE);
buf B_RXINTDATAWIDTH (RXINTDATAWIDTH_IN, RXINTDATAWIDTH);
buf B_RXN (RXN_IN, RXN);
buf B_RXP (RXP_IN, RXP);
buf B_RXPOLARITY (RXPOLARITY_IN, RXPOLARITY);
buf B_RXRESET (RXRESET_IN, RXRESET);
buf B_RXUSRCLK (RXUSRCLK_IN, RXUSRCLK);
buf B_RXUSRCLK2 (RXUSRCLK2_IN, RXUSRCLK2);
buf B_TXDATAWIDTH0 (TXDATAWIDTH_IN[0], TXDATAWIDTH[0]);
buf B_TXDATAWIDTH1 (TXDATAWIDTH_IN[1], TXDATAWIDTH[1]);
buf B_TXINTDATAWIDTH (TXINTDATAWIDTH_IN, TXINTDATAWIDTH);
buf B_TXBYPASS8B10B0 (TXBYPASS8B10B_IN[0], TXBYPASS8B10B[0]);
buf B_TXBYPASS8B10B1 (TXBYPASS8B10B_IN[1], TXBYPASS8B10B[1]);
buf B_TXBYPASS8B10B2 (TXBYPASS8B10B_IN[2], TXBYPASS8B10B[2]);
buf B_TXBYPASS8B10B3 (TXBYPASS8B10B_IN[3], TXBYPASS8B10B[3]);
buf B_TXBYPASS8B10B4 (TXBYPASS8B10B_IN[4], TXBYPASS8B10B[4]);
buf B_TXBYPASS8B10B5 (TXBYPASS8B10B_IN[5], TXBYPASS8B10B[5]);
buf B_TXBYPASS8B10B6 (TXBYPASS8B10B_IN[6], TXBYPASS8B10B[6]);
buf B_TXBYPASS8B10B7 (TXBYPASS8B10B_IN[7], TXBYPASS8B10B[7]);
buf B_TXCHARDISPMODE0 (TXCHARDISPMODE_IN[0], TXCHARDISPMODE[0]);
buf B_TXCHARDISPMODE1 (TXCHARDISPMODE_IN[1], TXCHARDISPMODE[1]);
buf B_TXCHARDISPMODE2 (TXCHARDISPMODE_IN[2], TXCHARDISPMODE[2]);
buf B_TXCHARDISPMODE3 (TXCHARDISPMODE_IN[3], TXCHARDISPMODE[3]);
buf B_TXCHARDISPMODE4 (TXCHARDISPMODE_IN[4], TXCHARDISPMODE[4]);
buf B_TXCHARDISPMODE5 (TXCHARDISPMODE_IN[5], TXCHARDISPMODE[5]);
buf B_TXCHARDISPMODE6 (TXCHARDISPMODE_IN[6], TXCHARDISPMODE[6]);
buf B_TXCHARDISPMODE7 (TXCHARDISPMODE_IN[7], TXCHARDISPMODE[7]);
buf B_TXCHARDISPVAL0 (TXCHARDISPVAL_IN[0], TXCHARDISPVAL[0]);
buf B_TXCHARDISPVAL1 (TXCHARDISPVAL_IN[1], TXCHARDISPVAL[1]);
buf B_TXCHARDISPVAL2 (TXCHARDISPVAL_IN[2], TXCHARDISPVAL[2]);
buf B_TXCHARDISPVAL3 (TXCHARDISPVAL_IN[3], TXCHARDISPVAL[3]);
buf B_TXCHARDISPVAL4 (TXCHARDISPVAL_IN[4], TXCHARDISPVAL[4]);
buf B_TXCHARDISPVAL5 (TXCHARDISPVAL_IN[5], TXCHARDISPVAL[5]);
buf B_TXCHARDISPVAL6 (TXCHARDISPVAL_IN[6], TXCHARDISPVAL[6]);
buf B_TXCHARDISPVAL7 (TXCHARDISPVAL_IN[7], TXCHARDISPVAL[7]);
buf B_TXCHARISK0 (TXCHARISK_IN[0], TXCHARISK[0]);
buf B_TXCHARISK1 (TXCHARISK_IN[1], TXCHARISK[1]);
buf B_TXCHARISK2 (TXCHARISK_IN[2], TXCHARISK[2]);
buf B_TXCHARISK3 (TXCHARISK_IN[3], TXCHARISK[3]);
buf B_TXCHARISK4 (TXCHARISK_IN[4], TXCHARISK[4]);
buf B_TXCHARISK5 (TXCHARISK_IN[5], TXCHARISK[5]);
buf B_TXCHARISK6 (TXCHARISK_IN[6], TXCHARISK[6]);
buf B_TXCHARISK7 (TXCHARISK_IN[7], TXCHARISK[7]);
buf B_TXDATA0 (TXDATA_IN[0], TXDATA[0]);
buf B_TXDATA1 (TXDATA_IN[1], TXDATA[1]);
buf B_TXDATA2 (TXDATA_IN[2], TXDATA[2]);
buf B_TXDATA3 (TXDATA_IN[3], TXDATA[3]);
buf B_TXDATA4 (TXDATA_IN[4], TXDATA[4]);
buf B_TXDATA5 (TXDATA_IN[5], TXDATA[5]);
buf B_TXDATA6 (TXDATA_IN[6], TXDATA[6]);
buf B_TXDATA7 (TXDATA_IN[7], TXDATA[7]);
buf B_TXDATA8 (TXDATA_IN[8], TXDATA[8]);
buf B_TXDATA9 (TXDATA_IN[9], TXDATA[9]);
buf B_TXDATA10 (TXDATA_IN[10], TXDATA[10]);
buf B_TXDATA11 (TXDATA_IN[11], TXDATA[11]);
buf B_TXDATA12 (TXDATA_IN[12], TXDATA[12]);
buf B_TXDATA13 (TXDATA_IN[13], TXDATA[13]);
buf B_TXDATA14 (TXDATA_IN[14], TXDATA[14]);
buf B_TXDATA15 (TXDATA_IN[15], TXDATA[15]);
buf B_TXDATA16 (TXDATA_IN[16], TXDATA[16]);
buf B_TXDATA17 (TXDATA_IN[17], TXDATA[17]);
buf B_TXDATA18 (TXDATA_IN[18], TXDATA[18]);
buf B_TXDATA19 (TXDATA_IN[19], TXDATA[19]);
buf B_TXDATA20 (TXDATA_IN[20], TXDATA[20]);
buf B_TXDATA21 (TXDATA_IN[21], TXDATA[21]);
buf B_TXDATA22 (TXDATA_IN[22], TXDATA[22]);
buf B_TXDATA23 (TXDATA_IN[23], TXDATA[23]);
buf B_TXDATA24 (TXDATA_IN[24], TXDATA[24]);
buf B_TXDATA25 (TXDATA_IN[25], TXDATA[25]);
buf B_TXDATA26 (TXDATA_IN[26], TXDATA[26]);
buf B_TXDATA27 (TXDATA_IN[27], TXDATA[27]);
buf B_TXDATA28 (TXDATA_IN[28], TXDATA[28]);
buf B_TXDATA29 (TXDATA_IN[29], TXDATA[29]);
buf B_TXDATA30 (TXDATA_IN[30], TXDATA[30]);
buf B_TXDATA31 (TXDATA_IN[31], TXDATA[31]);
buf B_TXDATA32 (TXDATA_IN[32], TXDATA[32]);
buf B_TXDATA33 (TXDATA_IN[33], TXDATA[33]);
buf B_TXDATA34 (TXDATA_IN[34], TXDATA[34]);
buf B_TXDATA35 (TXDATA_IN[35], TXDATA[35]);
buf B_TXDATA36 (TXDATA_IN[36], TXDATA[36]);
buf B_TXDATA37 (TXDATA_IN[37], TXDATA[37]);
buf B_TXDATA38 (TXDATA_IN[38], TXDATA[38]);
buf B_TXDATA39 (TXDATA_IN[39], TXDATA[39]);
buf B_TXDATA40 (TXDATA_IN[40], TXDATA[40]);
buf B_TXDATA41 (TXDATA_IN[41], TXDATA[41]);
buf B_TXDATA42 (TXDATA_IN[42], TXDATA[42]);
buf B_TXDATA43 (TXDATA_IN[43], TXDATA[43]);
buf B_TXDATA44 (TXDATA_IN[44], TXDATA[44]);
buf B_TXDATA45 (TXDATA_IN[45], TXDATA[45]);
buf B_TXDATA46 (TXDATA_IN[46], TXDATA[46]);
buf B_TXDATA47 (TXDATA_IN[47], TXDATA[47]);
buf B_TXDATA48 (TXDATA_IN[48], TXDATA[48]);
buf B_TXDATA49 (TXDATA_IN[49], TXDATA[49]);
buf B_TXDATA50 (TXDATA_IN[50], TXDATA[50]);
buf B_TXDATA51 (TXDATA_IN[51], TXDATA[51]);
buf B_TXDATA52 (TXDATA_IN[52], TXDATA[52]);
buf B_TXDATA53 (TXDATA_IN[53], TXDATA[53]);
buf B_TXDATA54 (TXDATA_IN[54], TXDATA[54]);
buf B_TXDATA55 (TXDATA_IN[55], TXDATA[55]);
buf B_TXDATA56 (TXDATA_IN[56], TXDATA[56]);
buf B_TXDATA57 (TXDATA_IN[57], TXDATA[57]);
buf B_TXDATA58 (TXDATA_IN[58], TXDATA[58]);
buf B_TXDATA59 (TXDATA_IN[59], TXDATA[59]);
buf B_TXDATA60 (TXDATA_IN[60], TXDATA[60]);
buf B_TXDATA61 (TXDATA_IN[61], TXDATA[61]);
buf B_TXDATA62 (TXDATA_IN[62], TXDATA[62]);
buf B_TXDATA63 (TXDATA_IN[63], TXDATA[63]);
buf B_TXFORCECRCERR (TXFORCECRCERR_IN, TXFORCECRCERR);
buf B_TXINHIBIT (TXINHIBIT_IN, TXINHIBIT);
buf B_TXPOLARITY (TXPOLARITY_IN, TXPOLARITY);
buf B_TXRESET (TXRESET_IN, TXRESET);
buf B_TXUSRCLK (TXUSRCLK_IN, TXUSRCLK);
buf B_TXUSRCLK2 (TXUSRCLK2_IN, TXUSRCLK2);

GT10_SWIFT gt10_swift_1 (
	.ALIGN_COMMA_MSB (ALIGN_COMMA_MSB_BINARY),
	.BREFCLKNIN (BREFCLKNIN_IN),
	.BREFCLKPIN (BREFCLKPIN_IN),
	.CHAN_BOND_LIMIT (CHAN_BOND_LIMIT_BINARY),
	.CHAN_BOND_MODE (CHAN_BOND_MODE_BINARY),
	.CHAN_BOND_OFFSET (CHAN_BOND_OFFSET_BINARY),
	.CHAN_BOND_ONE_SHOT (CHAN_BOND_ONE_SHOT_BINARY),
	.CHAN_BOND_SEQ_1_1 (CHAN_BOND_SEQ_1_1),
	.CHAN_BOND_SEQ_1_2 (CHAN_BOND_SEQ_1_2),
	.CHAN_BOND_SEQ_1_3 (CHAN_BOND_SEQ_1_3),
	.CHAN_BOND_SEQ_1_4 (CHAN_BOND_SEQ_1_4),
	.CHAN_BOND_SEQ_2_1 (CHAN_BOND_SEQ_2_1),
	.CHAN_BOND_SEQ_2_2 (CHAN_BOND_SEQ_2_2),
	.CHAN_BOND_SEQ_2_3 (CHAN_BOND_SEQ_2_3),
	.CHAN_BOND_SEQ_2_4 (CHAN_BOND_SEQ_2_4),
	.CHAN_BOND_SEQ_2_USE (CHAN_BOND_SEQ_2_USE_BINARY),
	.CHAN_BOND_SEQ_LEN (CHAN_BOND_SEQ_LEN_BINARY),
	.CHAN_BOND_WAIT (CHAN_BOND_WAIT_BINARY),
	.CHBONDDONE (CHBONDDONE_OUT),
	.CHBONDI (CHBONDI_IN),
	.CHBONDO (CHBONDO_OUT),
	.CLK_CORRECT_USE (CLK_CORRECT_USE_BINARY),
	.CLK_COR_INSERT_IDLE_FLAG (CLK_COR_INSERT_IDLE_FLAG_BINARY),
	.CLK_COR_KEEP_IDLE (CLK_COR_KEEP_IDLE_BINARY),
	.CLK_COR_REPEAT_WAIT (CLK_COR_REPEAT_WAIT_BINARY),
	.CLK_COR_SEQ_1_1 (CLK_COR_SEQ_1_1),
	.CLK_COR_SEQ_1_2 (CLK_COR_SEQ_1_2),
	.CLK_COR_SEQ_1_3 (CLK_COR_SEQ_1_3),
	.CLK_COR_SEQ_1_4 (CLK_COR_SEQ_1_4),
	.CLK_COR_SEQ_2_1 (CLK_COR_SEQ_2_1),
	.CLK_COR_SEQ_2_2 (CLK_COR_SEQ_2_2),
	.CLK_COR_SEQ_2_3 (CLK_COR_SEQ_2_3),
	.CLK_COR_SEQ_2_4 (CLK_COR_SEQ_2_4),
	.CLK_COR_SEQ_2_USE (CLK_COR_SEQ_2_USE_BINARY),
	.CLK_COR_SEQ_LEN (CLK_COR_SEQ_LEN_BINARY),
	.COMMA_10B_MASK (COMMA_10B_MASK),
	.CRC_END_OF_PKT (CRC_END_OF_PKT_BINARY),
	.CRC_FORMAT (CRC_FORMAT_BINARY),
	.CRC_START_OF_PKT (CRC_START_OF_PKT_BINARY),
	.DEC_MCOMMA_DETECT (DEC_MCOMMA_DETECT_BINARY),
	.DEC_PCOMMA_DETECT (DEC_PCOMMA_DETECT_BINARY),
	.DEC_VALID_COMMA_ONLY (DEC_VALID_COMMA_ONLY_BINARY),
	.DISPREGSEL (DISPREGSEL_IN),
	.ENCHANSYNC (ENCHANSYNC_IN),
	.ENMCOMMAALIGN (ENMCOMMAALIGN_IN),
	.ENPCOMMAALIGN (ENPCOMMAALIGN_IN),
	.GSR (GSR),
	.LOOPBACK (LOOPBACK_IN),
	.MCOMMA_10B_VALUE (MCOMMA_10B_VALUE),
	.MCOMMA_DETECT (MCOMMA_DETECT_BINARY),
	.PCOMMA_10B_VALUE (PCOMMA_10B_VALUE),
	.PCOMMA_DETECT (PCOMMA_DETECT_BINARY),
	.PMACMIN (PMACMIN_IN),
	.PMACMOUT (PMACMOUT_OUT),
	.PMALOOPBACK (PMALOOPBACK_IN),
	.PMAPWRDN (PMAPWRDN_IN),
	.PMAREGADDR (PMAREGADDR_IN),
	.PMAREGDATAIN (PMAREGDATAIN_IN),
	.PMAREGLOAD (PMAREGLOAD_IN),
	.PMAREGRW (PMAREGRW_IN),
	.PMAREGSTROBE (PMAREGSTROBE_IN),
	.PMARXCLK0SEL (PMARXCLK0SEL_IN),
	.PMARXCLK1SEL (PMARXCLK1SEL_IN),
	.PMARXFDETSEL (PMARXFDETSEL),
	.PMARXLATCHSEL (PMARXLATCHSEL_IN),
	.PMARXRECCLKSEL (PMARXRECCLKSEL_IN),
	.PMATERMEN (PMATERMEN_IN),
	.PMATXCLK0SEL (PMATXCLK0SEL_IN),
	.PMATXCLK1SEL (PMATXCLK1SEL_IN),
	.PMATXCMSET0 (PMATXCMSET0),
	.PMATXCMSET1 (PMATXCMSET1),
	.PMATXLATCHSEL (PMATXLATCHSEL_IN),
	.PMATXOUTCLKSEL (PMATXOUTCLKSEL_IN),
	.PMATXVCODACSEL (PMATXVCODACSEL_BINARY),
	.PMAVSEL (PMAVSEL_BINARY),
	.PMA_SPEED (PMA_SPEED_BINARY),
	.POWERDOWN (POWERDOWN_IN),
	.REFCLK (REFCLK_IN),
	.REFCLK2 (REFCLK2_IN),
	.REFCLKBSEL (REFCLKBSEL_IN),
	.REFCLKSEL (REFCLKSEL_IN),
	.RXBUFSTATUS (RXBUFSTATUS_OUT),
	.RXCHARISCOMMA (RXCHARISCOMMA_OUT),
	.RXCHARISK (RXCHARISK_OUT),
	.RXCHECKINGCRC (RXCHECKINGCRC_OUT),
	.RXCLKCORCNT (RXCLKCORCNT_OUT),
	.RXCOMMADET (RXCOMMADET_OUT),
	.RXCRCERR (RXCRCERR_OUT),
	.RXDATA (RXDATA_OUT),
	.RXDATAWIDTH (RXDATAWIDTH_IN),
	.RXDECODEUSE (RXDECODEUSE_IN),
	.RXDISPERR (RXDISPERR_OUT),
	.RXINTDATAWIDTH (RXINTDATAWIDTH_IN),
	.RXLOSSOFSYNC (RXLOSSOFSYNC_OUT),
	.RXN (RXN_IN),
	.RXNOTINTABLE (RXNOTINTABLE_OUT),
	.RXP (RXP_IN),
	.RXPOLARITY (RXPOLARITY_IN),
	.RXREALIGN (RXREALIGN_OUT),
	.RXRECCLK (RXRECCLK_OUT),
	.RXRESET (RXRESET_IN),
	.RXRUNDISP (RXRUNDISP_OUT),
	.RXUSRCLK (RXUSRCLK_IN),
	.RXUSRCLK2 (RXUSRCLK2_IN),
	.RX_BUFFER_USE (RX_BUFFER_USE_BINARY),
	.RX_CRC_USE (RX_CRC_USE_BINARY),
	.RX_LOSS_OF_SYNC_FSM (RX_LOSS_OF_SYNC_FSM_BINARY),
	.RX_LOS_INVALID_INCR (RX_LOS_INVALID_INCR_BINARY),
	.RX_LOS_THRESHOLD (RX_LOS_THRESHOLD_BINARY),
	.SH_CNT_MAX (SH_CNT_MAX),
	.SH_INVALID_CNT_MAX (SH_INVALID_CNT_MAX),
	.TXBUFERR (TXBUFERR_OUT),
	.TXBYPASS8B10B (TXBYPASS8B10B_IN),
	.TXCHARDISPMODE (TXCHARDISPMODE_IN),
	.TXCHARDISPVAL (TXCHARDISPVAL_IN),
	.TXCHARISK (TXCHARISK_IN),
	.TXDATA (TXDATA_IN),
	.TXDATAWIDTH (TXDATAWIDTH_IN),
	.TXFORCECRCERR (TXFORCECRCERR_IN),
	.TXINHIBIT (TXINHIBIT_IN),
	.TXINTDATAWIDTH (TXINTDATAWIDTH_IN),
	.TXKERR (TXKERR_OUT),
	.TXN (TXN),
	.TXOUTCLK (TXOUTCLK_OUT),
	.TXP (TXP),
	.TXPOLARITY (TXPOLARITY_IN),
	.TXRESET (TXRESET_IN),
	.TXRUNDISP (TXRUNDISP_OUT),
	.TXUSRCLK (TXUSRCLK_IN),
	.TXUSRCLK2 (TXUSRCLK2_IN),
	.TX_6466GEARBOX_USE (TX_6466GEARBOX_USE_BINARY),
	.TX_6466SCRAMBLER_USE (TX_6466SCRAMBLER_USE_BINARY),
	.TX_BUFFER_USE (TX_BUFFER_USE_BINARY),
	.TX_CRC_FORCE_VALUE (TX_CRC_FORCE_VALUE),
	.TX_CRC_USE (TX_CRC_USE_BINARY)
);

specify
	(RXUSRCLK => CHBONDO) = (100, 100);
	(RXUSRCLK2 => CHBONDDONE) = (100, 100);
	(RXUSRCLK2 => RXBUFSTATUS) = (100, 100);
	(RXUSRCLK2 => RXCHARISCOMMA) = (100, 100);
	(RXUSRCLK2 => RXCHARISK) = (100, 100);
	(RXUSRCLK2 => RXCHECKINGCRC) = (100, 100);
	(RXUSRCLK2 => RXCLKCORCNT) = (100, 100);
	(RXUSRCLK2 => RXCOMMADET) = (100, 100);
	(RXUSRCLK2 => RXCRCERR) = (100, 100);
	(RXUSRCLK2 => RXDATA) = (100, 100);
	(RXUSRCLK2 => RXDISPERR) = (100, 100);
	(RXUSRCLK2 => RXLOSSOFSYNC) = (100, 100);
	(RXUSRCLK2 => RXNOTINTABLE) = (100, 100);
	(RXUSRCLK2 => RXREALIGN) = (100, 100);
	(RXUSRCLK2 => RXRUNDISP) = (100, 100);
	(TXUSRCLK2 => PMACMOUT) = (100, 100);
	(TXUSRCLK2 => TXBUFERR) = (100, 100);
	(TXUSRCLK2 => TXKERR) = (100, 100);
	(TXUSRCLK2 => TXRUNDISP) = (100, 100);
endspecify
endmodule