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.

12 lines
223 B

  1. template OpsLog() {
  2. signal input in[2];
  3. signal output and;
  4. signal output or;
  5. signal output not1;
  6. and <-- in[0] && in[1];
  7. or <-- in[0] || in[1];
  8. not1 <-- !in[0];
  9. }
  10. component main = OpsLog();