data/full_repos/permissive/482979608/ADPCM.srcs/sources_1/new/DQ.v
1: b"%Error: data/full_repos/permissive/482979608/ADPCM.srcs/sources_1/new/DQ.v:28: Cannot find file containing module: 'ADDER_FIXED_POINT'\n    ADDER_FIXED_POINT #(.WI1(WLI),.WF1(WLF),.WI2(WLI),.WF2(WLF),.WIO(WLI),.WFO(WLF)) ADD_DELTA (.in1(deltaDiv),.in2(delta),.out(deltaAdd));  \n    ^~~~~~~~~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/482979608/ADPCM.srcs/sources_1/new,data/full_repos/permissive/482979608/ADDER_FIXED_POINT\n             data/full_repos/permissive/482979608/ADPCM.srcs/sources_1/new,data/full_repos/permissive/482979608/ADDER_FIXED_POINT.v\n             data/full_repos/permissive/482979608/ADPCM.srcs/sources_1/new,data/full_repos/permissive/482979608/ADDER_FIXED_POINT.sv\n             ADDER_FIXED_POINT\n             ADDER_FIXED_POINT.v\n             ADDER_FIXED_POINT.sv\n             obj_dir/ADDER_FIXED_POINT\n             obj_dir/ADDER_FIXED_POINT.v\n             obj_dir/ADDER_FIXED_POINT.sv\n%Error: Exiting due to 1 error(s)\n"
module DQ #(parameter WLI = 1, WLF = 15, WL = WLI + WLF)(
    input codeWord,
    input signed [WL-1:0] delta,
    output reg signed [WL-1:0] dq
    );
    wire [WL-1:0] deltaDiv, deltaAdd;
    assign deltaDiv = delta >>> 1;
    ADDER_FIXED_POINT #(.WI1(WLI),.WF1(WLF),.WI2(WLI),.WF2(WLF),.WIO(WLI),.WFO(WLF)) ADD_DELTA (.in1(deltaDiv),.in2(delta),.out(deltaAdd));  
    
    always @(*) begin
        if (codeWord == 'b0) 
            dq = deltaDiv;
        else if (codeWord == 'b1)
            dq = deltaAdd;   
    end
endmodule
module DQ #(parameter WLI = 1, WLF = 15, WL = WLI + WLF)(
    input codeWord,
    input signed [WL-1:0] delta,
    output reg signed [WL-1:0] dq
    );

    wire [WL-1:0] deltaDiv, deltaAdd;
    assign deltaDiv = delta >>> 1;
    ADDER_FIXED_POINT #(.WI1(WLI),.WF1(WLF),.WI2(WLI),.WF2(WLF),.WIO(WLI),.WFO(WLF)) ADD_DELTA (.in1(deltaDiv),.in2(delta),.out(deltaAdd));  
    
    always @(*) begin
        if (codeWord == 'b0) 
            dq = deltaDiv;
        else if (codeWord == 'b1)
            dq = deltaAdd;   
    end
endmodule