data/full_repos/permissive/479923049/regfile.v
data/verilator_xmls/9a051aab-0a08-474f-86c0-6f526d9aee71.xml
module three_eight_dec(in, out);
    input [2:0] in;
    output [7:0] out;
    reg [7:0] out;

    always @(*) begin
            case (in)
                3'd0: out = 8'b00000001; 
                3'd1: out = 8'b00000010; 
                3'd2: out = 8'b00000100; 
                3'd3: out = 8'b00001000;
                3'd4: out = 8'b00010000;
                3'd5: out = 8'b00100000;
                3'd6: out = 8'b01000000;
                3'd7: out = 8'b10000000;
                default: out = {8{1'bx}};
            endcase
    end
endmodule
module three_eight_dec(in, out);

    input [2:0] in;
    output [7:0] out;
    reg [7:0] out;

    always @(*) begin
            case (in)
                3'd0: out = 8'b00000001; 
                3'd1: out = 8'b00000010; 
                3'd2: out = 8'b00000100; 
                3'd3: out = 8'b00001000;
                3'd4: out = 8'b00010000;
                3'd5: out = 8'b00100000;
                3'd6: out = 8'b01000000;
                3'd7: out = 8'b10000000;
                default: out = {8{1'bx}};
            endcase
    end
endmodule