From 4dabc5a62513c45efa4fbf806f316fbfd4a76106 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Wed, 11 Mar 2020 11:04:42 +0100 Subject: [PATCH] cores/icap: add CSR descriptions. --- litex/soc/cores/icap.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/litex/soc/cores/icap.py b/litex/soc/cores/icap.py index feab751b..3add3012 100644 --- a/litex/soc/cores/icap.py +++ b/litex/soc/cores/icap.py @@ -18,10 +18,10 @@ class ICAP(Module, AutoCSR): reloaded from SPI Flash by writing 0x00000000 at address @0x4. """ def __init__(self, simulation=False): - self.addr = CSRStorage(5) - self.data = CSRStorage(32) - self.send = CSR() - self.done = CSRStatus(reset=1) + self.addr = CSRStorage(5, description="ICAP Write Address.") + self.data = CSRStorage(32, description="ICAP Write Data.") + self.send = CSRStorage(description="ICAP Control.\n\n Write ``1`` send a write command to the ICAP.") + self.done = CSRStatus(reset=1, description="ICAP Status.\n\n Write command done when read as ``1``.") # # # -- 2.30.2