diff --git a/litex/soc/interconnect/axi/axi_stream.py b/litex/soc/interconnect/axi/axi_stream.py index f928747d1..4e187687c 100644 --- a/litex/soc/interconnect/axi/axi_stream.py +++ b/litex/soc/interconnect/axi/axi_stream.py @@ -17,12 +17,13 @@ from litex.soc.interconnect.axi.axi_common import * # AXI-Stream Definition ---------------------------------------------------------------------------- class AXIStreamInterface(stream.Endpoint): - def __init__(self, data_width=0, keep_width=None, id_width=0, dest_width=0, user_width=0, layout=None, name=None): - self.data_width = data_width - self.keep_width = data_width//8 if keep_width is None else keep_width - self.id_width = id_width - self.dest_width = dest_width - self.user_width = user_width + def __init__(self, data_width=0, keep_width=None, id_width=0, dest_width=0, user_width=0, clock_domain="sys", layout=None, name=None): + self.data_width = data_width + self.keep_width = data_width//8 if keep_width is None else keep_width + self.id_width = id_width + self.dest_width = dest_width + self.user_width = user_width + self.clock_domain = clock_domain # Define Payload Layout. if layout is not None: