You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

9 lines
120 B

5 years ago
  1. template Add() {
  2. signal input in[2];
  3. signal output out;
  4. out <== in[0] + in[1];
  5. }
  6. component main = Add();