📄 bert_config.v
字号:
/////////////////////////////////////////////////////////////////////////////////// File Name: BERT_CONFIG.v// Version: 2.2// Date: 05/14/03// Model: Wrapper for the BERT's compile-time configuration values.//// Company: Xilinx, Inc.// Contributor: Mike Matera//// Disclaimer: 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.//// (c) Copyright 2003 Xilinx, Inc.// All rights reserved.///////////////////////////////////////////////////////////////////////////////////-------------------------------------------------------------//// Constant Summary (by Module):////// PatternGenerator//-------------------------------------------------------------//// WITH_51// Defined enables the ITU-T-0.150 Section 5.1 PRBS// DEFAULT: defined//// WITH_52// Defined enables the ITU-T-0.150 Section 5.2 PRBS// DEFAULT: defined//// WITH_53// Defined enables the ITU-T-0.150 Section 5.3 PRBS// DEFAULT: defined//// WITH_54// Defined enables the ITU-T-0.150 Section 5.4 PRBS// DEFAULT: defined//// WITH_55// Defined enables the ITU-T-0.150 Section 5.5 PRBS// DEFAULT: defined//// WITH_56// Defined enables the ITU-T-0.150 Section 5.6 PRBS// DEFAULT: defined//// WITH_57// Defined enables the ITU-T-0.150 Section 5.7 PRBS// DEFAULT: defined//// WITH_58// Defined enables the ITU-T-0.150 Section 5.8 PRBS// DEFAULT: defined//// WITH_TYPE1// Defined to instantiate Type1 LFSRs.//// WITH_TYPE2// Defined to instantiate Type2 LFSRs.////// GigabitBER_TX//-------------------------------------------------------------//// COMMA (20-bit value)// The value to send as the comma word.// DEFAULT: 20'h3E8E1//// TX_INIT_COUNTER_MSB (integer)// Number of bits in the init_wait counter. This controls// the number of cycles to send a comma before starting// the PRBS.// DEFAULT: 19////// GigabitBER_RX//-------------------------------------------------------------//// SCIENTIFIC// Defined enables logic to measure the error figure.// DEFAULT: defined//// RX_INIT_COUNTER_MSB (integer)// Number of bits in the comma stream counter. This controls// the number of cycles that comma is received before resetting// the pattern follower.// DEFAULT: 6 //// TOTAL_FRAMES_MSB (integer)// Number of bits in the total frames counter. Larger values// allow for greater test times.// DEFAULT: 47//// DROPPED_FRAMES_MSB: (integer)// Number of bits in the total frames counter. Larger values// allow for measurement of higher bit error rates.// DEFAULT: 24////-------------------------------------------------------------//-------------------------------------------------------------//// Standard Values:// These values are defaults that should probably not// change without good reason!////-------------------------------------------------------------`define COMMA 20'h3E8E1 //K28.5, D28.7`define WITH_TYPE2 //Use Type-II LFSR//-------------------------------------------------------------//// Simulation Values:// Values set for simulation.////-------------------------------------------------------------`ifdef XBERT_FOR_SIM_ONLY `define WITH_51 `define WITH_52 `define WITH_53 `define WITH_54 `define WITH_55 `define WITH_56 `define WITH_57 `define WITH_58 `define WITH_32BIT `define WITH_7BIT `define TX_INIT_COUNTER_MSB 6 `define RX_INIT_COUNTER_MSB 5 `define SCIENTIFIC `define TOTAL_FRAMES_MSB 47 `define DROPPED_FRAMES_MSB 24`endif//-------------------------------------------------------------//-------------------------------------------------------------//// MGT Board Values:////------------------------------------------------------------- `ifdef XBERT_MGT_DEMO_BOARD `define WITH_51 `define WITH_52 `define WITH_53 `define WITH_54 `define WITH_55 `define WITH_56 `define WITH_57 `define WITH_58 `define WITH_32BIT `define WITH_7BIT `define TX_INIT_COUNTER_MSB 19 `define RX_INIT_COUNTER_MSB 6 `define SCIENTIFIC `define TOTAL_FRAMES_MSB 47 `define DROPPED_FRAMES_MSB 24 `endif//-------------------------------------------------------------
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -