phy/a7_1000basex: Use ALIGN_COMMA_WORD/RXCDR_CFG from Xilinx wizard.

This commit is contained in:
Florent Kermarrec 2024-10-15 10:06:45 +02:00
parent 04fc888285
commit 8a3e0a23aa
1 changed files with 2 additions and 2 deletions

View File

@ -90,7 +90,7 @@ class A7_1000BASEX(LiteXModule):
# RX Byte and Word Alignment Attributes # RX Byte and Word Alignment Attributes
p_ALIGN_COMMA_DOUBLE = "FALSE", p_ALIGN_COMMA_DOUBLE = "FALSE",
p_ALIGN_COMMA_ENABLE = 0b1111111111, p_ALIGN_COMMA_ENABLE = 0b1111111111,
p_ALIGN_COMMA_WORD = 1, p_ALIGN_COMMA_WORD = 2,
p_ALIGN_MCOMMA_DET = "TRUE", p_ALIGN_MCOMMA_DET = "TRUE",
p_ALIGN_MCOMMA_VALUE = 0b1010000011, p_ALIGN_MCOMMA_VALUE = 0b1010000011,
p_ALIGN_PCOMMA_DET = "TRUE", p_ALIGN_PCOMMA_DET = "TRUE",
@ -212,7 +212,7 @@ class A7_1000BASEX(LiteXModule):
# CDR Attributes # CDR Attributes
p_RXCDR_CFG = { p_RXCDR_CFG = {
1.25e9 : 0x0001107FE086021101010, 1.25e9 : 0x0000107FE106001041010,
3.125e9 : 0x0000107FE206001041010, 3.125e9 : 0x0000107FE206001041010,
}[self.linerate], }[self.linerate],
p_RXCDR_FR_RESET_ON_EIDLE = 0b0, p_RXCDR_FR_RESET_ON_EIDLE = 0b0,