mirror of https://github.com/m-labs/artiq.git
drtio: typo
This commit is contained in:
parent
c419c422fa
commit
4e1b497742
|
@ -134,7 +134,7 @@ class CRIDecoder(Module):
|
||||||
|
|
||||||
# master -> slave
|
# master -> slave
|
||||||
for n, slave in enumerate(slaves):
|
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":
|
if direction == DIR_M_TO_S and name != "cmd":
|
||||||
self.comb += getattr(slave, name).eq(getattr(master, name))
|
self.comb += getattr(slave, name).eq(getattr(master, name))
|
||||||
self.comb += If(selected == n, slave.cmd.eq(master.cmd))
|
self.comb += If(selected == n, slave.cmd.eq(master.cmd))
|
||||||
|
|
Loading…
Reference in New Issue