data/full_repos/permissive/417288846/List_1/Task_4/counter.v
1: b'%Warning-IMPLICIT: data/full_repos/permissive/417288846/List_1/Task_4/counter.v:22: Signal definition not found, creating implicitly: \'signal\'\n                                                                                  : ... Suggested alternative: \'singnal\'\n    nand (signal, num1, nq3, num3, nq1);\n          ^~~~~~\n                   ... Use "/* verilator lint_off IMPLICIT */" and lint_on around source to disable this message.\n%Error: Exiting due to 1 warning(s)\n'
module d_latch(input d, clk, nclr, output q, nq);
    wire na1, na2, na3, na4;

    nand (na1, na4, na2);
    nand (na2, na1, clk, nclr);
    nand (na3, na2, clk, na4);
    nand (na4, na3, d, nclr);
    nand (q, na2, nq);
    nand (nq, na3, q, nclr);
endmodule
module d_latch(input d, clk, nclr, output q, nq);

    wire na1, na2, na3, na4;

    nand (na1, na4, na2);
    nand (na2, na1, clk, nclr);
    nand (na3, na2, clk, na4);
    nand (na4, na3, d, nclr);
    nand (q, na2, nq);
    nand (nq, na3, q, nclr);
endmodule