| test | This block the top leve test bech | ||||||
|---|---|---|---|---|---|---|---|
| Register Name | Byte Addr Offset | Field | Bits | Type | subtype | Reset | Description |
| CSR_TEST_CONTROL | 0x0 | 4 | Testbench simulation control | ||||
| ERROR | 0 | w | 0 | Set error state | |||
| DO_STOP | 1 | w | 0 | Request simulation to stop | |||
| DO_FINISH | 2 | w | 0 | Request simulation to finish | |||
| PARTIAL_TEST | 3 | w | 0 | Flag that not all tests were run | |||
| CSR_TEST_TIME_COUNT | 0x4 | 32 | r | 0 | System clock timing counter | ||
| CSR_TEST_TIMEOUT | 0x8 | 31 | w | 10000000 | Simulation timeout (in clock cycles) | ||
| CSR_TEST_CONFIG_CLK_FREQ | 0xc | 9 | r | 0 | Clock frequency configuration values | ||
| CSR_TEST_SCRATCH | 0x74 | 32 | w | 0 | Scratch Reg to debug sim | ||
| CSR_TEST_UART_PEI_DATA_OUT | 0x78 | 8 | wp | 0 | Uart Data out. Writes Data to PEI | ||
| CSR_TEST_UART_PEI_DATA_IN | 0x7c | 8 | r | 0 | Uart Data In received from PEI UART | ||
| CSR_TEST_UART_PEI_STATUS | 0x80 | 3 | Uart status Register | ||||
| ACK_W | 0 | r | 0 | Acknowledge write | |||
| READ_AVAILABLE | 1 | r | 0 | Read data available (write ACK R to reset) | |||
| ACK_R | 2 | w0 | 0 | Acknowledge read data | |||
Register/field type key:
| Type | Description |
|---|---|
| c | Constant, with value defined by "reset" attribute |
| rsv | Same as constant, except no reset value and always 0. Can be mixed with write types. |
| w | Write register (and read—no write only type). Register defined in register block and reset to "reset" attribute value. Split into fields (if applicable) for signalling and output, where attribute associated with fields, not register. |
| wp | Write with pulse. Register is not declared in block, but write bus split into fields as output port signals, and a pulse generated on write to register address. Register reads back 0. The "reset" attribute is for documentation only, as set externally. |
| w0 | Same as w, but auto-clears to 0 (and thus always reads as 0). At output port, signal will go high for one cycle when bit is written with a 1 (no effect if written to a 0). No "reset" attribute, as must always be 0. |
| r | Read only value. Input ports generated for each field (where applicable), and concatenated on returned read data bus. |
| rp | Similar to r, but a pulse generated on a read access to the register address to allow peripheral logic to update value. The "reset" attribute is for documentation only, as set externally. |
| rwp | Similar to wp, but also generates a (separate) pulse on a read access to the register |
| bitdef | Defines the bits used in the read, set, clear registers |
| Subype | Description |
| unsigned | Register/field is specified as an unsigned value. |
| signed | Register/field is specified as a signed value. |
| <blank> | Register/field sign status is not explicitly defined and defaults to unsigned. |
Copyright © 2026 Global Inkjet Systems. Generated by gen_htm.py —2026-11-13 21:11