From 5460202220f9c272b5609090da907134b3fac4b9 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Mon, 28 Nov 2016 14:35:21 +0800 Subject: [PATCH] drtio: typo --- artiq/gateware/rtio/cri.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/artiq/gateware/rtio/cri.py b/artiq/gateware/rtio/cri.py index 487ce2996..ca71e224c 100644 --- a/artiq/gateware/rtio/cri.py +++ b/artiq/gateware/rtio/cri.py @@ -143,7 +143,7 @@ class CRIDecoder(Module): 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)