data/full_repos/permissive/100331186/tarea3/pruebas/testMux.v
 line:244: before: "/"
1: b'%Error: data/full_repos/permissive/100331186/tarea3/pruebas/testMux.v:23: Cannot find include file: modulos/mux.v\n`include "modulos/mux.v" \n         ^~~~~~~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/100331186/tarea3/pruebas,data/full_repos/permissive/100331186/modulos/mux.v\n             data/full_repos/permissive/100331186/tarea3/pruebas,data/full_repos/permissive/100331186/modulos/mux.v.v\n             data/full_repos/permissive/100331186/tarea3/pruebas,data/full_repos/permissive/100331186/modulos/mux.v.sv\n             modulos/mux.v\n             modulos/mux.v.v\n             modulos/mux.v.sv\n             obj_dir/modulos/mux.v\n             obj_dir/modulos/mux.v.v\n             obj_dir/modulos/mux.v.sv\n%Error: data/full_repos/permissive/100331186/tarea3/pruebas/testMux.v:28: Unsupported or unknown PLI call: $dumpfile\n    $dumpfile("tests/testMux.vcd");\n    ^~~~~~~~~\n%Error: data/full_repos/permissive/100331186/tarea3/pruebas/testMux.v:29: Unsupported or unknown PLI call: $dumpvars\n    $dumpvars(0, testMux);\n    ^~~~~~~~~\n%Error: data/full_repos/permissive/100331186/tarea3/pruebas/testMux.v:40: Unsupported or unknown PLI call: $monitor\n    $monitor("%t | %b  | %b  | %b |  %b  | %b | %f ns", $time, s, a[0], a[1], notoe, y, retardo);\n    ^~~~~~~~\n%Warning-STMTDLY: data/full_repos/permissive/100331186/tarea3/pruebas/testMux.v:49: Unsupported: Ignoring delay on this delayed statement.\n    # 1000 s = 0;\n    ^\n                  ... Use "/* verilator lint_off STMTDLY */" and lint_on around source to disable this message.\n%Warning-STMTDLY: data/full_repos/permissive/100331186/tarea3/pruebas/testMux.v:50: Unsupported: Ignoring delay on this delayed statement.\n    # 0 a = 2\'b10;\n    ^\n%Warning-STMTDLY: data/full_repos/permissive/100331186/tarea3/pruebas/testMux.v:51: Unsupported: Ignoring delay on this delayed statement.\n    # 0 notoe = 0;\n    ^\n%Warning-STMTDLY: data/full_repos/permissive/100331186/tarea3/pruebas/testMux.v:52: Unsupported: Ignoring delay on this delayed statement.\n    # 0 retardo = 0;\n    ^\n%Warning-STMTDLY: data/full_repos/permissive/100331186/tarea3/pruebas/testMux.v:53: Unsupported: Ignoring delay on this delayed statement.\n    # 0 inicio = $realtime;\n    ^\n%Warning-STMTDLY: data/full_repos/permissive/100331186/tarea3/pruebas/testMux.v:55: Unsupported: Ignoring delay on this delayed statement.\n    # 1000 s = 1;\n    ^\n%Warning-STMTDLY: data/full_repos/permissive/100331186/tarea3/pruebas/testMux.v:56: Unsupported: Ignoring delay on this delayed statement.\n    # 0 a = 2\'b10;\n    ^\n%Warning-STMTDLY: data/full_repos/permissive/100331186/tarea3/pruebas/testMux.v:57: Unsupported: Ignoring delay on this delayed statement.\n    # 0 notoe = 0;\n    ^\n%Warning-STMTDLY: data/full_repos/permissive/100331186/tarea3/pruebas/testMux.v:58: Unsupported: Ignoring delay on this delayed statement.\n    # 0 retardo = 0;\n    ^\n%Warning-STMTDLY: data/full_repos/permissive/100331186/tarea3/pruebas/testMux.v:59: Unsupported: Ignoring delay on this delayed statement.\n    # 0 inicio = $realtime;\n    ^\n%Warning-STMTDLY: data/full_repos/permissive/100331186/tarea3/pruebas/testMux.v:61: Unsupported: Ignoring delay on this delayed statement.\n    # 1000 s = 1;\n    ^\n%Warning-STMTDLY: data/full_repos/permissive/100331186/tarea3/pruebas/testMux.v:62: Unsupported: Ignoring delay on this delayed statement.\n    # 0 a = 2\'b01;\n    ^\n%Warning-STMTDLY: data/full_repos/permissive/100331186/tarea3/pruebas/testMux.v:63: Unsupported: Ignoring delay on this delayed statement.\n    # 0 notoe = 0;\n    ^\n%Warning-STMTDLY: data/full_repos/permissive/100331186/tarea3/pruebas/testMux.v:64: Unsupported: Ignoring delay on this delayed statement.\n    # 0 retardo = 0;\n    ^\n%Warning-STMTDLY: data/full_repos/permissive/100331186/tarea3/pruebas/testMux.v:65: Unsupported: Ignoring delay on this delayed statement.\n    # 0 inicio = $realtime;\n    ^\n%Warning-STMTDLY: data/full_repos/permissive/100331186/tarea3/pruebas/testMux.v:67: Unsupported: Ignoring delay on this delayed statement.\n    # 1000 s = 0;\n    ^\n%Warning-STMTDLY: data/full_repos/permissive/100331186/tarea3/pruebas/testMux.v:68: Unsupported: Ignoring delay on this delayed statement.\n    # 0 a = 2\'b01;\n    ^\n%Warning-STMTDLY: data/full_repos/permissive/100331186/tarea3/pruebas/testMux.v:69: Unsupported: Ignoring delay on this delayed statement.\n    # 0 notoe = 0;\n    ^\n%Warning-STMTDLY: data/full_repos/permissive/100331186/tarea3/pruebas/testMux.v:70: Unsupported: Ignoring delay on this delayed statement.\n    # 0 retardo = 0;\n    ^\n%Warning-STMTDLY: data/full_repos/permissive/100331186/tarea3/pruebas/testMux.v:71: Unsupported: Ignoring delay on this delayed statement.\n    # 0 inicio = $realtime;\n    ^\n%Warning-STMTDLY: data/full_repos/permissive/100331186/tarea3/pruebas/testMux.v:73: Unsupported: Ignoring delay on this delayed statement.\n    # 1000 s = 0;\n    ^\n%Warning-STMTDLY: data/full_repos/permissive/100331186/tarea3/pruebas/testMux.v:74: Unsupported: Ignoring delay on this delayed statement.\n    # 0 a = 2\'b01;\n    ^\n%Warning-STMTDLY: data/full_repos/permissive/100331186/tarea3/pruebas/testMux.v:75: Unsupported: Ignoring delay on this delayed statement.\n    # 0 notoe = 1;\n    ^\n%Warning-STMTDLY: data/full_repos/permissive/100331186/tarea3/pruebas/testMux.v:76: Unsupported: Ignoring delay on this delayed statement.\n    # 0 retardo = 0;\n    ^\n%Warning-STMTDLY: data/full_repos/permissive/100331186/tarea3/pruebas/testMux.v:77: Unsupported: Ignoring delay on this delayed statement.\n    # 0 inicio = $realtime;\n    ^\n%Warning-STMTDLY: data/full_repos/permissive/100331186/tarea3/pruebas/testMux.v:79: Unsupported: Ignoring delay on this delayed statement.\n    # 1000 $finish;\n    ^\n%Error: Exiting due to 4 error(s), 26 warning(s)\n'
module testMux;
  initial begin
    $display ("testMux");
    $dumpfile("tests/testMux.vcd");
    $dumpvars(0, testMux);
  end

  reg s, notoe;
  reg [1:0] a;
  wire y;

  realtime inicio, retardo;

  initial begin
    inicio = $realtime;
    $monitor("%t | %b  | %b  | %b |  %b  | %b | %f ns", $time, s, a[0], a[1], notoe, y, retardo);

    $display("------------------------------------------");
    $display("Test para el MUX");
    $display("---------------------+----+----+---+-----+---+--------");
    $display("              Tiempo | a1 | a2 | s | ~oe | y | Retardo");
    $display("---------------------+----+----+---+-----+---+--------");


    # 1000 s = 0;
    # 0 a = 2'b10;
    # 0 notoe = 0;
    # 0 retardo = 0;
    # 0 inicio = $realtime;

    # 1000 s = 1;
    # 0 a = 2'b10;
    # 0 notoe = 0;
    # 0 retardo = 0;
    # 0 inicio = $realtime;

    # 1000 s = 1;
    # 0 a = 2'b01;
    # 0 notoe = 0;
    # 0 retardo = 0;
    # 0 inicio = $realtime;

    # 1000 s = 0;
    # 0 a = 2'b01;
    # 0 notoe = 0;
    # 0 retardo = 0;
    # 0 inicio = $realtime;

    # 1000 s = 0;
    # 0 a = 2'b01;
    # 0 notoe = 1;
    # 0 retardo = 0;
    # 0 inicio = $realtime;

    # 1000 $finish;
  end

  always @ (y) begin
    retardo = $realtime-inicio;
  end

  mux mux1 (.s(s), .a(a), .notoe(notoe), .y(y));
endmodule
module testMux;

  initial begin
    $display ("testMux");
    $dumpfile("tests/testMux.vcd");
    $dumpvars(0, testMux);
  end

  reg s, notoe;
  reg [1:0] a;
  wire y;

  realtime inicio, retardo;

  initial begin
    inicio = $realtime;
    $monitor("%t | %b  | %b  | %b |  %b  | %b | %f ns", $time, s, a[0], a[1], notoe, y, retardo);

    $display("------------------------------------------");
    $display("Test para el MUX");
    $display("---------------------+----+----+---+-----+---+--------");
    $display("              Tiempo | a1 | a2 | s | ~oe | y | Retardo");
    $display("---------------------+----+----+---+-----+---+--------");


    # 1000 s = 0;
    # 0 a = 2'b10;
    # 0 notoe = 0;
    # 0 retardo = 0;
    # 0 inicio = $realtime;

    # 1000 s = 1;
    # 0 a = 2'b10;
    # 0 notoe = 0;
    # 0 retardo = 0;
    # 0 inicio = $realtime;

    # 1000 s = 1;
    # 0 a = 2'b01;
    # 0 notoe = 0;
    # 0 retardo = 0;
    # 0 inicio = $realtime;

    # 1000 s = 0;
    # 0 a = 2'b01;
    # 0 notoe = 0;
    # 0 retardo = 0;
    # 0 inicio = $realtime;

    # 1000 s = 0;
    # 0 a = 2'b01;
    # 0 notoe = 1;
    # 0 retardo = 0;
    # 0 inicio = $realtime;

    # 1000 $finish;
  end

  always @ (y) begin
    retardo = $realtime-inicio;
  end

  mux mux1 (.s(s), .a(a), .notoe(notoe), .y(y));
endmodule