soc/integration/soc_core/SoCController: rephrase CSR descriptions a bit

This commit is contained in:
Florent Kermarrec 2020-01-02 09:38:23 +01:00
parent 1f27b21f9c
commit b65a36e7e8
1 changed files with 5 additions and 6 deletions

View File

@ -42,14 +42,13 @@ __all__ = [
class SoCController(Module, AutoCSR): class SoCController(Module, AutoCSR):
def __init__(self): def __init__(self):
self._reset = CSRStorage(1, description=""" self._reset = CSRStorage(1, description="""
Write a ``1`` to this register to trigger a system reset.""") Write a ``1`` to this register to reset the SoC.""")
self._scratch = CSRStorage(32, reset=0x12345678, description=""" self._scratch = CSRStorage(32, reset=0x12345678, description="""
This register is not used by LiteX, and is available Use this register as a scratch space to verify that software read/write accesses
for use as scratch space. For example, you can use to the Wishbone/CSR bus are working correctly. The initial reset value can be used
this register to ensure the Wishbone bus is working.""") to verify endianness.""")
self._bus_errors = CSRStatus(32, description=""" self._bus_errors = CSRStatus(32, description="""
A running total of the number of bus errors, such Total number of Wishbone bus errors (timeouts) since last reset.""")
as Wishbone timeouts.""")
# # # # # #