data/full_repos/permissive/100331186/tarea4/modulos/ternarioDoble.v
1: b"%Error: data/full_repos/permissive/100331186/tarea4/modulos/ternarioDoble.v:24: Duplicate declaration of signal: 'a'\n                                                                              : ... note: ANSI ports must have type declared with the I/O (IEEE 1800-2017 23.2.2.2)\n  wire a, b, c, s1, s2, y;\n       ^\n        data/full_repos/permissive/100331186/tarea4/modulos/ternarioDoble.v:15: ... Location of original declaration\n  input a,\n        ^\n%Error: data/full_repos/permissive/100331186/tarea4/modulos/ternarioDoble.v:24: Duplicate declaration of signal: 'b'\n  wire a, b, c, s1, s2, y;\n          ^\n        data/full_repos/permissive/100331186/tarea4/modulos/ternarioDoble.v:16: ... Location of original declaration\n  input b,\n        ^\n%Error: data/full_repos/permissive/100331186/tarea4/modulos/ternarioDoble.v:24: Duplicate declaration of signal: 'c'\n  wire a, b, c, s1, s2, y;\n             ^\n        data/full_repos/permissive/100331186/tarea4/modulos/ternarioDoble.v:17: ... Location of original declaration\n  input c,\n        ^\n%Error: data/full_repos/permissive/100331186/tarea4/modulos/ternarioDoble.v:24: Duplicate declaration of signal: 's1'\n  wire a, b, c, s1, s2, y;\n                ^~\n        data/full_repos/permissive/100331186/tarea4/modulos/ternarioDoble.v:18: ... Location of original declaration\n  input s1,\n        ^~\n%Error: data/full_repos/permissive/100331186/tarea4/modulos/ternarioDoble.v:24: Duplicate declaration of signal: 's2'\n  wire a, b, c, s1, s2, y;\n                    ^~\n        data/full_repos/permissive/100331186/tarea4/modulos/ternarioDoble.v:19: ... Location of original declaration\n  input s2,\n        ^~\n%Error: data/full_repos/permissive/100331186/tarea4/modulos/ternarioDoble.v:24: Duplicate declaration of signal: 'y'\n  wire a, b, c, s1, s2, y;\n                        ^\n        data/full_repos/permissive/100331186/tarea4/modulos/ternarioDoble.v:20: ... Location of original declaration\n  output y\n         ^\n%Error: Exiting due to 6 error(s)\n"
module ternarioDoble (
  input a,
  input b,
  input c,
  input s1,
  input s2,
  output y
);


  wire a, b, c, s1, s2, y;



  wire mux1__mux2;

  parameter notoe = 1'b0;


  mux mux1(
    .s(s1),
    .a({b, a}),
    .notoe(notoe),
    .y(mux1__mux2)
  );


  mux mux2(
    .s(s2),
    .a({c, mux1__mux2}),
    .notoe(notoe),
    .y(y)
  );
endmodule
module ternarioDoble (
  input a,
  input b,
  input c,
  input s1,
  input s2,
  output y
);



  wire a, b, c, s1, s2, y;



  wire mux1__mux2;

  parameter notoe = 1'b0;


  mux mux1(
    .s(s1),
    .a({b, a}),
    .notoe(notoe),
    .y(mux1__mux2)
  );


  mux mux2(
    .s(s2),
    .a({c, mux1__mux2}),
    .notoe(notoe),
    .y(y)
  );
endmodule