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 c419c42 commit 4e1b497
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
@@ -134,7 +134,7 @@ def __init__(self, slaves=2, master=None):

# master -> slave
for n, slave in enumerate(slaves):
for name, size, direction in _layout:
for name, size, direction in layout:
if direction == DIR_M_TO_S and name != "cmd":
self.comb += getattr(slave, name).eq(getattr(master, name))
self.comb += If(selected == n, slave.cmd.eq(master.cmd))

0 comments on commit 4e1b497

Please sign in to comment.