data/full_repos/permissive/193790231/B_syncArithmetic.v
[Errno 2] No such file or directory: 'preprocess.output'
1: b"%Error: data/full_repos/permissive/193790231/B_syncArithmetic.v:39: Cannot find file containing module: 'registerNx'\n    registerNx #(mulWidth) mulA(numAs, numA, mulClock, resetN);\n    ^~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/193790231,data/full_repos/permissive/193790231/registerNx\n             data/full_repos/permissive/193790231,data/full_repos/permissive/193790231/registerNx.v\n             data/full_repos/permissive/193790231,data/full_repos/permissive/193790231/registerNx.sv\n             registerNx\n             registerNx.v\n             registerNx.sv\n             obj_dir/registerNx\n             obj_dir/registerNx.v\n             obj_dir/registerNx.sv\n%Error: data/full_repos/permissive/193790231/B_syncArithmetic.v:40: Cannot find file containing module: 'registerNx'\n    registerNx #(mulWidth) mulB(numBs, numB, mulClock, resetN);\n    ^~~~~~~~~~\n%Error: data/full_repos/permissive/193790231/B_syncArithmetic.v:44: Cannot find file containing module: 'multiplierNx'\n    multiplierNx #(mulWidth) mulAB(MUL, numAs, numBs);\n    ^~~~~~~~~~~~\n%Error: data/full_repos/permissive/193790231/B_syncArithmetic.v:47: Cannot find file containing module: 'registerNx'\n    registerNx #(2*mulWidth) syncFinal(mulResult, MUL, mulClock, resetN);\n    ^~~~~~~~~~\n%Error: data/full_repos/permissive/193790231/B_syncArithmetic.v:19: Cannot find file containing module: 'registerNx'\n    registerNx #(sAddWidth) saveNumA(savedA, numA, adderClock, resetNeg);\n    ^~~~~~~~~~\n%Error: data/full_repos/permissive/193790231/B_syncArithmetic.v:20: Cannot find file containing module: 'registerNx'\n    registerNx #(sAddWidth) saveNumB(savedB, numB, adderClock, resetNeg);\n    ^~~~~~~~~~\n%Error: data/full_repos/permissive/193790231/B_syncArithmetic.v:23: Cannot find file containing module: 'addnSubX'\n    addnSubX #(sAddWidth) addAandB(saveOverflow, carryOut, savedSum, opSelect, savedA, savedB, opSelect);\n    ^~~~~~~~\n%Error: data/full_repos/permissive/193790231/B_syncArithmetic.v:26: Cannot find file containing module: 'registerNx'\n    registerNx #(sAddWidth) savemySumAB(sumFinal, savedSum, adderClock, resetNeg);\n    ^~~~~~~~~~\n%Error: data/full_repos/permissive/193790231/B_syncArithmetic.v:27: Cannot find file containing module: 'registerNx'\n    registerNx #(1) overFlowSync(overflowBit, saveOverflow, adderClock, resetNeg);\n    ^~~~~~~~~~\n%Error: Exiting due to 9 error(s)\n"
module syncMulAdd2 #(parameter mulAddWidth=4)(
    output [(2*mulAddWidth):0] resultS,
    input  [(mulAddWidth-1):0] numA, numB, numC, numD,
    input  clkP, resN
);
    wire noUse;
    wire [((2*mulAddWidth)-1):0] mulRes [1:0];


    syncMultiplierNx #(mulAddWidth) ma0(mulRes[0], numA, numB, clkP, resN);
    syncMultiplierNx #(mulAddWidth) ma1(mulRes[1], numC, numD, clkP, resN);


    syncAddnSub #(2*mulAddWidth) name(.overflowBit(noUse), .carryOut(resultS[2*mulAddWidth]),
        .sumFinal(resultS[((2*mulAddWidth)-1):0]), .numA(mulRes[0]), .numB(mulRes[1]),
        .adderClock(clkP), .resetNeg(resN), .opSelect(1'b0));
endmodule
module syncMulAdd2 #(parameter mulAddWidth=4)(
    output [(2*mulAddWidth):0] resultS,
    input  [(mulAddWidth-1):0] numA, numB, numC, numD,
    input  clkP, resN
);

    wire noUse;
    wire [((2*mulAddWidth)-1):0] mulRes [1:0];


    syncMultiplierNx #(mulAddWidth) ma0(mulRes[0], numA, numB, clkP, resN);
    syncMultiplierNx #(mulAddWidth) ma1(mulRes[1], numC, numD, clkP, resN);


    syncAddnSub #(2*mulAddWidth) name(.overflowBit(noUse), .carryOut(resultS[2*mulAddWidth]),
        .sumFinal(resultS[((2*mulAddWidth)-1):0]), .numA(mulRes[0]), .numB(mulRes[1]),
        .adderClock(clkP), .resetNeg(resN), .opSelect(1'b0));
endmodule