CTRL ==== Register Listing for CTRL ------------------------- +------------------------------------------+-------------------------------------+ | Register | Address | +==========================================+=====================================+ | :ref:`CTRL_RESET ` | :ref:`0x00000000 ` | +------------------------------------------+-------------------------------------+ | :ref:`CTRL_SCRATCH ` | :ref:`0x00000004 ` | +------------------------------------------+-------------------------------------+ | :ref:`CTRL_BUS_ERRORS ` | :ref:`0x00000008 ` | +------------------------------------------+-------------------------------------+ CTRL_RESET ^^^^^^^^^^ `Address: 0x00000000 + 0x0 = 0x00000000` .. wavedrom:: :caption: CTRL_RESET { "reg": [ {"name": "soc_rst", "type": 4, "bits": 1}, {"name": "cpu_rst", "bits": 1}, {"bits": 30} ], "config": {"hspace": 400, "bits": 32, "lanes": 4 }, "options": {"hspace": 400, "bits": 32, "lanes": 4} } +-------+---------+------------------------------------------------------------------------+ | Field | Name | Description | +=======+=========+========================================================================+ | [0] | SOC_RST | Write `1` to this register to reset the full SoC (Pulse Reset) | +-------+---------+------------------------------------------------------------------------+ | [1] | CPU_RST | Write `1` to this register to reset the CPU(s) of the SoC (Hold Reset) | +-------+---------+------------------------------------------------------------------------+ CTRL_SCRATCH ^^^^^^^^^^^^ `Address: 0x00000000 + 0x4 = 0x00000004` Use this register as a scratch space to verify that software read/write accesses to the Wishbone/CSR bus are working correctly. The initial reset value of 0x1234578 can be used to verify endianness. .. wavedrom:: :caption: CTRL_SCRATCH { "reg": [ {"name": "scratch[31:0]", "attr": 'reset: 305419896', "bits": 32} ], "config": {"hspace": 400, "bits": 32, "lanes": 1 }, "options": {"hspace": 400, "bits": 32, "lanes": 1} } CTRL_BUS_ERRORS ^^^^^^^^^^^^^^^ `Address: 0x00000000 + 0x8 = 0x00000008` Total number of Wishbone bus errors (timeouts) since start. .. wavedrom:: :caption: CTRL_BUS_ERRORS { "reg": [ {"name": "bus_errors[31:0]", "bits": 32} ], "config": {"hspace": 400, "bits": 32, "lanes": 1 }, "options": {"hspace": 400, "bits": 32, "lanes": 1} }