data/full_repos/permissive/524949268/round_robin_arbiter.v
data/verilator_xmls/29110479-33e3-4be7-a34f-44faa6eb4ee7.xml
module barrel_shifter_right_4 (
    in,
    yout,
    select
);

input [3:0] in;
input [1:0] select;
output [3:0] yout;
reg [3:0] yout;

always @ (*) begin
    
    case(select)
        2'b00: yout = in;
        2'b01: yout = {in[0], in[3:1]};
        2'b10: yout = {in[1:0], in[3:2]};
        2'b11: yout = {in[2:0], in[3]};
    endcase

end

endmodule
module barrel_shifter_right_4 (
    in,
    yout,
    select
);


input [3:0] in;
input [1:0] select;
output [3:0] yout;
reg [3:0] yout;

always @ (*) begin
    
    case(select)
        2'b00: yout = in;
        2'b01: yout = {in[0], in[3:1]};
        2'b10: yout = {in[1:0], in[3:2]};
        2'b11: yout = {in[2:0], in[3]};
    endcase

end

endmodule