diff --git a/conformance/sv-tests/expected.tsv b/conformance/sv-tests/expected.tsv
index 6e2efb757e4..535226b7930 100644
--- a/conformance/sv-tests/expected.tsv
+++ b/conformance/sv-tests/expected.tsv
@@ -1607,8 +1607,8 @@ chapter-9/9.4.1--delay_control-two-blocks-sim.sv 2state pass
chapter-9/9.4.1--delay_control-two-blocks-sim.sv 4state pass
chapter-9/9.4.1--delay_control.sv 2state pass
chapter-9/9.4.1--delay_control.sv 4state pass
-chapter-9/9.4.2--event_control_edge.sv 2state fail
-chapter-9/9.4.2--event_control_edge.sv 4state fail
+chapter-9/9.4.2--event_control_edge.sv 2state pass
+chapter-9/9.4.2--event_control_edge.sv 4state pass
chapter-9/9.4.2--event_control_negedge.sv 2state pass
chapter-9/9.4.2--event_control_negedge.sv 4state pass
chapter-9/9.4.2--event_control_posedge.sv 2state pass
diff --git a/crates/celox-design/src/lib.rs b/crates/celox-design/src/lib.rs
index 50e687c8a08..7cb1572d8e2 100644
--- a/crates/celox-design/src/lib.rs
+++ b/crates/celox-design/src/lib.rs
@@ -842,6 +842,141 @@ pub struct RuntimeSchema {
/// most one per module instance. Before each round a timed scheduler
/// stores the current time into each, as [`TIME_SLOT_WIDTH`] bits.
pub time_slots: Vec,
+ /// The state a compiled scheduler exchanges with the runtime, and the
+ /// scheduler itself once one is generated. Present when the design has
+ /// process kernels.
+ pub scheduler: Option>,
+}
+
+/// Width of [`SchedulerSlots::limit`], [`SchedulerSlots::now`],
+/// [`SchedulerSlots::exit_arg`], [`SchedulerSlots::count`],
+/// [`SchedulerSlots::current`], [`SchedulerSlots::levels`] and every [`SchedulerSlots::wake`] object.
+pub const SCHEDULER_TIME_WIDTH: usize = 64;
+/// Width of [`SchedulerSlots::exit`], [`SchedulerSlots::finish`],
+/// [`SchedulerSlots::cont`] and every [`SchedulerSlots::waiting`] object.
+pub const SCHEDULER_FLAG_WIDTH: usize = 8;
+
+/// Hidden state objects through which a compiled scheduler and the runtime
+/// exchange a run of time slots. Between runs they hold no state: the
+/// runtime's scheduling state is the source of truth, so state files leave
+/// them out.
+#[derive(Clone, Debug, PartialEq, Eq, Hash, Serialize, Deserialize)]
+pub struct SchedulerSlots {
+ /// The last time the run may reach.
+ pub limit: A,
+ /// The time of the last slot the run reached.
+ pub now: A,
+ /// Why the run returned, a [`SchedulerExit`] code.
+ pub exit: A,
+ /// The process an exit concerns.
+ pub exit_arg: A,
+ /// Set when a `$finish` record was emitted in the unit just run.
+ pub finish: A,
+ /// Where a shared combinational settle continues.
+ pub cont: A,
+ /// The number of time slots the run ran.
+ pub count: A,
+ /// The kernel running when the run returned, `u64::MAX` for none.
+ pub current: A,
+ /// The levels of the event signals at the start of the last slot, one
+ /// bit per event in event order.
+ pub levels: A,
+ /// The time each process kernel resumes at, in kernel order, valid
+ /// where [`Self::waiting`] is set.
+ pub wake: Vec,
+ /// Whether each process kernel waits for its wake time.
+ pub waiting: Vec,
+}
+
+impl SchedulerSlots {
+ pub fn map(self, mut map: impl FnMut(A) -> B) -> SchedulerSlots {
+ SchedulerSlots {
+ limit: map(self.limit),
+ now: map(self.now),
+ exit: map(self.exit),
+ exit_arg: map(self.exit_arg),
+ finish: map(self.finish),
+ cont: map(self.cont),
+ count: map(self.count),
+ current: map(self.current),
+ levels: map(self.levels),
+ wake: self.wake.into_iter().map(&mut map).collect(),
+ waiting: self.waiting.into_iter().map(map).collect(),
+ }
+ }
+
+ /// Every slot.
+ pub fn iter(&self) -> impl Iterator- {
+ [
+ &self.limit,
+ &self.now,
+ &self.exit,
+ &self.exit_arg,
+ &self.finish,
+ &self.cont,
+ &self.count,
+ &self.current,
+ &self.levels,
+ ]
+ .into_iter()
+ .chain(&self.wake)
+ .chain(&self.waiting)
+ }
+}
+
+/// Why a run of the compiled scheduler returned.
+#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, Serialize, Deserialize)]
+#[repr(u8)]
+pub enum SchedulerExit {
+ /// The next time slot is after the limit.
+ Limit = 0,
+ /// A process or a `$finish` record finished the simulation.
+ Finish = 1,
+ /// The delay of process [`SchedulerSlots::exit_arg`] overflows the
+ /// simulation time.
+ DelayOverflow = 2,
+ /// A process suspended in a way the scheduler does not compile.
+ Internal = 3,
+}
+
+impl SchedulerExit {
+ pub const fn from_code(code: u8) -> Option {
+ match code {
+ 0 => Some(Self::Limit),
+ 1 => Some(Self::Finish),
+ 2 => Some(Self::DelayOverflow),
+ 3 => Some(Self::Internal),
+ _ => None,
+ }
+ }
+}
+
+/// A design's compiled scheduler: the process unit that runs time slots of
+/// the kernels it compiles, and its slots.
+#[derive(Clone, Debug, PartialEq, Eq, Hash, Serialize, Deserialize)]
+pub struct SchedulerSchema {
+ pub slots: SchedulerSlots,
+ /// The index of the scheduler unit among the process units, after the
+ /// kernels; `None` when no scheduler was generated.
+ pub unit: Option,
+ /// Per process kernel, why the scheduler does not run it, or `None` when
+ /// it does.
+ pub fallback: Vec