mirror of
https://github.com/enjoy-digital/usb3_pipe.git
synced 2025-01-04 10:18:41 +08:00
ltssm/Polling.Idle: for now disable link after 1000ms to simplify debug
This commit is contained in:
parent
22d98b88b0
commit
f21faf75de
@ -279,10 +279,18 @@ class PollingFSM(Module):
|
||||
)
|
||||
|
||||
# Idle State (7.5.4.7) ---------------------------------------------------------------------
|
||||
_idle_timer = WaitTimer(int(1000e-3*sys_clk_freq)) # FIXME: remove
|
||||
self.submodules += _idle_timer
|
||||
fsm.act("Polling.Idle",
|
||||
self.idle.eq(1),
|
||||
self.rx_ready.eq(1),
|
||||
self.tx_ready.eq(1),
|
||||
_idle_timer.wait.eq(1),
|
||||
If(~_idle_timer.done,
|
||||
self.idle.eq(1),
|
||||
self.rx_ready.eq(1),
|
||||
self.tx_ready.eq(1),
|
||||
).Else(
|
||||
# FIXME: for now, disable the link after 1000ms to simplify debug
|
||||
lfps_unit.tx_idle.eq(1),
|
||||
)
|
||||
)
|
||||
|
||||
# Exit to Compliance -----------------------------------------------------------------------
|
||||
|
Loading…
x
Reference in New Issue
Block a user