Skip to content

isp_point: Register Map

Generated by tools/regmap.py from hdl/isp_point/regs/isp_point_regs.yml, do not edit. The same description generates the VHDL package isp_point_regs_pkg and the C header sw/isp_point_regs.h; tools/regmap.py --check compares it with the register table of the specification.

Registers of the pixel operation: identification, dimensions and widths, control, status, error injection and the parameter set (read only with Runtime_g false). 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 image
0x08 PARAM Widths and the largest shift
0x0C CTRL Control
0x10 STATUS Status
0x14 INJECT Error injection for the test of the error handling
0x18 OFFSET_LO Offset, bits 31 to 0
0x1C OFFSET_HI Offset, bits 63 to 32
0x20 GAIN Gain
0x24 SHIFT Shift
0x28 LOW Lower threshold
0x2C HIGH Upper threshold

Fields

ID

Address 0x00: Identification.

Bits Field Access Reset Description
31:0 ID RO 0x504E5401 0x504E54 (PNT) and register map version 1

IMAGE

Address 0x04: Dimensions of the image.

Bits Field Access Reset Description
31:16 HEIGHT_M1 RO ImageHeight_g - 1 Lines per image, minus one
15:0 WIDTH_M1 RO ImageWidth_g - 1 Pixels per line, minus one

PARAM

Address 0x08: Widths and the largest shift.

Bits Field Access Reset Description
30:24 MAX_SHIFT RO MaxShift_g Largest shift
20:16 GAIN_BITS RO GainBits_g Bits of the gain
13:8 OUT_BITS RO OutBits_g Bits per output pixel
6:0 IN_BITS RO InBits_g Bits per input pixel

CTRL

Address 0x0C: Control.

Bits Field Access Reset Description
0 HOLD RW 0 1: the image starts do not take the parameter registers; with a wrong parity bit of CTRL it counts as 0

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
6:0 PARITY W1 0 Write one to bit n: inverts the parity bit of OFFSET_LO (bit 0), OFFSET_HI (1), GAIN (2), SHIFT (3), LOW (4), HIGH (5), CTRL (6)

OFFSET_LO

Address 0x18: Offset, bits 31 to 0.

Bits Field Access Reset Description
31:0 OFFSET RW Offset_g Bits 31:0 of the offset (two's complement); the bits above the offset width are not stored and read as the sign

OFFSET_HI

Address 0x1C: Offset, bits 63 to 32.

Bits Field Access Reset Description
31:0 OFFSET RW Sign of Offset_g Bits 63:32 of the offset; the bits above the offset width are not stored and read as the sign

GAIN

Address 0x20: Gain.

Bits Field Access Reset Description
17:0 GAIN RW Gain_g Gain; the bits above GainBits_g - 1 are not stored and read as 0

SHIFT

Address 0x24: Shift.

Bits Field Access Reset Description
6:0 SHIFT RW Shift_g Shift; a value above MaxShift_g is taken as MaxShift_g

LOW

Address 0x28: Lower threshold.

Bits Field Access Reset Description
31:0 LOW RW Low_g Lower threshold; the bits above OutBits_g - 1 are not stored and read as 0

HIGH

Address 0x2C: Upper threshold.

Bits Field Access Reset Description
31:0 HIGH RW High_g, 2^OutBits_g - 1 for -1 Upper threshold; the bits above OutBits_g - 1 are not stored and read as 0