@@ -34,11 +34,11 @@ def __init__(self, host_ip="192.168.1.100", host_udp_port=2000):
34
34
# Sampler --------------------------------------------------------------------------------
35
35
data = Signal (8 )
36
36
self .sync += data .eq (data + 1 )
37
- self .submodules . sampler = Sampler (data )
37
+ self .sampler = Sampler (data )
38
38
39
39
# DRAMFIFO ---------------------------------------------------------------------------------
40
40
from litedram .frontend .fifo import LiteDRAMFIFO
41
- self .submodules . fifo = LiteDRAMFIFO (
41
+ self .fifo = LiteDRAMFIFO (
42
42
data_width = 8 ,
43
43
base = 0x00000000 ,
44
44
depth = 0x01000000 , # 16MB
@@ -49,10 +49,10 @@ def __init__(self, host_ip="192.168.1.100", host_udp_port=2000):
49
49
# UDPStreamer ------------------------------------------------------------------------------
50
50
from liteeth .common import convert_ip
51
51
from liteeth .frontend .stream import LiteEthStream2UDPTX
52
- udp_port = self .ethcore .udp .crossbar .get_port (host_udp_port , dw = 8 )
52
+ udp_port = self .ethcore_etherbone .udp .crossbar .get_port (host_udp_port , dw = 8 )
53
53
udp_streamer = LiteEthStream2UDPTX (
54
54
ip_address = convert_ip (host_ip ),
55
- udp_port = host_udp_port ,
55
+ udp_port = host_udp_port ,trac
56
56
fifo_depth = 1024
57
57
)
58
58
udp_streamer = ClockDomainsRenamer ("eth_tx" )(udp_streamer )
0 commit comments