soc/cores/i2c: change ISR to rising edge of idle

This commit is contained in:
Richard Tucker 2023-02-10 12:50:25 +11:00 committed by Andrew Dennison
parent b8b6ecef7c
commit 5504cc626f
1 changed files with 1 additions and 1 deletions

View File

@ -239,7 +239,7 @@ class I2CMaster(Module, AutoCSR):
# Event Manager.
self.submodules.ev = EventManager()
self.ev.idle = EventSourceLevel()
self.ev.idle = EventSourceProcess(edge="rising")
self.ev.finalize()
self.comb += self.ev.idle.trigger.eq(i2c.idle)