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.

18 lines
267 B

  1. template Internal() {
  2. signal input in;
  3. signal output out;
  4. out <== in;
  5. }
  6. template InOut() {
  7. signal input in;
  8. signal output out;
  9. component internal = Internal();
  10. internal.in <== in;
  11. internal.out ==> out;
  12. }
  13. component main = InOut();