mirror of
https://github.com/enjoy-digital/usb3_pipe.git
synced 2025-01-04 10:18:41 +08:00
ltssm: remove 1s timer of Polling.Idle state
This commit is contained in:
parent
4eb080f405
commit
6abd6fb34b
@ -279,18 +279,10 @@ 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",
|
||||
_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),
|
||||
)
|
||||
self.idle.eq(1),
|
||||
self.rx_ready.eq(1),
|
||||
self.tx_ready.eq(1),
|
||||
)
|
||||
|
||||
# Exit to Compliance -----------------------------------------------------------------------
|
||||
|
Loading…
x
Reference in New Issue
Block a user