Files
powdr/test_data/asm/intermediate_nested.asm
Leandro Pacheco cea207ff3f Machine properties using with syntax (#1267)
This implements issue #1251.
Basically `machine Foo(a,b) { ... }` is now `machine Foo with latch: a,
operation_id: b { ... }`
2024-04-25 16:02:01 +00:00

13 lines
260 B
Rust

machine Intermediate with
latch: latch,
operation_id: operation_id,
{
col fixed latch = [1]*;
col fixed operation_id = [0]*;
col witness x;
col intermediate = x;
col int2 = intermediate * x;
col int3 = int2 + intermediate;
int3 = (3 * x) + x;
}