mirror of
https://github.com/arnaucube/circom.git
synced 2026-02-07 11:16:42 +01:00
15 lines
183 B
Plaintext
15 lines
183 B
Plaintext
template X() {
|
|
signal input i;
|
|
signal input j;
|
|
signal output out;
|
|
|
|
if (i == 0) {
|
|
out <-- i;
|
|
}
|
|
else {
|
|
out <-- j;
|
|
}
|
|
}
|
|
|
|
component main = X();
|