data/full_repos/permissive/482979608/ADPCM.srcs/sources_1/new/BIT_QUANTIZER.v
1: b"%Error: data/full_repos/permissive/482979608/ADPCM.srcs/sources_1/new/BIT_QUANTIZER.v:31: Cannot find file containing module: 'DELTA'\n    DELTA #(.WLI(WLI),.WLF(WLF)) DELTA_CALC (.CLK(CLK),.RST(RST),.codeWord(codeWord),.delta(deltaOut));\n    ^~~~~\n        ... Looked in:\n             data/full_repos/permissive/482979608/ADPCM.srcs/sources_1/new,data/full_repos/permissive/482979608/DELTA\n             data/full_repos/permissive/482979608/ADPCM.srcs/sources_1/new,data/full_repos/permissive/482979608/DELTA.v\n             data/full_repos/permissive/482979608/ADPCM.srcs/sources_1/new,data/full_repos/permissive/482979608/DELTA.sv\n             DELTA\n             DELTA.v\n             DELTA.sv\n             obj_dir/DELTA\n             obj_dir/DELTA.v\n             obj_dir/DELTA.sv\n%Error: data/full_repos/permissive/482979608/ADPCM.srcs/sources_1/new/BIT_QUANTIZER.v:32: Cannot find file containing module: 'CODEWORD'\n    CODEWORD #(.WL(WL)) CODEWORD_CALC (.d(d),.delta(deltaOut),.codeWord(codeWord));\n    ^~~~~~~~\n%Error: data/full_repos/permissive/482979608/ADPCM.srcs/sources_1/new/BIT_QUANTIZER.v:33: Cannot find file containing module: 'CODESIGN'\n    CODESIGN #(.WL(WL)) CODESIGN_CALC (.d(d),.codeSign(codeSign));\n    ^~~~~~~~\n%Error: data/full_repos/permissive/482979608/ADPCM.srcs/sources_1/new/BIT_QUANTIZER.v:34: Cannot find file containing module: 'DQ'\n    DQ #(.WLI(WLI),.WLF(WLF)) DQ_CALC (.codeWord(codeWord),.delta(deltaOut),.dq(dq));\n    ^~\n%Error: Exiting due to 4 error(s)\n"
module BIT_QUANTIZER #(parameter WLI = 1, WLF = 15, WL = WLI + WLF)(
        input CLK, RST,
        input signed [WL-1:0] d,
        output signed [WL-1:0] dq,
        output codeWord,
        output signed [1:0] codeSign
    );
    wire signed [WL-1:0] deltaOut, deltaP1, deltaMin, deltaMax;
    reg signed [WL-1:0] temp;
    
    DELTA #(.WLI(WLI),.WLF(WLF)) DELTA_CALC (.CLK(CLK),.RST(RST),.codeWord(codeWord),.delta(deltaOut));
    CODEWORD #(.WL(WL)) CODEWORD_CALC (.d(d),.delta(deltaOut),.codeWord(codeWord));
    CODESIGN #(.WL(WL)) CODESIGN_CALC (.d(d),.codeSign(codeSign));
    DQ #(.WLI(WLI),.WLF(WLF)) DQ_CALC (.codeWord(codeWord),.delta(deltaOut),.dq(dq));
endmodule
module BIT_QUANTIZER #(parameter WLI = 1, WLF = 15, WL = WLI + WLF)(
        input CLK, RST,
        input signed [WL-1:0] d,
        output signed [WL-1:0] dq,
        output codeWord,
        output signed [1:0] codeSign
    );

    wire signed [WL-1:0] deltaOut, deltaP1, deltaMin, deltaMax;
    reg signed [WL-1:0] temp;
    
    DELTA #(.WLI(WLI),.WLF(WLF)) DELTA_CALC (.CLK(CLK),.RST(RST),.codeWord(codeWord),.delta(deltaOut));
    CODEWORD #(.WL(WL)) CODEWORD_CALC (.d(d),.delta(deltaOut),.codeWord(codeWord));
    CODESIGN #(.WL(WL)) CODESIGN_CALC (.d(d),.codeSign(codeSign));
    DQ #(.WLI(WLI),.WLF(WLF)) DQ_CALC (.codeWord(codeWord),.delta(deltaOut),.dq(dq));
endmodule