data/full_repos/permissive/499944578/rtl/src/bounding_box_traverser/boundingBoxGen.v
1: b'%Error: data/full_repos/permissive/499944578/rtl/src/bounding_box_traverser/boundingBoxGen.v:19: Define or directive not defined: \'`round_max\'\n    recFNToIN#(8,24,32) maxxCiel2int(.control(1\'b0),.in(maxx),.roundingMode(`round_max),.signedOut(1\'b1),.out(maxx_int),.intExceptionFlags());\n                                                                            ^~~~~~~~~~\n%Error: data/full_repos/permissive/499944578/rtl/src/bounding_box_traverser/boundingBoxGen.v:20: Define or directive not defined: \'`round_min\'\n    recFNToIN#(8,24,32) minxFloor2int(.control(1\'b0),.in(minx),.roundingMode(`round_min),.signedOut(1\'b1),.out(minx_int),.intExceptionFlags());\n                                                                             ^~~~~~~~~~\n%Error: data/full_repos/permissive/499944578/rtl/src/bounding_box_traverser/boundingBoxGen.v:21: Define or directive not defined: \'`round_max\'\n    recFNToIN#(8,24,32) maxyCiel2int(.control(1\'b0),.in(maxy),.roundingMode(`round_max),.signedOut(1\'b1),.out(maxy_int),.intExceptionFlags());\n                                                                            ^~~~~~~~~~\n%Error: data/full_repos/permissive/499944578/rtl/src/bounding_box_traverser/boundingBoxGen.v:22: Define or directive not defined: \'`round_min\'\n    recFNToIN#(8,24,32) minyFloor2int(.control(1\'b0),.in(miny),.roundingMode(`round_min),.signedOut(1\'b1),.out(miny_int),.intExceptionFlags());\n                                                                             ^~~~~~~~~~\n%Warning-STMTDLY: data/full_repos/permissive/499944578/rtl/src/bounding_box_traverser/boundingBoxGen.v:110: Unsupported: Ignoring delay on this delayed statement.\n        #10 \n        ^\n                  ... Use "/* verilator lint_off STMTDLY */" and lint_on around source to disable this message.\n%Warning-STMTDLY: data/full_repos/permissive/499944578/rtl/src/bounding_box_traverser/boundingBoxGen.v:114: Unsupported: Ignoring delay on this delayed statement.\n        #10\n        ^\n%Warning-STMTDLY: data/full_repos/permissive/499944578/rtl/src/bounding_box_traverser/boundingBoxGen.v:120: Unsupported: Ignoring delay on this delayed statement.\n        #10\n        ^\n%Warning-STMTDLY: data/full_repos/permissive/499944578/rtl/src/bounding_box_traverser/boundingBoxGen.v:124: Unsupported: Ignoring delay on this delayed statement.\n        #10\n        ^\n%Warning-STMTDLY: data/full_repos/permissive/499944578/rtl/src/bounding_box_traverser/boundingBoxGen.v:130: Unsupported: Ignoring delay on this delayed statement.\n        #10 \n        ^\n%Warning-STMTDLY: data/full_repos/permissive/499944578/rtl/src/bounding_box_traverser/boundingBoxGen.v:134: Unsupported: Ignoring delay on this delayed statement.\n        #10\n        ^\n%Warning-STMTDLY: data/full_repos/permissive/499944578/rtl/src/bounding_box_traverser/boundingBoxGen.v:140: Unsupported: Ignoring delay on this delayed statement.\n        #10\n        ^\n%Warning-STMTDLY: data/full_repos/permissive/499944578/rtl/src/bounding_box_traverser/boundingBoxGen.v:144: Unsupported: Ignoring delay on this delayed statement.\n        #10\n        ^\n%Warning-STMTDLY: data/full_repos/permissive/499944578/rtl/src/bounding_box_traverser/boundingBoxGen.v:150: Unsupported: Ignoring delay on this delayed statement.\n        #10\n        ^\n%Warning-STMTDLY: data/full_repos/permissive/499944578/rtl/src/bounding_box_traverser/boundingBoxGen.v:154: Unsupported: Ignoring delay on this delayed statement.\n        #10\n        ^\n%Warning-STMTDLY: data/full_repos/permissive/499944578/rtl/src/bounding_box_traverser/boundingBoxGen.v:160: Unsupported: Ignoring delay on this delayed statement.\n        #10\n        ^\n%Warning-STMTDLY: data/full_repos/permissive/499944578/rtl/src/bounding_box_traverser/boundingBoxGen.v:164: Unsupported: Ignoring delay on this delayed statement.\n        #10\n        ^\n%Error: data/full_repos/permissive/499944578/rtl/src/bounding_box_traverser/boundingBoxGen.v:169: Unsupported or unknown PLI call: $dumpfile\n            $dumpfile("limitBB_tb.vcd");\n            ^~~~~~~~~\n%Error: data/full_repos/permissive/499944578/rtl/src/bounding_box_traverser/boundingBoxGen.v:170: Unsupported or unknown PLI call: $dumpvars\n            $dumpvars(0,limitBB_tb);\n            ^~~~~~~~~\n%Warning-STMTDLY: data/full_repos/permissive/499944578/rtl/src/bounding_box_traverser/boundingBoxGen.v:171: Unsupported: Ignoring delay on this delayed statement.\n            #1;\n            ^\n%Error: Exiting due to 6 error(s), 13 warning(s)\n'
module boundingBoxGen(
    input wire [65:0] Pa,
    input wire [65:0] Pb,
    input wire [65:0] Pc,
    output wire [31:0] Top,
    output wire [31:0] Bottom,
    output wire [31:0] Right,
    output wire [31:0] Left,
    input wire [31:0] resx,
    input wire [31:0] resy
);
    wire [32:0] maxx, minx, maxy, miny;

    minmax minmax_x(Pa[65:33],Pb[65:33],Pc[65:33],maxx,minx);
    minmax minmax_y(Pa[32:0],Pb[32:0],Pc[32:0],maxy,miny);

    wire [31:0] maxx_int, minx_int,maxy_int,miny_int;

    recFNToIN#(8,24,32) maxxCiel2int(.control(1'b0),.in(maxx),.roundingMode(`round_max),.signedOut(1'b1),.out(maxx_int),.intExceptionFlags());
    recFNToIN#(8,24,32) minxFloor2int(.control(1'b0),.in(minx),.roundingMode(`round_min),.signedOut(1'b1),.out(minx_int),.intExceptionFlags());
    recFNToIN#(8,24,32) maxyCiel2int(.control(1'b0),.in(maxy),.roundingMode(`round_max),.signedOut(1'b1),.out(maxy_int),.intExceptionFlags());
    recFNToIN#(8,24,32) minyFloor2int(.control(1'b0),.in(miny),.roundingMode(`round_min),.signedOut(1'b1),.out(miny_int),.intExceptionFlags());


    
    limitBB limitBB_inst(resx,resy,maxx_int,minx_int,maxy_int,miny_int,Top,Bottom,Left,Right); 
endmodule
module boundingBoxGen(
    input wire [65:0] Pa,
    input wire [65:0] Pb,
    input wire [65:0] Pc,
    output wire [31:0] Top,
    output wire [31:0] Bottom,
    output wire [31:0] Right,
    output wire [31:0] Left,
    input wire [31:0] resx,
    input wire [31:0] resy
);

    wire [32:0] maxx, minx, maxy, miny;

    minmax minmax_x(Pa[65:33],Pb[65:33],Pc[65:33],maxx,minx);
    minmax minmax_y(Pa[32:0],Pb[32:0],Pc[32:0],maxy,miny);

    wire [31:0] maxx_int, minx_int,maxy_int,miny_int;

    recFNToIN#(8,24,32) maxxCiel2int(.control(1'b0),.in(maxx),.roundingMode(`round_max),.signedOut(1'b1),.out(maxx_int),.intExceptionFlags());
    recFNToIN#(8,24,32) minxFloor2int(.control(1'b0),.in(minx),.roundingMode(`round_min),.signedOut(1'b1),.out(minx_int),.intExceptionFlags());
    recFNToIN#(8,24,32) maxyCiel2int(.control(1'b0),.in(maxy),.roundingMode(`round_max),.signedOut(1'b1),.out(maxy_int),.intExceptionFlags());
    recFNToIN#(8,24,32) minyFloor2int(.control(1'b0),.in(miny),.roundingMode(`round_min),.signedOut(1'b1),.out(miny_int),.intExceptionFlags());


    
    limitBB limitBB_inst(resx,resy,maxx_int,minx_int,maxy_int,miny_int,Top,Bottom,Left,Right); 
endmodule