eth: Use shared counter for fractional part of pause quanta

Signed-off-by: Alex Forencich <alex@alexforencich.com>
This commit is contained in:
Alex Forencich
2025-04-26 20:02:35 -07:00
parent 3dc7e4821d
commit 8dc33f3a44
10 changed files with 75 additions and 47 deletions

View File

@@ -668,6 +668,8 @@ async def run_test_pfc(dut, ifg=12):
test_frame = XgmiiFrame.from_payload(bytes(test_pkt))
await tb.serdes_source.send(test_frame)
dut.rx_pfc_ack.value = 0xff
for i in range(8):
for k in range(200):
await RisingEdge(dut.tx_clk)