module __float32__floor_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; wire [22:0] tuple_index_799; wire [22:0] fractional_mask__2; wire [23:0] fraction_up__2; wire eq_807; wire and_reduce_812; wire f_sign__1; wire [7:0] EXPR_MASK; wire ne_817; wire [22:0] fraction_integral__2; wire [22:0] fraction_integral__4; wire eq_823; wire ult_831; wire [7:0] add_834; wire and_837; wire [22:0] sel_838; wire priority_sel_849; wire [31:0] tuple_854; assign f_bexp__2 = f[30:23]; assign exp = f_bexp__2 + 8'h81; assign tuple_index_799 = f[22:0]; assign fractional_mask__2 = {{24{exp[7]}}, exp} >= 32'h0000_0017 ? 23'h00_0000 : 23'h7f_ffff >> {{24{exp[7]}}, exp}; assign fraction_up__2 = {1'h0, tuple_index_799} + {1'h0, fractional_mask__2}; assign eq_807 = f_bexp__2 == 8'h00; assign and_reduce_812 = &f_bexp__2[6:0]; assign f_sign__1 = f[31:31]; assign EXPR_MASK = 8'hff; assign ne_817 = tuple_index_799 != 23'h00_0000; assign fraction_integral__2 = ~(~tuple_index_799 | fractional_mask__2); assign fraction_integral__4 = ~(~fraction_up__2[22:0] | fractional_mask__2); assign eq_823 = f_bexp__2 == EXPR_MASK; assign ult_831 = f_bexp__2 < 8'h96; assign add_834 = f_bexp__2 + {7'h00, f_sign__1 & fraction_up__2[23]}; assign and_837 = eq_823 & ne_817; assign sel_838 = ult_831 ? (f_sign__1 ? fraction_integral__4 : fraction_integral__2) & {23{f_bexp__2[7] | and_reduce_812}} : tuple_index_799; assign priority_sel_849 = priority_sel_1b_2way({eq_807 | eq_823 & ~(~eq_807 & ne_817), and_837}, 1'h1, 1'h0, sel_838[22]); assign tuple_854 = {~(and_837 | ~f_sign__1), priority_sel_8b_2way({eq_807, eq_823}, EXPR_MASK, 8'h00, ult_831 ? (~(f_bexp__2[7] | and_reduce_812) ? {1'h0, {7{f_sign__1}}} : add_834) : f_bexp__2), {priority_sel_849, sel_838[21:0] & {22{~(eq_807 | eq_823)}}}}; assign out = tuple_854; endmodule