mirror of https://github.com/m-labs/artiq.git
drtio: typo
This commit is contained in:
parent
4e1b497742
commit
5460202220
|
@ -143,7 +143,7 @@ class CRIDecoder(Module):
|
||||||
cases = dict()
|
cases = dict()
|
||||||
for n, slave in enumerate(slaves):
|
for n, slave in enumerate(slaves):
|
||||||
cases[n] = []
|
cases[n] = []
|
||||||
for name, size, direction in _layout:
|
for name, size, direction in layout:
|
||||||
if direction == DIR_S_TO_M:
|
if direction == DIR_S_TO_M:
|
||||||
cases[n].append(getattr(master, name).eq(getattr(slave, name)))
|
cases[n].append(getattr(master, name).eq(getattr(slave, name)))
|
||||||
self.comb += Case(selected, cases)
|
self.comb += Case(selected, cases)
|
||||||
|
|
Loading…
Reference in New Issue