有時(shí)候在debug GT的時(shí)候,需要用Digital monitor讀出RX equalizer的code,本篇文章以US+的GTM為例子,提供了一個(gè)步驟,詳細(xì)寄存器可以參考UG581.
Select DRP和Dmonitor port
Dmonitor port,用DRP CLK接上Dmonitorclk_in,通過邏輯或者ILA來對dmonitorout_out采樣讀取。
DRP讀寫寄存器,以CH0為例地址操作如下,CH1的地址將0x0xx改為0x2xx。
CH0:
1)0x082[0] = 1’b1; DMON_ENABLE, Enables digital monitor for channel 0/1.
0x082[2:1] = 2’b00; DMON_SRC, Enables RX DMON path for channel 0/1. Must be set to 2'b00 when reading RX adaptation loops.
0x082[3] =1’b0; DMON_FIFOBYPASS, Enables RX DMON path for channel 0/1. Must set to 1'b0 when reading RX adaptation loops.
2)0x045[13] = 1’b1; Set to 1'b1 when reading DFE adaptation loops.
3)0x033[15] = 1’b0, Set to 1'b0 to read DFE/FFE data.
4)0x033[14:12] =
=3'b100, 選DFE data.
=3'b110, 選FFE data.
讀DFE:0x046[15:12]: Selector to monitor DFE adaptation loops for channel 0/1. See output using CH[0/1]_DMONITOROUT port.
a. = 4'b0000; 讀[15:3] - H1_BINDACH1_BINDAC
b. = 4'b0001; 讀[30:25] - GC_BINDAC;[15:10] - KH_BINDAC
c. = 4'b0010; 讀[30:25] - KL_BINDAC;[14:8] - OS_BINDAC
讀FFE配置0x05C[13:12]=2’b10;Set to 2'b10 when reading FFE adaptation loops.
讀FFE; 0x05C[7:3]:
a. = 5'b00001,讀
[28:23] - FFE_HM4
[22:18] - FFE_HP10
[17:13] - FFE_HP09
[12:8] - FFE_HP08
[7:3] - FFE_HP07
b. =5'b00010 讀
[31:26] - FFE_HP06
[25:20] - FFE_HP05
[19:13] - FFE_HP04
[12:6] - FFE_HP03
c. = 5'b00011 讀
31:24] - FFE_HP02
[23:16] - FFE_HM01
[15:9] - FFE_HM02
[8:3] - FFE_HM03
Channel 1:DRP地址從0x0xx改為0x2xx
? 0x282[0]: DMON_ENABLE
? 0x282[2:1]: DMON_SRC
? 0x282[3]: DMON_FIFOBYPASS
? 0x245[13]: TESTEN
? 0x233[14:12]: DEMONCON
? 0x233[15]: CLKSEL
? 0x25C[13:12]: TESTC
? 0x246[15:12]: DFELOOPSEL
? 0x25C[7:3]: FFELOOPSEL
審核編輯:湯梓紅
-
寄存器
+關(guān)注
關(guān)注
31文章
5336瀏覽量
120230 -
Digital
+關(guān)注
關(guān)注
0文章
88瀏覽量
43671 -
地址
+關(guān)注
關(guān)注
1文章
32瀏覽量
10763 -
Equalizer
+關(guān)注
關(guān)注
0文章
18瀏覽量
8208
原文標(biāo)題:如何通過GTM Digital monitor讀RX Equalizer
文章出處:【微信號:Hack電子,微信公眾號:Hack電子】歡迎添加關(guān)注!文章轉(zhuǎn)載請注明出處。
發(fā)布評論請先 登錄
相關(guān)推薦
評論