Skip to content

Commit

Permalink
drtio: typo
Browse files Browse the repository at this point in the history
sbourdeauducq committed Nov 28, 2016
1 parent 4e1b497 commit 5460202
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion artiq/gateware/rtio/cri.py
Original file line number Diff line number Diff line change
@@ -143,7 +143,7 @@ def __init__(self, slaves=2, master=None):
cases = dict()
for n, slave in enumerate(slaves):
cases[n] = []
for name, size, direction in _layout:
for name, size, direction in layout:
if direction == DIR_S_TO_M:
cases[n].append(getattr(master, name).eq(getattr(slave, name)))
self.comb += Case(selected, cases)

0 comments on commit 5460202

Please sign in to comment.