From c1c9dc456c012f44795b88325c2b775ade17af18 Mon Sep 17 00:00:00 2001 From: Navaneeth Bhardwaj Date: Thu, 29 Dec 2022 12:34:49 +0530 Subject: [PATCH] Fix WID in axi versions There is no WID in AXI4 --- litex/soc/interconnect/axi/axi_full.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litex/soc/interconnect/axi/axi_full.py b/litex/soc/interconnect/axi/axi_full.py index 914c9b0bf..a6b5e4319 100644 --- a/litex/soc/interconnect/axi/axi_full.py +++ b/litex/soc/interconnect/axi/axi_full.py @@ -84,7 +84,7 @@ class AXIInterface: ) self.w = AXIStreamInterface(name=name, layout = w_description(data_width), - id_width = {"axi3":0,"axi4":id_width}[version], # No WID on AXI4. + id_width = {"axi4":0,"axi3":id_width}[version], # No WID on AXI4. user_width = w_user_width ) self.b = AXIStreamInterface(name=name,