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 syncMultiplierNx #(parameter mulWidth=4)(
    output [((2*mulWidth)-1):0]mulResult,
    input  [(mulWidth-1):0]numA, numB,
    input  mulClock, resetN
);

    wire [(mulWidth-1):0]numAs, numBs;
    registerNx #(mulWidth) mulA(numAs, numA, mulClock, resetN);
    registerNx #(mulWidth) mulB(numBs, numB, mulClock, resetN);
    

    wire [((2*mulWidth)-1):0]MUL;
    multiplierNx #(mulWidth) mulAB(MUL, numAs, numBs);


    registerNx #(2*mulWidth) syncFinal(mulResult, MUL, mulClock, resetN);
endmodule
module syncMultiplierNx #(parameter mulWidth=4)(
    output [((2*mulWidth)-1):0]mulResult,
    input  [(mulWidth-1):0]numA, numB,
    input  mulClock, resetN
);


    wire [(mulWidth-1):0]numAs, numBs;
    registerNx #(mulWidth) mulA(numAs, numA, mulClock, resetN);
    registerNx #(mulWidth) mulB(numBs, numB, mulClock, resetN);
    

    wire [((2*mulWidth)-1):0]MUL;
    multiplierNx #(mulWidth) mulAB(MUL, numAs, numBs);


    registerNx #(2*mulWidth) syncFinal(mulResult, MUL, mulClock, resetN);
endmodule