mirror of
https://github.com/fpganinja/taxi.git
synced 2025-12-07 16:28:40 -08:00
eth/example/HTG9200: Fix refclock frequency in testbench
Signed-off-by: Alex Forencich <alex@alexforencich.com>
This commit is contained in:
@@ -111,7 +111,7 @@ class TB:
|
|||||||
await RisingEdge(self.dut.clk_125mhz)
|
await RisingEdge(self.dut.clk_125mhz)
|
||||||
|
|
||||||
async def _run_refclk(self):
|
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
|
val = 2**len(self.dut.eth_gty_mgt_refclk_p)-1
|
||||||
while True:
|
while True:
|
||||||
self.dut.eth_gty_mgt_refclk_p.value = val
|
self.dut.eth_gty_mgt_refclk_p.value = val
|
||||||
|
|||||||
Reference in New Issue
Block a user