mirror of
https://github.com/enjoy-digital/litex.git
synced 2025-01-04 09:52:26 -05:00
timer, uart: EventSourceLevel -> EventSourceProcess
This commit is contained in:
parent
e2d15b169a
commit
8e76c960d9
2 changed files with 2 additions and 2 deletions
|
@ -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()
|
||||
|
||||
###
|
||||
|
|
|
@ -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()
|
||||
|
||||
|
|
Loading…
Reference in a new issue