Fix WID in axi versions

There is no WID in AXI4
This commit is contained in:
Navaneeth Bhardwaj 2022-12-29 12:34:49 +05:30 committed by GitHub
parent e8322587a0
commit c1c9dc456c
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,