eth/example/HTG9200: Fix refclock frequency in testbench

Signed-off-by: Alex Forencich <alex@alexforencich.com>
This commit is contained in:
Alex Forencich
2025-09-05 07:15:26 -07:00
parent 2ae5b5fae3
commit 6c9026bccf

View File

@@ -111,7 +111,7 @@ class TB:
await RisingEdge(self.dut.clk_125mhz)
async def _run_refclk(self):
t = Timer(3.2, 'ns')
t = Timer(3.102, 'ns')
val = 2**len(self.dut.eth_gty_mgt_refclk_p)-1
while True:
self.dut.eth_gty_mgt_refclk_p.value = val