dvisampler/dma: fix interrupt generation
authorSebastien Bourdeauducq <sebastien@milkymist.org>
Thu, 9 May 2013 08:51:34 +0000 (10:51 +0200)
committerSebastien Bourdeauducq <sebastien@milkymist.org>
Thu, 9 May 2013 08:51:34 +0000 (10:51 +0200)
milkymist/dvisampler/dma.py

index 2d181b207307fab4dc7369fb55f3f5e4b092bcef..4bded6158166995babf633b7be4023f77de3e58e 100644 (file)
@@ -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()