add doc comment for event

This commit is contained in:
bunnie 2020-02-06 17:56:21 +08:00
parent 33d9e45a8b
commit 416afd3109
1 changed files with 1 additions and 1 deletions

View File

@ -1019,7 +1019,7 @@ class SpiOpi(Module, AutoCSR, AutoDoc):
self.specials += MultiReg(pads.ecs_n, ecs_n)
self.submodules.ev = EventManager()
self.ev.ecc_error = EventSourceProcess() # Falling edge triggered
self.ev.ecc_error = EventSourceProcess(description="An ECC event has happened on the current block; triggered by falling edge of ECC_N")
self.ev.finalize()
self.comb += self.ev.ecc_error.trigger.eq(ecs_n)
ecc_reported = Signal()