User guide
Table 6-32: Square Wave Supported Polynomials and Data Widths
Pattern Polynomial 64-Bit 10-Bit
Square Wave Number of consecutive 1s and 0s: 1, 4, 8 X
Enabling the PRBS and Square Wave Data Generator
You must perform a sequence of read-modify-writes to addresses 0x006, 0x007, 0x008, and 0x110 to
enable either the PRBS or square wave data generator. To enable either the PRBS or the square wave data
generator, follow these steps:
1. Write 0x02 to address 0x000 of the channel.
2. Perform a read-modify-write to address 0x006 according to Table 6-33.
3. Perform a read-modify-write to address 0x007 according to Table 6-33.
4. Perform a read-modify-write to address 0x008 according to Table 6-33.
5. Perform a read-modify-write to address 0x110 with the specified width. This data width is either 64-bit
or 10-bit.
6. Write 0x03 to address 0x000 of the channel.
To disable the PRBS or square wave generator, write the original values back into the read-modify-
write addresses in Table 6-33.
Table 6-33: Register Map for PRBS and Square Wave Generators
Reconfigu‐
ration
Address
(HEX)
Reconfigu‐
ration Bit
Attribute Name Related
Addresses
Attribute
Encoding
Bit
Encoding
Description
0x006
[2:0] tx_pma_data_sel 0x8
prbs_pat 3'b100 Select PRBS
Generator Block
sq_wave_pat 3'b101 Select square wave
Generator Block
[3] prbs9_dwidth
prbs9_10b 1'b1 Enable PRBS9 in
10-bit mode
prbs9_64b 1'b0 Enable PRBS9 in
64-bit mode
[6] prbs_clken
prbs_clk_dis 1'b0 Disable PRBS
generator clock
prbs_clk_en 1'b1 Enable PRBS
generator clock
[7] sqwgen_clken
sqwgen_clk_dis 1'b0 Disable square wave
clock
sqwgen_clk_en 1'b1 Enable square wave
clock
UG-01143
2015.05.11
Enabling the PRBS and Square Wave Data Generator
6-49
Reconfiguration Interface and Dynamic Reconfiguration
Altera Corporation
Send Feedback