isp_crop: Register Map¶
Generated by tools/regmap.py from hdl/isp_crop/regs/isp_crop_regs.yml, do not edit. The same description generates
the VHDL package isp_crop_regs_pkg and the C header sw/isp_crop_regs.h; tools/regmap.py --check compares it with
the register table of the specification.
Registers of the region of interest: identification, dimensions, position, status and error injection. Byte addresses of 32-bit registers on the AXI4-Lite slave (8-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 |
| W1 | Write one: command; reads as zero |
| W1C | Sticky flag; write one to clear |
Registers¶
| Address | Register | Description |
|---|---|---|
| 0x00 | ID | Identification |
| 0x04 | IMAGE | Dimensions of the input image |
| 0x08 | ROI_SIZE | Size of the region of interest, the output image |
| 0x0C | ROI_POS | Position of the region, read with every image start (read only with RuntimeRoi_g false) |
| 0x10 | STATUS | Status |
| 0x14 | INJECT | Error injection for the test of the error handling |
Fields¶
ID¶
Address 0x00: Identification.
| Bits | Field | Access | Reset | Description |
|---|---|---|---|---|
| 31:0 | ID | RO | 0x43525001 | 0x435250 (CRP) and register map version 1 |
IMAGE¶
Address 0x04: Dimensions of the input image.
| Bits | Field | Access | Reset | Description |
|---|---|---|---|---|
| 31:16 | HEIGHT_M1 | RO | ImageHeight_g - 1 | Lines of the input image, minus one |
| 15:0 | WIDTH_M1 | RO | ImageWidth_g - 1 | Pixels per line of the input image, minus one |
ROI_SIZE¶
Address 0x08: Size of the region of interest, the output image.
| Bits | Field | Access | Reset | Description |
|---|---|---|---|---|
| 31:16 | HEIGHT_M1 | RO | RoiHeight_g - 1 | Lines of the region, minus one |
| 15:0 | WIDTH_M1 | RO | RoiWidth_g - 1 | Pixels per line of the region, minus one |
ROI_POS¶
Address 0x0C: Position of the region, read with every image start (read only with RuntimeRoi_g false).
| Bits | Field | Access | Reset | Description |
|---|---|---|---|---|
| 31:16 | Y | RW | RoiY_g | Line of the first pixel of the region |
| 15:0 | X | RW | RoiX_g | Column of the first pixel of the region |
STATUS¶
Address 0x10: Status.
| Bits | Field | Access | Reset | Description |
|---|---|---|---|---|
| 9 | ERR_CONFIG | W1C | 0 | Set by every pulse of Err_Config |
| 8 | ERR_FRAMING | W1C | 0 | Set by every pulse of Err_Framing |
| 0 | IMAGE_OPEN | RO | 0 | An input image is open (Stat_ImageOpen) |
INJECT¶
Address 0x14: Error injection for the test of the error handling.
| Bits | Field | Access | Reset | Description |
|---|---|---|---|---|
| 0 | ROI_POS_PARITY | W1 | 0 | Write one: inverts the parity bit of ROI_POS |