From 416afd3109c6bb8fa42e76eb1e27ac36f521b663 Mon Sep 17 00:00:00 2001 From: bunnie Date: Thu, 6 Feb 2020 17:56:21 +0800 Subject: [PATCH] add doc comment for event --- litex/soc/cores/spiopi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litex/soc/cores/spiopi.py b/litex/soc/cores/spiopi.py index 12a05d71..937d8e5e 100644 --- a/litex/soc/cores/spiopi.py +++ b/litex/soc/cores/spiopi.py @@ -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() -- 2.30.2