Skip to content

[LTL] Make PastOp clock operand mandatory#10392

Open
TaoBi22 wants to merge 1 commit intomainfrom
TaoBi22/ltl-pastop-mandatory-clk
Open

[LTL] Make PastOp clock operand mandatory#10392
TaoBi22 wants to merge 1 commit intomainfrom
TaoBi22/ltl-pastop-mandatory-clk

Conversation

@TaoBi22
Copy link
Copy Markdown
Contributor

@TaoBi22 TaoBi22 commented May 6, 2026

The implicit clocking of ltl.past complicates lowering as it leaves you having to infer the op's clocking behaviour from context. Since as of #10370 we no longer create any PastOps without an explicit clock, this makes the clock operand mandatory avoid implicit clocking behaviour. This requires a few changes to the FIRRTL intrinsic too - please let me know if that's likely to cause any problems.

Note that this leaves assume-first-clock in LTLToCore redundant - I'll remove it in a follow-up since it seems that the other implicitly clocked ops are also shifting to an explicit model too (e.g. #9392 and follow-ups)

@TaoBi22 TaoBi22 requested a review from fabianschuiki May 6, 2026 09:28
@fabianschuiki
Copy link
Copy Markdown
Contributor

Results of circt-tests run for 34e393b compared to results for 5ae6aef: no change to test results.

@TaoBi22
Copy link
Copy Markdown
Contributor Author

TaoBi22 commented May 7, 2026

Marking as draft until Chisel's been updated to not emit implicitly clocked past intrinsics.

@TaoBi22 TaoBi22 marked this pull request as draft May 7, 2026 09:42
@TaoBi22 TaoBi22 marked this pull request as ready for review May 7, 2026 21:22
@TaoBi22
Copy link
Copy Markdown
Contributor Author

TaoBi22 commented May 7, 2026

Marking as draft until Chisel's been updated to not emit implicitly clocked past intrinsics.

Fixed in Chisel as of cb507359fad35be779d28acc2ad910be0bb21172

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants