forked from M-Labs/artiq
1
0
Fork 0

drtio: typo

This commit is contained in:
Sebastien Bourdeauducq 2016-11-28 14:35:21 +08:00
parent 4e1b497742
commit 5460202220
1 changed files with 1 additions and 1 deletions

View File

@ -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)