data/full_repos/permissive/493265923/01_CLKMUX4_NOGLITCH/CLKMUX4_NOGLITCH.v
data/verilator_xmls/32c86285-08e2-459d-9886-581745d910e2.xml
function datasel;
        input unsigned [3:0] data_wire;
        input unsigned [1:0] sel_reg; 
    begin
        case (sel_reg)
            2'b11:
                datasel = data_wire[3];

            2'b10:
                datasel = data_wire[2];

            2'b01:
                datasel = data_wire[1];

            default:
                datasel = data_wire[0];

        endcase
    end
    endfunction
function datasel;

        input unsigned [3:0] data_wire;
        input unsigned [1:0] sel_reg; 
    begin
        case (sel_reg)
            2'b11:
                datasel = data_wire[3];

            2'b10:
                datasel = data_wire[2];

            2'b01:
                datasel = data_wire[1];

            default:
                datasel = data_wire[0];

        endcase
    end
    endfunction