From 4e1b4977420a3804d07fa78c20ea660ca326350b Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Mon, 28 Nov 2016 14:34:58 +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 ed19612d2..487ce2996 100644 --- a/artiq/gateware/rtio/cri.py +++ b/artiq/gateware/rtio/cri.py @@ -134,7 +134,7 @@ class CRIDecoder(Module): # 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))