From 2df4ff0ad97c5ed220870441c2509175d35db70a Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Thu, 9 May 2013 10:51:34 +0200 Subject: [PATCH] dvisampler/dma: fix interrupt generation --- milkymist/dvisampler/dma.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/milkymist/dvisampler/dma.py b/milkymist/dvisampler/dma.py index 2d181b207..4bded6158 100644 --- a/milkymist/dvisampler/dma.py +++ b/milkymist/dvisampler/dma.py @@ -31,7 +31,7 @@ class _Slot(Module, AutoCSR): class _SlotArray(Module, AutoCSR): def __init__(self, nslots, addr_bits, alignment_bits): - self.ev = EventManager() + self.submodules.ev = EventManager() self.address = Signal(addr_bits) self.address_valid = Signal() self.address_done = Signal()