Expected behavior
For payload size 52:
- Final AXI beat has 2 valid bytes (
tstrb=0x03)
- Only 2 bytes from final beat should be transmitted
- Frame size should match reference model (78 bytes)
Actual behavior
- Driver reports:
remaining bytes = 2
tstrb = 3
- Observed waveform:
exp_pkt_size=78bytes
act_pkt_size=84bytes
- Extra bytes observed: +6 (matches invalid lanes of final 64-bit beat)
Analysis
Difference is exactly +6 bytes, which equals invalid byte lanes on last 64-bit beat when only 2 bytes are valid (8 - 2 = 6).
Likely final-beat mask handling issue in TX datapath (tstrb/tkeep not applied correctly near EOP).
Expected behavior
For payload size 52:
tstrb=0x03)Actual behavior
remaining bytes = 2tstrb = 3exp_pkt_size=78bytesact_pkt_size=84bytesAnalysis
Difference is exactly +6 bytes, which equals invalid byte lanes on last 64-bit beat when only 2 bytes are valid (
8 - 2 = 6).Likely final-beat mask handling issue in TX datapath (tstrb/tkeep not applied correctly near EOP).