isp_conv: Register Map¶
Generated by tools/regmap.py from hdl/isp_conv/regs/isp_conv_regs.yml, do not edit. The same description generates
the VHDL package isp_conv_regs_pkg and the C header sw/isp_conv_regs.h; tools/regmap.py --check compares it with
the register table of the specification.
Registers of the linear kernel: identification, characteristics, control, status, error injection and the coefficients (read only with RuntimeCoef_g false). Byte addresses of 32-bit registers on the AXI4-Lite slave (12-bit address); unused addresses and bits read as zero, and every access is answered with OKAY.
| Access | Meaning |
|---|---|
| RO | Read only |
| RW | Read and write |
| W | Write only, the argument of a command; reads as zero |
| W1 | Write one: command; reads as zero |
| W1C | Sticky flag; write one to clear |
Registers¶
| Address | Register | Description |
|---|---|---|
| 0x00 | ID | Identification |
| 0x04 | PARAM | Characteristics |
| 0x08 | CTRL | Control |
| 0x0C | STATUS | Status |
| 0x10 | INJECT | Error injection for the test of the error handling |
| 0x100 + 4 x k | COEF | Coefficient of element k |
COEF[k], k = 0 to T - 1 (T = WinX_g x WinY_g), at 0x100 + 4 x k.
Fields¶
ID¶
Address 0x00: Identification.
| Bits | Field | Access | Reset | Description |
|---|---|---|---|---|
| 31:0 | ID | RO | 0x434E5601 | 0x434E56 (CNV) and register map version 1 |
PARAM¶
Address 0x04: Characteristics.
| Bits | Field | Access | Reset | Description |
|---|---|---|---|---|
| 29:24 | PIXEL_BITS | RO | PixelBits_g | Bits per pixel of the window |
| 20:16 | COEF_BITS | RO | CoefBits_g | Bits of a coefficient |
| 12:8 | WIN_Y | RO | WinY_g | Lines of the window |
| 4:0 | WIN_X | RO | WinX_g | Columns of the window |
CTRL¶
Address 0x08: Control.
| Bits | Field | Access | Reset | Description |
|---|---|---|---|---|
| 0 | HOLD | RW | 0 | 1: the image starts do not take the coefficient registers; with a wrong parity bit of CTRL it counts as 0 |
STATUS¶
Address 0x0C: Status.
| Bits | Field | Access | Reset | Description |
|---|---|---|---|---|
| 9 | ERR_CONFIG | W1C | 0 | Set by every pulse of Err_Config |
INJECT¶
Address 0x10: Error injection for the test of the error handling.
| Bits | Field | Access | Reset | Description |
|---|---|---|---|---|
| 15:8 | INDEX | W | 0 | Coefficient whose parity bit a write of PARITY inverts; an index of T or above has no effect |
| 1 | CTRL_PARITY | W1 | 0 | Write one: inverts the parity bit of CTRL |
| 0 | PARITY | W1 | 0 | Write one: inverts the parity bit of COEF[INDEX] |
COEF¶
Address 0x100 + 4 x k: Coefficient of element k.
| Bits | Field | Access | Reset | Description |
|---|---|---|---|---|
| 17:0 | COEF | RW | Coef_g(k) | Coefficient (two's complement, CoefBits_g bits); reads sign-extended to 32 bits |