Skip to content

Commit 4e1b497

Browse files
committedNov 28, 2016
drtio: typo
1 parent c419c42 commit 4e1b497

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎artiq/gateware/rtio/cri.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ def __init__(self, slaves=2, master=None):
134134

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

0 commit comments

Comments
 (0)
Please sign in to comment.