timer, uart: EventSourceLevel -> EventSourceProcess

This commit is contained in:
Sebastien Bourdeauducq 2013-05-08 18:11:42 +02:00
parent e2d15b169a
commit 8e76c960d9
2 changed files with 2 additions and 2 deletions

View 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()
###

View 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()