Skip to content

Shankara/picus backend#442

Merged
eigmax merged 32 commits intoProjectZKM:pre-release-v1.2.5from
Veridise:shankara/picus-backend
Mar 11, 2026
Merged

Shankara/picus backend#442
eigmax merged 32 commits intoProjectZKM:pre-release-v1.2.5from
Veridise:shankara/picus-backend

Conversation

@shankarapailoor
Copy link
Copy Markdown
Contributor

This PR adds a Picus backend for Ziren which allows developers to check the determinism of their circuits with Picus

Comment thread crates/core/machine/src/alu/mul/mod.rs
@shankarapailoor shankarapailoor force-pushed the shankara/picus-backend branch from 970f5ad to f19fbd1 Compare March 2, 2026 22:56
@shankarapailoor shankarapailoor force-pushed the shankara/picus-backend branch from 2221154 to 434b6a8 Compare March 3, 2026 23:16
@eigmax eigmax changed the base branch from main to pre-release-v1.2.5 March 11, 2026 17:02
.when(local.is_branching)
.assert_word_eq(local.target_pc, local.next_next_pc);

builder.when(is_real.clone()).assert_eq(
Copy link
Copy Markdown
Member

@eigmax eigmax Mar 11, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is redundant.
In the CPU chip, we already have:

builder
.when_first_row()
.when_not(local.is_halt)
.assert_eq(local.pc + AB::Expr::from_canonical_u32(4), local.next_pc);

In current chip, local.next_pc is constrained by line 119 from the previous row.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks yeah i forgot to remove.

@eigmax eigmax merged commit cacd740 into ProjectZKM:pre-release-v1.2.5 Mar 11, 2026
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.

3 participants