data/full_repos/permissive/499944578/rtl/src/fragment_interpolator/attrInterp.v
1: b"%Error: data/full_repos/permissive/499944578/rtl/src/fragment_interpolator/attrInterp.v:139: Define or directive not defined: '`round_min'\n                .roundingMode(`round_min),\n                              ^~~~~~~~~~\n%Error: data/full_repos/permissive/499944578/rtl/src/fragment_interpolator/attrInterp.v:168: Define or directive not defined: '`round_min'\n    mulRecFN #(8,24) fpmula (.control(1'b0), .a(a), .b(za), .roundingMode(`round_min), .out(aMULza), .exceptionFlags());\n                                                                          ^~~~~~~~~~\n%Error: data/full_repos/permissive/499944578/rtl/src/fragment_interpolator/attrInterp.v:169: Define or directive not defined: '`round_min'\n    mulRecFN #(8,24) fpmulb (.control(1'b0), .a(b), .b(zb), .roundingMode(`round_min), .out(bMULzb), .exceptionFlags());\n                                                                          ^~~~~~~~~~\n%Error: data/full_repos/permissive/499944578/rtl/src/fragment_interpolator/attrInterp.v:170: Define or directive not defined: '`round_min'\n    mulRecFN #(8,24) fpmulc (.control(1'b0), .a(c), .b(zc), .roundingMode(`round_min), .out(cMULzc), .exceptionFlags());\n                                                                          ^~~~~~~~~~\n%Error: data/full_repos/permissive/499944578/rtl/src/fragment_interpolator/attrInterp.v:172: Define or directive not defined: '`round_min'\n    addRecFN #(8,24) fpadd1 (.control(1'b0), .subOp(1'b0), .a(aMULza), .b(bMULzb), .roundingMode(`round_min), .out(aADDb), .exceptionFlags());\n                                                                                                 ^~~~~~~~~~\n%Error: data/full_repos/permissive/499944578/rtl/src/fragment_interpolator/attrInterp.v:173: Define or directive not defined: '`round_min'\n    addRecFN #(8,24) fpadd2 (.control(1'b0), .subOp(1'b0), .a(cMULzc), .b(aADDb), .roundingMode(`round_min), .out(out), .exceptionFlags());\n                                                                                                ^~~~~~~~~~\n%Error: Exiting due to 6 error(s)\n"
module depthInterpolator(
    input wire clk,
    input wire en,
    input wire [32:0] a,
    input wire [32:0] b,
    input wire [32:0] c,
    input wire [32:0] za,
    input wire [32:0] zb,
    input wire [32:0] zc,
    output wire [32:0] out
);
    output wire [32:0] aMULza, bMULzb, cMULzc, aADDb;
    

    mulRecFN #(8,24) fpmula (.control(1'b0), .a(a), .b(za), .roundingMode(`round_min), .out(aMULza), .exceptionFlags());
    mulRecFN #(8,24) fpmulb (.control(1'b0), .a(b), .b(zb), .roundingMode(`round_min), .out(bMULzb), .exceptionFlags());
    mulRecFN #(8,24) fpmulc (.control(1'b0), .a(c), .b(zc), .roundingMode(`round_min), .out(cMULzc), .exceptionFlags());

    addRecFN #(8,24) fpadd1 (.control(1'b0), .subOp(1'b0), .a(aMULza), .b(bMULzb), .roundingMode(`round_min), .out(aADDb), .exceptionFlags());
    addRecFN #(8,24) fpadd2 (.control(1'b0), .subOp(1'b0), .a(cMULzc), .b(aADDb), .roundingMode(`round_min), .out(out), .exceptionFlags());
endmodule
module depthInterpolator(
    input wire clk,
    input wire en,
    input wire [32:0] a,
    input wire [32:0] b,
    input wire [32:0] c,
    input wire [32:0] za,
    input wire [32:0] zb,
    input wire [32:0] zc,
    output wire [32:0] out
);

    output wire [32:0] aMULza, bMULzb, cMULzc, aADDb;
    

    mulRecFN #(8,24) fpmula (.control(1'b0), .a(a), .b(za), .roundingMode(`round_min), .out(aMULza), .exceptionFlags());
    mulRecFN #(8,24) fpmulb (.control(1'b0), .a(b), .b(zb), .roundingMode(`round_min), .out(bMULzb), .exceptionFlags());
    mulRecFN #(8,24) fpmulc (.control(1'b0), .a(c), .b(zc), .roundingMode(`round_min), .out(cMULzc), .exceptionFlags());

    addRecFN #(8,24) fpadd1 (.control(1'b0), .subOp(1'b0), .a(aMULza), .b(bMULzb), .roundingMode(`round_min), .out(aADDb), .exceptionFlags());
    addRecFN #(8,24) fpadd2 (.control(1'b0), .subOp(1'b0), .a(cMULzc), .b(aADDb), .roundingMode(`round_min), .out(out), .exceptionFlags());
endmodule