From 20c77dd04e003dc0db092b1b81338ad426ccb824 Mon Sep 17 00:00:00 2001 From: Alex Forencich Date: Sat, 18 Jul 2026 16:02:04 -0700 Subject: [PATCH] eth: Improve BASE-R source model handing of IFG for USXGMII Signed-off-by: Alex Forencich --- src/eth/tb/baser.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/eth/tb/baser.py b/src/eth/tb/baser.py index 117b5dd..fe2c9b3 100644 --- a/src/eth/tb/baser.py +++ b/src/eth/tb/baser.py @@ -299,7 +299,10 @@ class BaseRSerdesSource(): continue - if ifg_cnt + deficit_idle_cnt > 8-1 or (not self.enable_dic and ifg_cnt > 4) or rep_cnt != 0: + if rep_cnt != 0: + # scale IFG + pass + elif ifg_cnt + deficit_idle_cnt > 8-1 or (not self.enable_dic and ifg_cnt > 4): # in IFG ifg_cnt = ifg_cnt - 8 if ifg_cnt < 0: