Download Arria 10 Transceiver PHY User Guide
Transcript
6-14 UG-A10XCVR 2013.12.02 Using PRBS and Square Wave Data Pattern Generator and Checker • Pseudo Random Binary Sequence (PRBS) • Pseudo Random Pattern (PRP) • Square wave Note: The pattern generators and verifiers are supported only for non-bonded channels. Using PRBS and Square Wave Data Pattern Generator and Checker You can use PRBS to simulate traffic and easily characterize high-speed links without developing or fully implementing any upper layer of a protocol stack. The PRBS generator generates a self-aligning pattern that doesn't require bit slipping or word alignment for a pattern lock. Because the PRBS pattern is generated by an LFSR, the next pattern can be determined based upon the previous pattern. This is important for the PRBS checker because a portion of the received pattern can be used to generate the next sequence of bits to verify the next data sequence received is correct. The PRBS generator and checker support two data width configurations: 64-bit and 10-bit. The PRBS generator, PRBS checker, and square wave must be configured to a supported bus width (that is, 64-bit or 10-bit, independent of the FPGA-PCS fabric width used). For example, if your FPGA-PCS fabric width is set to a 40-bit width, then you must configure the PRBS or square wave to a valid 64-bit or 10-bit width data generator. Table 6-12: PRBS and Square Wave Supported Polynomials and Data Widths Pattern Polynomial 64-Bit PRBS 9 G(x) = 1+ x5 + x9 X PRBS 15 G(x) = 1+ x14 + x15 X PRBS 23 G(x) = 1+ x18 + x23 x PRBS 31 G(x) = 1+ x28 + x31 x Square Wave Number of consecutive 1's and 0's: 4,6,8 10-Bit x x Enabling the PRBS and Square Wave Data Generator You must perform a sequence of read-modify-writes to the Native PHY reconfiguration interface to enable either the PRBS or square wave data generator. You must perform the read-modify-writes to offsets: 0x6, 0x7, 0x8, and 0x110. To enable either the PRBS or the square wave data generator, follow these steps: 1. Perform a read-modify-write to offset 0x6 according to the Table 6-13. 2. Perform a read-modify-write to either offset 0x7 or offset 0x8 to enable the type of PRBS or square wave pattern: a. Perform a read-modify-write to offset 0x7 by writing a 1'b1 to either bit[7], bit[6], or bit[5] to enable PRBS9, PRBS15, or PRBS23, respectively. Write other bits with 1'b0. b. Perform a read-modify-write to offset 0x8 by writing to bit[3:0], or bit[4] to enable the square wave or PRBS31, respectively. Write bit[6:5] with the type pattern generator. 3. Perform a read-modify-write to offset 0x110 with the specified width. This data width is either 64-bit or 10-bit. 4. Perform a reset. To disable the PRBS or square wave generator, write the original values back into the read-modify-write offsets in Table 6-12. Altera Corporation Reconfiguration Interface and Dynamic Reconfiguration Send Feedback