eth: Support truncated replication

Signed-off-by: Alex Forencich <alex@alexforencich.com>
This commit is contained in:
Alex Forencich
2026-07-08 21:53:14 -07:00
parent ab5eb1e2b3
commit 3b2157b305

View File

@@ -791,7 +791,8 @@ class BaseXSerdesSink:
self.active_event.set()
frame = None
elif skip_cnt == 0:
elif skip_cnt == 0 or (in_pre and d_val == EthPre.SFD):
skip_cnt = 0
# normal frame data
if frame.sim_time_sfd is None and not in_pre:
frame.sim_time_sfd = sim_time + (clk_period // self.byte_lanes * k) + gbx_delay