Merge pull request #160 from antmicro/mglb/add-dqs

common: PHYPadsCombiner: add "dqs" to the list
This commit is contained in:
enjoy-digital 2020-03-11 16:23:53 +01:00 committed by GitHub
commit cdde6bac19
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -76,7 +76,7 @@ class PHYPadsCombiner:
self.sel = n self.sel = n
def __getattr__(self, name): def __getattr__(self, name):
if name in ["dm", "dq", "dqs_p", "dqs_n"]: if name in ["dm", "dq", "dqs", "dqs_p", "dqs_n"]:
return Array([getattr(self.groups[j], name)[i] return Array([getattr(self.groups[j], name)[i]
for i in range(len(getattr(self.groups[0], name))) for i in range(len(getattr(self.groups[0], name)))
for j in range(len(self.groups))]) for j in range(len(self.groups))])