diff --git a/adi/jesd_internal.py b/adi/jesd_internal.py index d26b20abf..935cddac0 100644 --- a/adi/jesd_internal.py +++ b/adi/jesd_internal.py @@ -82,7 +82,7 @@ class jesd_eye_scan(jesd): _jesd_prbs = 7 _max_possible_lanes_index = 24 - _half_rate = {"mode": "Half Fate", "scale": 0.004} + _half_rate = {"mode": "Half Fate", "scale": 1} _quarter_rate = {"mode": "Quarter Rate", "scale": 4} lanes = {} @@ -205,8 +205,8 @@ def get_eye_data(self, device=None, lanes=None): else: spo = [float(x) for x in eye_line.split(",")] x.append(spo[0]) - y1.append(spo[1] * scale / 1000) - y2.append(spo[2] * scale / 1000) + y1.append(spo[1] * scale) + y2.append(spo[2] * scale) if len(x) == 0: raise Exception(f"No eye data found for lane {lane}.")