mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-26 11:48:27 +08:00
serwb/phy: increase timeout
This commit is contained in:
parent
e09dbc89bc
commit
b6ab59fb80
@ -21,7 +21,7 @@ from artiq.gateware.serwb.s7phy import S7Serdes
|
|||||||
|
|
||||||
@ResetInserter()
|
@ResetInserter()
|
||||||
class _SerdesMasterInit(Module):
|
class _SerdesMasterInit(Module):
|
||||||
def __init__(self, serdes, taps, timeout=2**14):
|
def __init__(self, serdes, taps, timeout=2**15):
|
||||||
self.ready = Signal()
|
self.ready = Signal()
|
||||||
self.error = Signal()
|
self.error = Signal()
|
||||||
|
|
||||||
@ -154,7 +154,7 @@ class _SerdesMasterInit(Module):
|
|||||||
|
|
||||||
@ResetInserter()
|
@ResetInserter()
|
||||||
class _SerdesSlaveInit(Module, AutoCSR):
|
class _SerdesSlaveInit(Module, AutoCSR):
|
||||||
def __init__(self, serdes, taps, timeout=2**14):
|
def __init__(self, serdes, taps, timeout=2**15):
|
||||||
self.ready = Signal()
|
self.ready = Signal()
|
||||||
self.error = Signal()
|
self.error = Signal()
|
||||||
|
|
||||||
@ -351,7 +351,7 @@ class _SerdesControl(Module, AutoCSR):
|
|||||||
|
|
||||||
|
|
||||||
class SERWBPHY(Module, AutoCSR):
|
class SERWBPHY(Module, AutoCSR):
|
||||||
def __init__(self, device, pads, mode="master", init_timeout=2**14):
|
def __init__(self, device, pads, mode="master", init_timeout=2**15):
|
||||||
self.sink = sink = stream.Endpoint([("data", 32)])
|
self.sink = sink = stream.Endpoint([("data", 32)])
|
||||||
self.source = source = stream.Endpoint([("data", 32)])
|
self.source = source = stream.Endpoint([("data", 32)])
|
||||||
assert mode in ["master", "slave"]
|
assert mode in ["master", "slave"]
|
||||||
|
Loading…
Reference in New Issue
Block a user