Merge pull request #1547 from navan93/patch-1

Fix WID in axi versions
This commit is contained in:
enjoy-digital 2022-12-30 21:28:26 +01:00 committed by GitHub
commit 99d67f9e5e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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,