tb: pmd: Wait on signal_status and not valid
valid is an internal signal which isn't available in post-synthesis simulation. Use signal_status instead, which is externally available. Signed-off-by: Sean Anderson <seanga2@gmail.com>
This commit is contained in:
parent
24ec0a4150
commit
16dfe09fba
|
@ -35,7 +35,7 @@ async def test_rx(pmd):
|
||||||
await cocotb.start(generate_bits())
|
await cocotb.start(generate_bits())
|
||||||
|
|
||||||
# Wait for things to stabilize
|
# Wait for things to stabilize
|
||||||
await RisingEdge(pmd.valid)
|
await RisingEdge(pmd.signal_status)
|
||||||
outs = []
|
outs = []
|
||||||
while pmd.signal_status.value:
|
while pmd.signal_status.value:
|
||||||
await RisingEdge(pmd.rx_clk_125)
|
await RisingEdge(pmd.rx_clk_125)
|
||||||
|
|
Loading…
Reference in New Issue