module __float32__ceil_daz( input wire [31:0] f, output wire [31:0] out ); function automatic priority_sel_1b_2way (input reg [1:0] sel, input reg case0, input reg case1, input reg default_value); begin casez (sel) 2'b?1: begin priority_sel_1b_2way = case0; end 2'b10: begin priority_sel_1b_2way = case1; end 2'b00: begin priority_sel_1b_2way = default_value; end default: begin // Propagate X priority_sel_1b_2way = 1'dx; end endcase end endfunction function automatic [7:0] priority_sel_8b_2way (input reg [1:0] sel, input reg [7:0] case0, input reg [7:0] case1, input reg [7:0] default_value); begin casez (sel) 2'b?1: begin priority_sel_8b_2way = case0; end 2'b10: begin priority_sel_8b_2way = case1; end 2'b00: begin priority_sel_8b_2way = default_value; end default: begin // Propagate X priority_sel_8b_2way = 8'dx; end endcase end endfunction wire [7:0] f_bexp__2; wire [7:0] exp__1; wire [22:0] tuple_index_883; wire [22:0] fractional_mask__1; wire eq_888; wire [23:0] fraction_up__2; wire and_reduce_898; wire f_sign__1; wire [7:0] EXPR_MASK; wire [22:0] f_fraction__1; wire [22:0] fraction_integral__2; wire [22:0] fraction_integral__4; wire eq_910; wire eq_911; wire ult_919; wire [7:0] add_922; wire nor_925; wire [22:0] sel_926; wire [7:0] priority_sel_939; wire [31:0] tuple_941; assign f_bexp__2 = f[30:23]; assign exp__1 = f_bexp__2 + 8'h81; assign tuple_index_883 = f[22:0]; assign fractional_mask__1 = {{24{exp__1[7]}}, exp__1} >= 32'h0000_0017 ? 23'h00_0000 : 23'h7f_ffff >> {{24{exp__1[7]}}, exp__1}; assign eq_888 = f_bexp__2 == 8'h00; assign fraction_up__2 = {1'h0, tuple_index_883} + {1'h0, fractional_mask__1}; assign and_reduce_898 = &f_bexp__2[6:0]; assign f_sign__1 = f[31:31]; assign EXPR_MASK = 8'hff; assign f_fraction__1 = tuple_index_883 & {23{~eq_888}}; assign fraction_integral__2 = ~(~fraction_up__2[22:0] | fractional_mask__1); assign fraction_integral__4 = ~(~tuple_index_883 | fractional_mask__1); assign eq_910 = f_bexp__2 == EXPR_MASK; assign eq_911 = f_fraction__1 == 23'h00_0000; assign ult_919 = f_bexp__2 < 8'h96; assign add_922 = f_bexp__2 + {7'h00, ~(f_sign__1 | ~fraction_up__2[23])}; assign nor_925 = ~(~eq_910 | eq_911); assign sel_926 = ult_919 ? (f_sign__1 ? fraction_integral__4 : fraction_integral__2) & {23{f_bexp__2[7] | and_reduce_898}} : tuple_index_883; assign priority_sel_939 = priority_sel_8b_2way({eq_888, eq_910}, EXPR_MASK, 8'h00, ult_919 ? (~(f_bexp__2[7] | and_reduce_898) ? {1'h0, {7{~f_sign__1}}} : add_922) : f_bexp__2); assign tuple_941 = {~(nor_925 | ~f_sign__1), priority_sel_939, {priority_sel_1b_2way({eq_888 | eq_910 & eq_911, nor_925}, 1'h1, 1'h0, sel_926[22]), sel_926[21:0] & {22{~(eq_888 | eq_910)}}}}; assign out = tuple_941; endmodule