bluecmd / fejkon

Fibre Channel / FICON HBA implemented on FPGA
GNU General Public License v3.0
37 stars 2 forks source link

Transceiver equalization and Eye viewer #68

Open bluecmd opened 4 years ago

bluecmd commented 4 years ago

Right now the signal integrity on the SFP channels has not been a issue, and likely will not be.

However I have been playing around with the Eye viewer and it seems pretty fun.

A couple of observations:

It would be cool to maybe surface this eye measurements in an bit more easy fashion than having to manually define the links. The eye measurement also seems to error out with a "null" error and that the reconfiguration controller is currently busy. Might be solveable.

bluecmd commented 4 years ago

Diff to enable eye and other tools:

diff --git a/fejkon.tcl b/fejkon.tcl
index 629d128..eedd980 100644
--- a/fejkon.tcl
+++ b/fejkon.tcl
@@ -10,13 +10,13 @@ set_project_property HIDE_FROM_IP_CATALOG {false}
 # Instances and instance parameters
 # (disabled instances are intentionally culled)
 add_instance alt_xcvr_reconfig_0 alt_xcvr_reconfig 19.1
-set_instance_parameter_value alt_xcvr_reconfig_0 {ber_en} {0}
-set_instance_parameter_value alt_xcvr_reconfig_0 {enable_adce} {0}
+set_instance_parameter_value alt_xcvr_reconfig_0 {ber_en} {1}
+set_instance_parameter_value alt_xcvr_reconfig_0 {enable_adce} {1}
 set_instance_parameter_value alt_xcvr_reconfig_0 {enable_analog} {1}
 set_instance_parameter_value alt_xcvr_reconfig_0 {enable_dcd} {0}
 set_instance_parameter_value alt_xcvr_reconfig_0 {enable_dcd_power_up} {1}
-set_instance_parameter_value alt_xcvr_reconfig_0 {enable_dfe} {0}
-set_instance_parameter_value alt_xcvr_reconfig_0 {enable_eyemon} {0}
+set_instance_parameter_value alt_xcvr_reconfig_0 {enable_dfe} {1}
+set_instance_parameter_value alt_xcvr_reconfig_0 {enable_eyemon} {1}
 set_instance_parameter_value alt_xcvr_reconfig_0 {enable_mif} {0}
 set_instance_parameter_value alt_xcvr_reconfig_0 {enable_offset} {1}
 set_instance_parameter_value alt_xcvr_reconfig_0 {gui_cal_status_port} {0}
@@ -558,13 +558,13 @@ add_instance xcvr0 fc_8g_xcvr 1.0
 add_instance xcvr1 fc_8g_xcvr 1.0

 add_instance xcvr_reconfig alt_xcvr_reconfig 19.1
-set_instance_parameter_value xcvr_reconfig {ber_en} {0}
-set_instance_parameter_value xcvr_reconfig {enable_adce} {0}
+set_instance_parameter_value xcvr_reconfig {ber_en} {1}
+set_instance_parameter_value xcvr_reconfig {enable_adce} {1}
 set_instance_parameter_value xcvr_reconfig {enable_analog} {1}
 set_instance_parameter_value xcvr_reconfig {enable_dcd} {0}
 set_instance_parameter_value xcvr_reconfig {enable_dcd_power_up} {1}
-set_instance_parameter_value xcvr_reconfig {enable_dfe} {0}
-set_instance_parameter_value xcvr_reconfig {enable_eyemon} {0}
+set_instance_parameter_value xcvr_reconfig {enable_dfe} {1}
+set_instance_parameter_value xcvr_reconfig {enable_eyemon} {1}
 set_instance_parameter_value xcvr_reconfig {enable_mif} {0}
 set_instance_parameter_value xcvr_reconfig {enable_offset} {1}
 set_instance_parameter_value xcvr_reconfig {gui_cal_status_port} {0}