File tree 1 file changed +4
-4
lines changed
misoc/cores/liteeth_mini/phy
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -36,11 +36,11 @@ def __init__(self, pads):
36
36
ClockSignal ("eth_rx" ))
37
37
38
38
rx_ctl_d = Signal ()
39
- self .sync += rx_ctl_d .eq (rx_ctl )
39
+ self .sync . eth_rx += rx_ctl_d .eq (rx_ctl )
40
40
eop = Signal ()
41
41
self .comb += eop .eq (~ rx_ctl & rx_ctl_d )
42
42
43
- self .sync += [
43
+ self .sync . eth_rx += [
44
44
source .stb .eq (rx_ctl ),
45
45
source .data .eq (rx_data )
46
46
]
@@ -75,6 +75,6 @@ class LiteEthPHYRGMII(Module, AutoCSR):
75
75
def __init__ (self , clock_pads , pads ):
76
76
self .dw = 8
77
77
self .submodules .crg = LiteEthPHYRGMIICRG (clock_pads , pads )
78
- self .submodules .tx = ClockDomainsRenamer ( "eth_tx" )( LiteEthPHYRGMIITX (pads ) )
79
- self .submodules .rx = ClockDomainsRenamer ( "eth_rx" )( LiteEthPHYRGMIIRX (pads ) )
78
+ self .submodules .tx = LiteEthPHYRGMIITX (pads )
79
+ self .submodules .rx = LiteEthPHYRGMIIRX (pads )
80
80
self .sink , self .source = self .tx .sink , self .rx .source
You can’t perform that action at this time.
0 commit comments