Forum Discussion
ethernet_100g_loopback_off
Hi,
TCL run_test file should automatically enable the loopback mode for testing, it should also be logged as well, you may see this in ethernet_100g_loop_off.jpg screenshot.
- Vamsi_212 years ago
Occasional Contributor
Hi,
I have made loop_off in the main.tcl script to check without loopback but still it is showing the tx statistics.
Below I am attaching the screenshots of the system console window.- Yi2 years ago
New Contributor
It seems working as the Rx clk and recover clk are both 0Hz, and lock status = 0, though the MAC status looks weird to me either, would suggest to try some debug and see if the loop_off is correctly set or not first.
the process is in the *\hwtest\altera\alt_aeu_40\eth_ultra_phy_inc.tcl :
proc setphy_lpoff {} {global BASE_RXPHYglobal ADDR_PHY_PMALOOP# puts "RX PHY Register Access: Setting Serial PMA Loopback\n"reg_write $BASE_RXPHY $ADDR_PHY_PMALOOP 0x0reg_read $BASE_RXPHY $ADDR_PHY_PMALOOP}May edit the puts here to see if it's set or not first.
- Vamsi_212 years ago
Occasional Contributor
Hi,
I have kept some puts statements in the tcl scripts as you have suggested but for both loopback on and loopback off the rx clk=0 Hz, recover clk=0 Hz, lock status =0 and still it is showing both rx and tx mac stats.Iam sharing the tcl scripts and also I am attaching the screenshot of the system console window for both loopback on and loopback off.