data/full_repos/permissive/211316121/lab1/sources_1/new/encoder83.v
data/verilator_xmls/4c866ad0-21c5-4e5c-ab85-41867ac4e134.xml
module encoder83(
    input [7:0] I,
    output reg [2:0] F
    );
    always@(*)
        case(I)
            8'b00000001: F=3'b000;
            8'b00000010: F=3'b001;
            8'b00000100: F=3'b010;
            8'b00001000: F=3'b011;
            8'b00010000: F=3'b100;
            8'b00100000: F=3'b101;
            8'b01000000: F=3'b110;
            8'b10000000: F=3'b111;
            default: F=3'b000;
        endcase
endmodule
module encoder83(
    input [7:0] I,
    output reg [2:0] F
    );

    always@(*)
        case(I)
            8'b00000001: F=3'b000;
            8'b00000010: F=3'b001;
            8'b00000100: F=3'b010;
            8'b00001000: F=3'b011;
            8'b00010000: F=3'b100;
            8'b00100000: F=3'b101;
            8'b01000000: F=3'b110;
            8'b10000000: F=3'b111;
            default: F=3'b000;
        endcase
endmodule