timer, uart: EventSourceLevel -> EventSourceProcess
authorSebastien Bourdeauducq <sebastien@milkymist.org>
Wed, 8 May 2013 16:11:42 +0000 (18:11 +0200)
committerSebastien Bourdeauducq <sebastien@milkymist.org>
Wed, 8 May 2013 16:11:42 +0000 (18:11 +0200)
milkymist/timer/__init__.py
milkymist/uart/__init__.py

index 17c7d0ed9cd89aef9e80f35027b41c474ba6f848..32bfb55adbf9292df938b67f5e8dfeb79a2f72de 100644 (file)
@@ -10,7 +10,7 @@ class Timer(Module, AutoCSR):
                self._reload = CSRStorage(width)
                
                self.submodules.ev = EventManager()
-               self.ev.zero = EventSourceLevel()
+               self.ev.zero = EventSourceProcess()
                self.ev.finalize()
 
                ###
index 6cf2dad265b2559302ac62f880496869d610e16d..2fcb19d5f672465157245171709fbfe0f41bffa4 100644 (file)
@@ -10,7 +10,7 @@ class UART(Module, AutoCSR):
                self._divisor = CSRStorage(16, reset=int(clk_freq/baud/16))
                
                self.submodules.ev = EventManager()
-               self.ev.tx = EventSourceLevel()
+               self.ev.tx = EventSourceProcess()
                self.ev.rx = EventSourcePulse()
                self.ev.finalize()