@specy/risc-v 3.0.0 → 3.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -282,7 +282,16 @@ declare enum BackStepAction {
282
282
  CONTROL_AND_STATUS_REGISTER_RESTORE = 7,
283
283
  CONTROL_AND_STATUS_REGISTER_BACKDOOR = 8,
284
284
  FLOATING_POINT_REGISTER_RESTORE = 9,
285
- DO_NOTHING = 10
285
+ DO_NOTHING = 10,
286
+ /**
287
+ * Undoes one instruction's worth of the `cycle` and `instret` counters. The simulator adds one
288
+ * to each of them per instruction and nothing else writes them, so a single entry without
289
+ * parameters covers both.
290
+ *
291
+ * Members mirror the core's `BackStepper.Action` by position, because the core reports an
292
+ * action as that enum's ordinal. Append here; never insert.
293
+ */
294
+ CONTROL_AND_STATUS_COUNTERS_DECREMENT = 11
286
295
  }
287
296
  /**
288
297
  * Represents a back step in the simulation undo stack.
package/dist/index.d.ts CHANGED
@@ -282,7 +282,16 @@ declare enum BackStepAction {
282
282
  CONTROL_AND_STATUS_REGISTER_RESTORE = 7,
283
283
  CONTROL_AND_STATUS_REGISTER_BACKDOOR = 8,
284
284
  FLOATING_POINT_REGISTER_RESTORE = 9,
285
- DO_NOTHING = 10
285
+ DO_NOTHING = 10,
286
+ /**
287
+ * Undoes one instruction's worth of the `cycle` and `instret` counters. The simulator adds one
288
+ * to each of them per instruction and nothing else writes them, so a single entry without
289
+ * parameters covers both.
290
+ *
291
+ * Members mirror the core's `BackStepper.Action` by position, because the core reports an
292
+ * action as that enum's ordinal. Append here; never insert.
293
+ */
294
+ CONTROL_AND_STATUS_COUNTERS_DECREMENT = 11
286
295
  }
287
296
  /**
288
297
  * Represents a back step in the simulation undo stack.