Skip to content

Commit

Permalink
frontend/stream: Add default ip_address/udp_port values.
Browse files Browse the repository at this point in the history
  • Loading branch information
enjoy-digital committed Dec 16, 2024
1 parent aad9de7 commit d2b1b0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion liteeth/frontend/stream.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
# Stream to UDP TX ---------------------------------------------------------------------------------

class LiteEthStream2UDPTX(LiteXModule):
def __init__(self, ip_address, udp_port, data_width=8, fifo_depth=None, with_csr=False):
def __init__(self, ip_address=0, udp_port=0, data_width=8, fifo_depth=None, with_csr=False):
self.sink = sink = stream.Endpoint(eth_tty_tx_description(data_width))
self.source = source = stream.Endpoint(eth_udp_user_description(data_width))

Expand Down

0 comments on commit d2b1b0e

Please sign in to comment.