add doc comment for event
authorbunnie <bunnie@kosagi.com>
Thu, 6 Feb 2020 09:56:21 +0000 (17:56 +0800)
committerbunnie <bunnie@kosagi.com>
Thu, 6 Feb 2020 09:56:21 +0000 (17:56 +0800)
litex/soc/cores/spiopi.py

index 12a05d71d38b1530b53f17c7a989bf7079d63769..937d8e5ecae54ae31e3317a0d69274930f98ac41 100644 (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()