From 8f1dadc65b6bfb7cd04e017808cfaaa10f0ef0a0 Mon Sep 17 00:00:00 2001 From: tignear Date: Sun, 25 Oct 2026 06:26:49 +0900 Subject: [PATCH] test(sim): check coincident ticks of a commit-raised gate against Icarus #1901 made the timed reference judge the clock that a commit raises in a coincident batch, so the case ignored for #1860 runs again and the coincident tick case compares e with Icarus as well. Change-Id: I7db65ce79aac62ff193b96f679321bf9b4dc9be0 --- crates/celox/tests/tick_semantics.rs | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/crates/celox/tests/tick_semantics.rs b/crates/celox/tests/tick_semantics.rs index e25afb59e0f..e42cd2555d0 100644 --- a/crates/celox/tests/tick_semantics.rs +++ b/crates/celox/tests/tick_semantics.rs @@ -246,20 +246,17 @@ const COINCIDENT: [Op; 5] = [ Op::Tick(&["clk"]), ]; -/// Coincident ticks sample each other's values from before the edge. The -/// commit-raised gate's domain (`e`) is checked against Icarus below until -/// the timed reference sees its edge in a coincident batch (#1860). +/// Coincident ticks sample each other's values from before the edge. #[test] fn ticks_of_several_events_are_coincident() { - check_except(&COINCIDENT, &["e"]); + check(&COINCIDENT); } /// At the second coincident tick `clk` rises while `ren` is already high, so /// `rclk` rises in the active region and `e` counts: Icarus 13.0 gives -/// `e` = 0 0 1 2 3 after the operations. The timed reference gives 0 0 1 1 2 -/// (#1860); both `Simulator` paths agree with Icarus. +/// `e` = 0 0 1 2 3 after the operations, and so do the timed reference +/// (#1860) and both `Simulator` paths. #[test] -#[ignore = "#1860"] fn coincident_ticks_run_the_domain_of_a_gate_the_commit_raised() { let e = OUTPUTS.iter().position(|name| *name == "e").unwrap(); let values = |rows: Vec>| rows.iter().map(|row| row[e]).collect::>();