data/full_repos/permissive/178052224/Tarea3y4/modules/nand.v
 line:26: before: ":"
1: b"%Error: data/full_repos/permissive/178052224/Tarea3y4/modules/nand.v:23: 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, y;                    \n         ^\n        data/full_repos/permissive/178052224/Tarea3y4/modules/nand.v:12: ... Location of original declaration\n    input a,              \n          ^\n%Error: data/full_repos/permissive/178052224/Tarea3y4/modules/nand.v:23: Duplicate declaration of signal: 'b'\n    wire a, b, y;                    \n            ^\n        data/full_repos/permissive/178052224/Tarea3y4/modules/nand.v:13: ... Location of original declaration\n    input b,              \n          ^\n%Error: data/full_repos/permissive/178052224/Tarea3y4/modules/nand.v:23: Duplicate declaration of signal: 'y'\n    wire a, b, y;                    \n               ^\n        data/full_repos/permissive/178052224/Tarea3y4/modules/nand.v:14: ... Location of original declaration\n    output y              \n           ^\n%Error: Exiting due to 3 error(s)\n"
module nandG(
    input a,              
    input b,              
    output y              
);

    parameter tpd_min = 1;
    parameter tpd_max = 4.3;
    parameter Vcc = 5;
    parameter C_L = 0.015;
    integer counter = 0;

    wire a, b, y;
    

    assign #(tpd_min:tpd_max:tpd_max) y = !(a & b);  
    

    always@(y) begin
        counter += 1;
        $display("Potencia disipada en el Flip Flop: %f", counter * C_L * Vcc * Vcc );
    end
endmodule
module nandG(
    input a,              
    input b,              
    output y              
);


    parameter tpd_min = 1;
    parameter tpd_max = 4.3;
    parameter Vcc = 5;
    parameter C_L = 0.015;
    integer counter = 0;

    wire a, b, y;
    

    assign #(tpd_min:tpd_max:tpd_max) y = !(a & b);  
    

    always@(y) begin
        counter += 1;
        $display("Potencia disipada en el Flip Flop: %f", counter * C_L * Vcc * Vcc );
    end
endmodule