From 8e76c960d9c4c15e541548173df71ad79e1048d2 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Wed, 8 May 2013 18:11:42 +0200 Subject: [PATCH] timer, uart: EventSourceLevel -> EventSourceProcess --- milkymist/timer/__init__.py | 2 +- milkymist/uart/__init__.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/milkymist/timer/__init__.py b/milkymist/timer/__init__.py index 17c7d0ed..32bfb55a 100644 --- a/milkymist/timer/__init__.py +++ b/milkymist/timer/__init__.py @@ -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() ### diff --git a/milkymist/uart/__init__.py b/milkymist/uart/__init__.py index 6cf2dad2..2fcb19d5 100644 --- a/milkymist/uart/__init__.py +++ b/milkymist/uart/__init__.py @@ -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() -- 2.30.2