You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-`0x0034`: `SQ_VALUE` (rw) - Storage qualification match value
61
-
-`0x0038`: `SQ_MASK` (rw) - Storage qualification match mask
62
-
-`0x00D8`: `STARTUP_ARM` (rw) - Bit 0. When set, RESET leaves the core armed instead of idle. `STARTUP_ARM=1` in RTL changes the power-up default of this register so the bitstream can come up pre-armed immediately after configuration.
63
-
-`0x00DC`: `TRIG_HOLDOFF` (rw) - Trigger holdoff in sample-clock cycles (0..65535). Trigger hits are ignored for N cycles after ARM and after each segmented auto-rearm. Distinct from `TRIG_DELAY`.
64
-
-`0x00D4`: `TRIG_DELAY` (rw) - Post-trigger delay in sample-clock cycles (0..65535). When non-zero, the committed trigger sample is shifted N cycles after the trigger event, compensating for upstream pipeline latency. The pre/post-trigger sample counts and the buffer wrap behavior are unchanged — only the position of the "trigger" anchor moves forward.
-`0x0040+N*20+0`: `SEQ_STAGE_N_CFG` (rw) - See encoding below
74
-
-`0x0040+N*20+4`: `SEQ_STAGE_N_VALUE_A` (rw) - Comparator A match value
75
-
-`0x0040+N*20+8`: `SEQ_STAGE_N_MASK_A` (rw) - Comparator A mask
76
-
-`0x0040+N*20+12`: `SEQ_STAGE_N_VALUE_B` (rw) - Comparator B match value
77
-
-`0x0040+N*20+16`: `SEQ_STAGE_N_MASK_B` (rw) - Comparator B mask
40
+
41
+
| Address | Name | Access | Description |
42
+
|---------|------|--------|-------------|
43
+
|`0x0000`| VERSION | RO | Core identity and version: `[31:24]` major, `[23:16]` minor, `[15:0]` ASCII core ID `"LA"` (`0x4C41`). Hosts verify `VERSION[15:0]` before trusting any other ELA register. Current v0.4 value: `0x0004_4C41`. |
44
+
|`0x0004`| CTRL | RW | Control register; see [CTRL](#regmap-ctrl). |
45
+
|`0x0008`| STATUS | RO | Capture status; see [STATUS](#regmap-status). |
46
+
|`0x000C`| SAMPLE_W | RO | Sample width in bits. |
47
+
|`0x0010`| DEPTH | RO | Total capture depth in samples. |
|`0x002C`| BURST_PTR | WO | Write to initiate burst read from `start_ptr` via USER2. `bit[31]` selects source BRAM: `0` = sample data, `1` = timestamp data. Host timestamp burst readback sets `bit[31]=1`. |
55
+
|`0x0030`| SQ_MODE | RW | Storage qualification mode: 0=off, 1=value, 2=edge, 3=both. Active only when `STOR_QUAL=1`. |
56
+
|`0x0034`| SQ_VALUE | RW | Storage qualification match value. |
57
+
|`0x0038`| SQ_MASK | RW | Storage qualification match mask. |
58
+
|`0x003C`| FEATURES | RO | Feature flags: `[3:0]` = `TRIG_STAGES`, `[4]` = `STOR_QUAL`, other bits report optional build features. |
59
+
|`0x0040 + N*20 + 0`| SEQ_STAGE_N_CFG | RW | Sequencer stage N configuration; see [SEQ_STAGE_N_CFG encoding](#regmap-seq-cfg). |
60
+
|`0x0040 + N*20 + 4`| SEQ_STAGE_N_VALUE_A | RW | Sequencer stage N comparator A match value. |
61
+
|`0x0040 + N*20 + 8`| SEQ_STAGE_N_MASK_A | RW | Sequencer stage N comparator A mask. |
62
+
|`0x0040 + N*20 + 12`| SEQ_STAGE_N_VALUE_B | RW | Sequencer stage N comparator B match value. |
63
+
|`0x0040 + N*20 + 16`| SEQ_STAGE_N_MASK_B | RW | Sequencer stage N comparator B mask. |
64
+
|`0x00D4`| TRIG_DELAY | RW | Post-trigger delay in sample-clock cycles (0..65535). When non-zero, the committed trigger sample shifts N cycles after the trigger event. |
65
+
|`0x00D8`| STARTUP_ARM | RW | Bit 0. When set, RESET leaves the core armed instead of idle. `STARTUP_ARM=1` in RTL changes this register's power-up default. |
66
+
|`0x00DC`| TRIG_HOLDOFF | RW | Trigger holdoff in sample-clock cycles (0..65535). Trigger hits are ignored for N cycles after ARM and after segmented auto-rearm. |
67
+
|`0x00E0`| COMPARE_CAPS | RO | Compare capability bitmask. Bits 0-8 report compare modes. Bit 16 reports comparator B / dual-combine support when bit 17 is set. Bit 17 marks the extended capability schema; older bitstreams omit bit 17 and should be treated as dual-compare capable. |
68
+
|`0x0100 + word*4`| DATA | RO | USER1 sample data window. Present when `USER1_DATA_EN=1`; minimal USER2-only builds may disable this slow fallback window and return zero. |
Number of IN words = ⌈IN_W / 32⌉; number of OUT words = ⌈OUT_W / 32⌉.
171
+
172
+
| Address | Name | Access | Description |
173
+
|---------|------|--------|-------------|
174
+
|`0x0000`| VERSION | RO |`{major[7:0], minor[7:0], core_id[15:0]}` where `core_id` is ASCII `"IO"` (`0x494F`). Same encoding scheme as ELA VERSION. Hosts verify `VERSION[15:0]`. Current v0.4 value: `0x0004_494F`. |
0 commit comments