Altera Transceiver PHY IP Core User Manual
Page 564

a.
Sync badcg
, (offset 0xA1, bits[15:14])
b.
Enable Comma Detect
, (offset 0xA1, bit[13])
c.
Enable Polarity
, (offset, 0xA1, bit[11])
8. Now, you must set the proper value for the
Sync State Machine Disable
bit.
• If your PCS/PMA interface width is 8 or 10 bits, perform a read-modify-write with a value of 1'b1
to
Sync State Machine Disable
(offset 0xA4, bit[15]).
• If your PCS/PMA interface width is 16 or 20 bits, perform a read-modify-write with a value of 1'b0
to
Sync State Machine Disable
(offset 0xA4, bit[15]).
9. To complete the necessary programming, perform read-modify-writes to set the following bits to 0:
a.
Auto Byte Align Disable
, (offset 0xA6, bit[5])
b.
DW Sync State Machine Enable
,( offset 0xB8, bit[13])
c.
Deterministic Latency State Machine Enable
(offset 0xB9, bit[11])
d.
Clock Power Down RX
, (offset 0xBA, bit[11])
e.
PRBS RX Enable
, (offset 0xA0, bit[5])
10.Assert the channel reset.
Enabling the Standard PCS PRBS Generator Using Streamer-Based Reconfiguration
Complete the following reads and writes to the Streamer module to enable the PRBS generator in the
Standard PCS:
1. Read the Streamer Module
control and status
register
busy
bit (7’h3A, bit[8]) until it is clear.
2. Write the Streamer Module logical channel number to the Streamer
logical channel number
register at address 0x38.
3. Set the Streamer Module
control and status
register
Mode
bits (7’h3A, bits[3:2]) to 1.
4. Determine the PRBS pattern from Word Aligner Size and Word Aligner Pattern table in
on page 12-25 and note the corresponding
PRBS Pattern Select
encoding. For
example, using a 16-bit PCS-PMA width and a PRBS-23 pattern, the corresponding PRBS select value
is 3’b001.
5. Determine the PRBS pattern from the and note the cooresponding PRBS Pattern Select encoding. For
example, using a 16-bit PCS-PMA width and a PRBS-23 pattern, the corresponding PRBS select value
is 3'b001.
6. To complete the necessary programming, perform read-modify-writes to specify the
PRBS TX Enable
and at the following addresses:
UG-01080
2015.01.19
Enabling the Standard PCS PRBS Generator Using Streamer-Based Reconfiguration
16-47
Transceiver Reconfiguration Controller IP Core Overview
Altera Corporation