Registers

Summary of the regs interface’s registers

NameOffsetLengthDescription
rom_ctrl.ALERT_TEST0x04Alert Test Register
rom_ctrl.FATAL_ALERT_CAUSE0x44The cause of a fatal alert.
rom_ctrl.DIGEST_00x84The digest computed from the contents of ROM
rom_ctrl.DIGEST_10xc4The digest computed from the contents of ROM
rom_ctrl.DIGEST_20x104The digest computed from the contents of ROM
rom_ctrl.DIGEST_30x144The digest computed from the contents of ROM
rom_ctrl.DIGEST_40x184The digest computed from the contents of ROM
rom_ctrl.DIGEST_50x1c4The digest computed from the contents of ROM
rom_ctrl.DIGEST_60x204The digest computed from the contents of ROM
rom_ctrl.DIGEST_70x244The digest computed from the contents of ROM
rom_ctrl.EXP_DIGEST_00x284The expected digest, stored in the top words of ROM
rom_ctrl.EXP_DIGEST_10x2c4The expected digest, stored in the top words of ROM
rom_ctrl.EXP_DIGEST_20x304The expected digest, stored in the top words of ROM
rom_ctrl.EXP_DIGEST_30x344The expected digest, stored in the top words of ROM
rom_ctrl.EXP_DIGEST_40x384The expected digest, stored in the top words of ROM
rom_ctrl.EXP_DIGEST_50x3c4The expected digest, stored in the top words of ROM
rom_ctrl.EXP_DIGEST_60x404The expected digest, stored in the top words of ROM
rom_ctrl.EXP_DIGEST_70x444The expected digest, stored in the top words of ROM

ALERT_TEST

Alert Test Register

  • Offset: 0x0
  • Reset default: 0x0
  • Reset mask: 0x1

Fields

{"reg": [{"name": "fatal", "bits": 1, "attr": ["wo"], "rotate": -90}, {"bits": 31}], "config": {"lanes": 1, "fontsize": 10, "vspace": 80}}
BitsTypeResetNameDescription
31:1Reserved
0wo0x0fatalWrite 1 to trigger one alert event of this kind.

FATAL_ALERT_CAUSE

The cause of a fatal alert.

The bits of this register correspond to errors that can cause a fatal alert. Software can read these bits to see what went wrong. Once set, these bits cannot be cleared.

  • Offset: 0x4
  • Reset default: 0x0
  • Reset mask: 0x3

Fields

{"reg": [{"name": "checker_error", "bits": 1, "attr": ["ro"], "rotate": -90}, {"name": "integrity_error", "bits": 1, "attr": ["ro"], "rotate": -90}, {"bits": 30}], "config": {"lanes": 1, "fontsize": 10, "vspace": 170}}
BitsTypeResetNameDescription
31:2Reserved
1ro0x0integrity_errorSet on an integrity error from the register interface.
0ro0x0checker_errorSet on a fatal error detected by the ROM checker.

DIGEST

The digest computed from the contents of ROM

  • Reset default: 0x0
  • Reset mask: 0xffffffff

Instances

NameOffset
DIGEST_00x8
DIGEST_10xc
DIGEST_20x10
DIGEST_30x14
DIGEST_40x18
DIGEST_50x1c
DIGEST_60x20
DIGEST_70x24

Fields

{"reg": [{"name": "DIGEST", "bits": 32, "attr": ["ro"], "rotate": 0}], "config": {"lanes": 1, "fontsize": 10, "vspace": 80}}
BitsTypeResetNameDescription
31:0ro0x0DIGEST32 bits of the digest

EXP_DIGEST

The expected digest, stored in the top words of ROM

  • Reset default: 0x0
  • Reset mask: 0xffffffff

Instances

NameOffset
EXP_DIGEST_00x28
EXP_DIGEST_10x2c
EXP_DIGEST_20x30
EXP_DIGEST_30x34
EXP_DIGEST_40x38
EXP_DIGEST_50x3c
EXP_DIGEST_60x40
EXP_DIGEST_70x44

Fields

{"reg": [{"name": "DIGEST", "bits": 32, "attr": ["ro"], "rotate": 0}], "config": {"lanes": 1, "fontsize": 10, "vspace": 80}}
BitsTypeResetNameDescription
31:0ro0x0DIGEST32 bits of the digest

This interface does not expose any registers.